Searched defs:endl (Results 76 - 100 of 326) sorted by relevance

1234567891011>>

/external/eigen/doc/snippets/
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_int_bottomLeftCorner.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is m.bottomLeftCorner<2,2>():" << endl; variable
4 cout << m.bottomLeftCorner<2,2>() << endl;
6 cout << "Now the matrix m is:" << endl << m << endl; variable
H A DMatrixBase_template_int_int_bottomRightCorner.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is m.bottomRightCorner<2,2>():" << endl; variable
4 cout << m.bottomRightCorner<2,2>() << endl;
6 cout << "Now the matrix m is:" << endl << m << endl; variable
H A DMatrixBase_template_int_int_topLeftCorner.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is m.topLeftCorner<2,2>():" << endl; variable
4 cout << m.topLeftCorner<2,2>() << endl;
6 cout << "Now the matrix m is:" << endl << m << endl; variable
H A DMatrixBase_template_int_int_topRightCorner.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is m.topRightCorner<2,2>():" << endl; variable
4 cout << m.topRightCorner<2,2>() << endl;
6 cout << "Now the matrix m is:" << endl << m << endl; variable
H A DMatrixBase_template_int_leftCols.cpp2 cout << "Here is the array a:" << endl << a << endl; variable
3 cout << "Here is a.leftCols<2>():" << endl; variable
4 cout << a.leftCols<2>() << endl;
6 cout << "Now the array a is:" << endl << a << endl; variable
H A DMatrixBase_template_int_rightCols.cpp2 cout << "Here is the array a:" << endl << a << endl; variable
3 cout << "Here is a.rightCols<2>():" << endl; variable
4 cout << a.rightCols<2>() << endl;
6 cout << "Now the array a is:" << endl << a << 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 DMatrixBase_template_int_topRows.cpp2 cout << "Here is the array a:" << endl << a << endl; variable
3 cout << "Here is a.topRows<2>():" << endl; variable
4 cout << a.topRows<2>() << endl;
6 cout << "Now the array a is:" << endl << a << endl; variable
H A DMatrixBase_topLeftCorner_int_int.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is m.topLeftCorner(2, 2):" << endl; variable
4 cout << m.topLeftCorner(2, 2) << endl;
6 cout << "Now the matrix m is:" << endl << m << endl; variable
H A DMatrixBase_topRightCorner_int_int.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is m.topRightCorner(2, 2):" << endl; variable
4 cout << m.topRightCorner(2, 2) << endl;
6 cout << "Now the matrix m is:" << endl << m << endl; variable
H A DMatrixBase_topRows_int.cpp2 cout << "Here is the array a:" << endl << a << endl; variable
3 cout << "Here is a.topRows(2):" << endl; variable
4 cout << a.topRows(2) << endl;
6 cout << "Now the array a is:" << endl << a << 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 DMatrix_setConstant_int.cpp3 cout << v << endl; variable
H A DMatrix_setConstant_int_int.cpp3 cout << m << endl; variable
H A DMatrix_setIdentity_int_int.cpp3 cout << m << endl; variable
H A DMatrix_setOnes_int.cpp3 cout << v << endl; variable
H A DMatrix_setOnes_int_int.cpp3 cout << m << endl; variable
H A DMatrix_setRandom_int.cpp3 cout << v << endl; variable
H A DMatrix_setRandom_int_int.cpp3 cout << m << endl; variable
H A DMatrix_setZero_int.cpp3 cout << v << endl; variable
H A DMatrix_setZero_int_int.cpp3 cout << m << endl; variable
H A DPartialRedux_count.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is the count of elements larger or equal than 0.5 of each row:" << endl << (m.array() >= 0.5).rowwise().count() << 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;

Completed in 110 milliseconds

1234567891011>>