/external/eigen/doc/snippets/ |
HessenbergDecomposition_packedMatrix.cpp | 2 cout << "Here is a random 4x4 matrix:" << endl << A << endl; variable 5 cout << "The packed matrix M is:" << endl << pm << endl; variable 7 << endl << hessOfA.matrixH() << endl; 9 cout << "The vector of Householder coefficients is:" << endl << hc << endl; variable
|
FullPivLU_kernel.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; variable 5 << endl << ker << endl; variable 7 << endl << m*ker << endl; variable
|
MatrixBase_applyOnTheRight.cpp | 5 cout << "At start, A = " << endl << A << endl; variable 7 cout << "After A *= B, A = " << endl << A << endl; variable 9 cout << "After applyOnTheRight, A = " << endl << A << endl; variable
|
MatrixBase_block_int_int.cpp | 2 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
|
MatrixBase_block_int_int_int_int.cpp | 2 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
|
MatrixBase_bottomLeftCorner_int_int.cpp | 2 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
|
MatrixBase_bottomRightCorner_int_int.cpp | 2 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
|
MatrixBase_bottomRows_int.cpp | 2 cout << "Here is the array a:" << endl << a << endl; variable 3 cout << "Here is a.bottomRows(2):" << endl; variable 4 cout << a.bottomRows(2) << endl; 6 cout << "Now the array a is:" << endl << a << endl; variable
|
MatrixBase_colwise.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; variable 3 cout << "Here is the sum of each column:" << endl << m.colwise().sum() << endl; 5 << endl << m.cwiseAbs().colwise().maxCoeff() << endl;
|
MatrixBase_computeInverseAndDetWithCheck.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; variable 7 cout << "Its determinant is " << determinant << endl; variable 9 cout << "It is invertible, and its inverse is:" << endl << inverse << endl; variable 12 cout << "It is not invertible." << endl; variable
|
MatrixBase_end_int.cpp | 2 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
|
MatrixBase_leftCols_int.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_rightCols_int.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_rowwise.cpp | 2 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;
|
MatrixBase_segment_int_int.cpp | 2 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
|
MatrixBase_selfadjointView.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; variable 3 cout << "Here is the symmetric matrix extracted from the upper part of m:" << endl 4 << Matrix3i(m.selfadjointView<Upper>()) << endl; 5 cout << "Here is the symmetric matrix extracted from the lower part of m:" << endl 6 << Matrix3i(m.selfadjointView<Lower>()) << endl;
|
MatrixBase_start_int.cpp | 2 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
|
MatrixBase_template_int_bottomRows.cpp | 2 cout << "Here is the array a:" << endl << a << endl; variable 3 cout << "Here is a.bottomRows<2>():" << endl; variable 4 cout << a.bottomRows<2>() << endl; 6 cout << "Now the array a is:" << endl << a << endl; variable
|
MatrixBase_template_int_end.cpp | 2 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
|
MatrixBase_template_int_int_block_int_int_int_int.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; variable 3 cout << "Here is the block:" << endl << m.block<2, Dynamic>(1, 1, 2, 3) << endl; 5 cout << "Now the matrix m is:" << endl << m << endl; variable
|
MatrixBase_template_int_int_bottomLeftCorner.cpp | 2 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
|
MatrixBase_template_int_int_bottomLeftCorner_int_int.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; variable 3 cout << "Here is m.bottomLeftCorner<2,Dynamic>(2,2):" << endl; variable 4 cout << m.bottomLeftCorner<2,Dynamic>(2,2) << endl; 6 cout << "Now the matrix m is:" << endl << m << endl; variable
|
MatrixBase_template_int_int_bottomRightCorner.cpp | 2 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
|
MatrixBase_template_int_int_bottomRightCorner_int_int.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; variable 3 cout << "Here is m.bottomRightCorner<2,Dynamic>(2,2):" << endl; variable 4 cout << m.bottomRightCorner<2,Dynamic>(2,2) << endl; 6 cout << "Now the matrix m is:" << endl << m << endl; variable
|
/external/eigen/doc/examples/ |
TutorialInplaceLU.cpp | 3 init() { std::cout << "[" << "init" << "]" << std::endl; } member in class:init::std 17 cout << "Here is the input matrix A before decomposition:\n" << A << endl; local 18 cout << "[init]" << endl; local 20 cout << "[declaration]" << endl; local 22 cout << "Here is the input matrix A after decomposition:\n" << A << endl; local 23 cout << "[declaration]" << endl; local 25 cout << "[matrixLU]" << endl; local 26 cout << "Here is the matrix storing the L and U factors:\n" << lu.matrixLU() << endl; 27 cout << "[matrixLU]" << endl; local 29 cout << "[solve]" << endl; local 34 cout << "[solve]" << endl; local 36 cout << "[modifyA]" << endl; local 40 cout << "[modifyA]" << endl; local 42 cout << "[recompute]" << endl; local 47 cout << "[recompute]" << endl; local 49 cout << "[recompute_bis0]" << endl; local 53 cout << "Here is the input matrix A1 after decomposition:\\n" << A1 << endl; local 54 cout << "[recompute_bis0]" << endl; local 56 cout << "[recompute_bis1]" << endl; local 59 cout << "[recompute_bis1]" << endl; local [all...] |