Searched refs:endl (Results 1 - 25 of 636) 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 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 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 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
H A DMatrixBase_transpose.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is the transpose of m:" << endl << m.transpose() << endl;
4 cout << "Here is the coefficient (1,0) in the transpose of m:" << endl
5 << m.transpose()(1,0) << endl;
6 cout << "Let us overwrite this coefficient with the value 0." << endl; variable
8 cout << "Now the matrix m is:" << endl << m << endl; variable
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;
/external/eigen/doc/examples/
H A DTutorial_BlockOperations_corner.cpp13 cout << "m.leftCols(2) =" << endl << m.leftCols(2) << endl << endl; local
14 cout << "m.bottomRows<2>() =" << endl << m.bottomRows<2>() << endl << endl; local
16 cout << "After assignment, m = " << endl << m << endl; local

Completed in 115 milliseconds

1234567891011>>