/external/eigen/doc/snippets/ |
MatrixBase_template_int_int_topLeftCorner.cpp | 2 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
|
MatrixBase_template_int_int_topLeftCorner_int_int.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; variable 3 cout << "Here is m.topLeftCorner<2,Dynamic>(2,2):" << endl; variable 4 cout << m.topLeftCorner<2,Dynamic>(2,2) << endl; 6 cout << "Now the matrix m is:" << endl << m << endl; variable
|
MatrixBase_template_int_int_topRightCorner.cpp | 2 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
|
MatrixBase_template_int_int_topRightCorner_int_int.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; variable 3 cout << "Here is m.topRightCorner<2,Dynamic>(2,2):" << endl; variable 4 cout << m.topRightCorner<2,Dynamic>(2,2) << endl; 6 cout << "Now the matrix m is:" << endl << m << endl; variable
|
MatrixBase_template_int_leftCols.cpp | 2 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
|
MatrixBase_template_int_rightCols.cpp | 2 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
|
MatrixBase_template_int_topRows.cpp | 2 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
|
MatrixBase_topLeftCorner_int_int.cpp | 2 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
|
MatrixBase_topRightCorner_int_int.cpp | 2 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
|
MatrixBase_topRows_int.cpp | 2 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
|
Tridiagonalization_packedMatrix.cpp | 3 cout << "Here is a random symmetric 4x4 matrix:" << endl << A << endl; variable 6 cout << "The packed matrix M is:" << endl << pm << endl; variable 8 << endl << triOfA.matrixT() << endl;
|
Tutorial_solve_singular.cpp | 5 cout << "Here is the matrix A:" << endl << A << endl; variable 6 cout << "Here is the vector b:" << endl << b << endl; variable 9 cout << "The solution is:" << endl << x << endl; variable
|
Tutorial_solve_triangular.cpp | 5 cout << "Here is the matrix A:" << endl << A << endl; variable 6 cout << "Here is the vector b:" << endl << b << endl; variable 8 cout << "The solution is:" << endl << x << endl; variable
|
TopicAliasing_cwise.cpp | 3 cout << "Here is the matrix mat:\n" << mat << endl << endl; variable 6 cout << "After 'mat = 2 * mat', mat = \n" << mat << endl << endl; variable 10 cout << "After the subtraction, it becomes\n" << mat << endl << endl; variable 15 cout << "After squaring, it becomes\n" << arr << endl << endl; variable 20 cout << "Doing everything at once yields\n" << mat << endl << endl; variable [all...] |
Tridiagonalization_Tridiagonalization_MatrixType.cpp | 3 cout << "Here is a random symmetric 5x5 matrix:" << endl << A << endl << endl; variable 6 cout << "The orthogonal matrix Q is:" << endl << Q << endl; variable 8 cout << "The tridiagonal matrix T is:" << endl << T << endl << endl; variable 9 cout << "Q * T * Q^T = " << endl << Q * T * Q.transpose() << endl; [all...] |
PartialPivLU_solve.cpp | 3 cout << "Here is the invertible matrix A:" << endl << A << endl; variable 4 cout << "Here is the matrix B:" << endl << B << endl; variable 6 cout << "Here is the (unique) solution X to the equation AX=B:" << endl << X << endl; variable 7 cout << "Relative error: " << (A*X-B).norm() / B.norm() << endl;
|
MatrixBase_computeInverseWithCheck.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; variable 7 cout << "It is invertible, and its inverse is:" << endl << inverse << endl; variable 10 cout << "It is not invertible." << endl; variable
|
MatrixBase_set.cpp | 5 cout << m1 << endl << endl; variable 8 cout << m2 << endl << endl; variable 13 cout << m2 << endl; variable
|
MatrixBase_cwiseEqual.cpp | 4 cout << "Comparing m with identity matrix:" << endl; variable 5 cout << m.cwiseEqual(MatrixXi::Identity(2,2)) << endl; 7 cout << "Number of coefficients that are equal: " << count << endl; variable
|
MatrixBase_cwiseNotEqual.cpp | 4 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
|
Tutorial_AdvancedInitialization_CommaTemporary.cpp | 2 std::cout << mat << std::endl << std::endl; member in class:std 4 std::cout << mat << std::endl; member in class:std
|
/external/eigen/doc/examples/ |
Tutorial_ReductionsVisitorsBroadcasting_reductions_bool.cpp | 14 cout << "(a > 0).all() = " << (a > 0).all() << endl; 15 cout << "(a > 0).any() = " << (a > 0).any() << endl; 16 cout << "(a > 0).count() = " << (a > 0).count() << endl; 17 cout << endl; local 18 cout << "(a > 2).all() = " << (a > 2).all() << endl; 19 cout << "(a > 2).any() = " << (a > 2).any() << endl; 20 cout << "(a > 2).count() = " << (a > 2).count() << endl;
|
Tutorial_ReductionsVisitorsBroadcasting_reductions_norm.cpp | 18 cout << "v.squaredNorm() = " << v.squaredNorm() << endl; 19 cout << "v.norm() = " << v.norm() << endl; 20 cout << "v.lpNorm<1>() = " << v.lpNorm<1>() << endl; 21 cout << "v.lpNorm<Infinity>() = " << v.lpNorm<Infinity>() << endl; 23 cout << endl; local 24 cout << "m.squaredNorm() = " << m.squaredNorm() << endl; 25 cout << "m.norm() = " << m.norm() << endl; 26 cout << "m.lpNorm<1>() = " << m.lpNorm<1>() << endl; 27 cout << "m.lpNorm<Infinity>() = " << m.lpNorm<Infinity>() << endl;
|
Tutorial_ArrayClass_addition.cpp | 19 cout << "a + b = " << endl << a + b << endl << endl; local 22 cout << "a - 2 = " << endl << a - 2 << endl;
|
TutorialLinAlgInverseDeterminant.cpp | 13 cout << "Here is the matrix A:\n" << A << endl; local 14 cout << "The determinant of A is " << A.determinant() << endl; 15 cout << "The inverse of A is:\n" << A.inverse() << endl;
|