Searched refs:endl (Results 1 - 25 of 690) sorted by relevance

1234567891011>>

/external/eigen/doc/snippets/
H A DVectorwise_reverse.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is the rowwise reverse of m:" << endl << m.rowwise().reverse() << endl;
4 cout << "Here is the colwise reverse of m:" << endl << m.colwise().reverse() << endl;
6 cout << "Here is the coefficient (1,0) in the rowise reverse of m:" << endl
7 << m.rowwise().reverse()(1,0) << endl;
8 cout << "Let us overwrite this coefficient with the value 4." << endl; variable
10 cout << "Now the matrix m is:" << endl << variable
[all...]
H A DMatrixBase_block_int_int.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is m.block<2,2>(1,1):" << endl << m.block<2,2>(1,1) << endl;
5 cout << "Now the matrix m is:" << endl << m << endl; variable
H A DMatrixBase_block_int_int_int_int.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is m.block(1, 1, 2, 2):" << endl << m.block(1, 1, 2, 2) << endl;
5 cout << "Now the matrix m is:" << endl << m << endl; variable
H A DMatrixBase_end_int.cpp2 cout << "Here is the vector v:" << endl << v << endl; variable
3 cout << "Here is v.tail(2):" << endl << v.tail(2) << endl;
5 cout << "Now the vector v is:" << endl << v << endl; variable
H A DMatrixBase_segment_int_int.cpp2 cout << "Here is the vector v:" << endl << v << endl; variable
3 cout << "Here is v.segment(1, 2):" << endl << v.segment(1, 2) << endl;
5 cout << "Now the vector v is:" << endl << v << endl; variable
H A DMatrixBase_start_int.cpp2 cout << "Here is the vector v:" << endl << v << endl; variable
3 cout << "Here is v.head(2):" << endl << v.head(2) << endl;
5 cout << "Now the vector v is:" << endl << v << endl; variable
H A DMatrixBase_template_int_end.cpp2 cout << "Here is the vector v:" << endl << v << endl; variable
3 cout << "Here is v.tail(2):" << endl << v.tail<2>() << endl;
5 cout << "Now the vector v is:" << endl << v << endl; variable
H A DMatrixBase_template_int_segment.cpp2 cout << "Here is the vector v:" << endl << v << endl; variable
3 cout << "Here is v.segment<2>(1):" << endl << v.segment<2>(1) << endl;
5 cout << "Now the vector v is:" << endl << v << endl; variable
H A DMatrixBase_template_int_start.cpp2 cout << "Here is the vector v:" << endl << v << endl; variable
3 cout << "Here is v.head(2):" << endl << v.head<2>() << endl;
5 cout << "Now the vector v is:" << endl << v << endl; variable
H A DDirectionWise_hnormalized.cpp4 cout << "The matrix M is:" << endl << M << endl << endl; variable
5 cout << "M.colwise().hnormalized():" << endl << M.colwise().hnormalized() << endl << endl; variable
6 cout << "P*M:" << endl << P*M << endl << endl; variable
7 cout << "(P*M).colwise().hnormalized():" << endl << ( variable
[all...]
H A DJacobiSVD_basic.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
4 cout << "Its singular values are:" << endl << svd.singularValues() << endl;
5 cout << "Its left singular vectors are the columns of the thin U matrix:" << endl << svd.matrixU() << endl;
6 cout << "Its right singular vectors are the columns of the thin V matrix:" << endl << svd.matrixV() << endl;
8 cout << "Now consider this rhs vector:" << endl << rhs << endl; variable
[all...]
H A DVectorwiseOp_homogeneous.cpp4 cout << "The matrix M is:" << endl << M << endl << endl; variable
5 cout << "M.colwise().homogeneous():" << endl << M.colwise().homogeneous() << endl << endl; variable
6 cout << "P * M.colwise().homogeneous():" << endl << P * M.colwise().homogeneous() << endl << endl; variable
7 cout << "P * M.colwise().homogeneous().hnormalized(): " << endl << ( variable
[all...]
H A DMatrixBase_adjoint.cpp2 cout << "Here is the 2x2 complex matrix m:" << endl << m << endl; variable
3 cout << "Here is the adjoint of m:" << endl << m.adjoint() << endl;
H A DMatrixBase_diagonal.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here are the coefficients on the main diagonal of m:" << endl
4 << m.diagonal() << endl;
H A DMatrixBase_inverse.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Its inverse is:" << endl << m.inverse() << endl;
H A DMatrixBase_prod.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is the product of all the coefficients:" << endl << m.prod() << endl;
H A DMatrixBase_replicate.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "m.replicate<3,2>() = ..." << endl; variable
4 cout << m.replicate<3,2>() << endl;
H A DMatrixBase_replicate_int_int.cpp2 cout << "Here is the vector v:" << endl << v << endl; variable
3 cout << "v.replicate(2,5) = ..." << endl; variable
4 cout << v.replicate(2,5) << endl;
H A DPartialRedux_maxCoeff.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is the maximum of each column:" << endl << m.colwise().maxCoeff() << endl;
H A DPartialRedux_minCoeff.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is the minimum of each column:" << endl << m.colwise().minCoeff() << endl;
H A DPartialRedux_norm.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is the norm of each column:" << endl << m.colwise().norm() << endl;
H A DPartialRedux_prod.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is the product of each row:" << endl << m.rowwise().prod() << endl;
H A DPartialRedux_squaredNorm.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is the square norm of each row:" << endl << m.rowwise().squaredNorm() << endl;
H A DPartialRedux_sum.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is the sum of each row:" << endl << m.rowwise().sum() << endl;
H A DMatrixBase_reverse.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is the reverse of m:" << endl << m.reverse() << endl;
4 cout << "Here is the coefficient (1,0) in the reverse of m:" << endl
5 << m.reverse()(1,0) << endl;
6 cout << "Let us overwrite this coefficient with the value 4." << endl; variable
8 cout << "Now the matrix m is:" << endl << m << endl; variable

Completed in 116 milliseconds

1234567891011>>