Searched defs:endl (Results 51 - 75 of 438) sorted by relevance

1234567891011>>

/external/eigen/doc/snippets/
H A DMatrixBase_cwiseNotEqual.cpp4 cout << "Comparing m with identity matrix:" << endl; variable
5 cout << m.cwiseNotEqual(MatrixXi::Identity(2,2)) << endl;
7 cout << "Number of coefficients that are not equal: " << count << endl; variable
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_diagonal_int.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here are the coefficients on the 1st super-diagonal and 2nd sub-diagonal of m:" << endl
4 << m.diagonal(1).transpose() << endl
5 << m.diagonal(-2).transpose() << endl;
H A DMatrixBase_diagonal_template_int.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here are the coefficients on the 1st super-diagonal and 2nd sub-diagonal of m:" << endl
4 << m.diagonal<1>().transpose() << endl
5 << m.diagonal<-2>().transpose() << endl;
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_fixedBlock_int_int.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here is m.fixed<2, 2>(2, 2):" << endl << m.block<2, 2>(2, 2) << endl;
5 cout << "Now the matrix m is:" << endl << m << endl; variable
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_isDiagonal.cpp3 cout << "Here's the matrix m:" << endl << m << endl; variable
4 cout << "m.isDiagonal() returns: " << m.isDiagonal() << endl;
5 cout << "m.isDiagonal(1e-3) returns: " << m.isDiagonal(1e-3) << endl;
H A DMatrixBase_isIdentity.cpp3 cout << "Here's the matrix m:" << endl << m << endl; variable
4 cout << "m.isIdentity() returns: " << m.isIdentity() << endl;
5 cout << "m.isIdentity(1e-3) returns: " << m.isIdentity(1e-3) << endl;
H A DMatrixBase_isOnes.cpp3 cout << "Here's the matrix m:" << endl << m << endl; variable
4 cout << "m.isOnes() returns: " << m.isOnes() << endl;
5 cout << "m.isOnes(1e-3) returns: " << m.isOnes(1e-3) << endl;
H A DMatrixBase_isUnitary.cpp3 cout << "Here's the matrix m:" << endl << m << endl; variable
4 cout << "m.isUnitary() returns: " << m.isUnitary() << endl;
5 cout << "m.isUnitary(1e-3) returns: " << m.isUnitary(1e-3) << endl;
H A DMatrixBase_isZero.cpp3 cout << "Here's the matrix m:" << endl << m << endl; variable
4 cout << "m.isZero() returns: " << m.isZero() << endl;
5 cout << "m.isZero(1e-3) returns: " << m.isZero(1e-3) << endl;
H A DMatrixBase_leftCols_int.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_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_rightCols_int.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_row.cpp3 cout << m << endl; variable
H A DMatrixBase_rowwise.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;
5 << endl << m.cwiseAbs().rowwise().maxCoeff() << endl;
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_setIdentity.cpp3 cout << m << endl; variable
H A DMatrixBase_setOnes.cpp3 cout << m << endl; variable
H A DMatrixBase_setRandom.cpp3 cout << m << endl; variable
H A DMatrixBase_setZero.cpp3 cout << m << endl; variable

Completed in 609 milliseconds

1234567891011>>