/external/eigen/doc/snippets/ |
Cwise_square.cpp | 2 cout << v.square() << endl;
|
DirectionWise_replicate.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; variable 3 cout << "m.colwise().replicate<3>() = ..." << endl; variable 4 cout << m.colwise().replicate<3>() << endl;
|
DirectionWise_replicate_int.cpp | 2 cout << "Here is the vector v:" << endl << v << endl; variable 3 cout << "v.rowwise().replicate(5) = ..." << endl; variable 4 cout << v.rowwise().replicate(5) << endl;
|
EigenSolver_EigenSolver_MatrixType.cpp | 2 cout << "Here is a random 6x6 matrix, A:" << endl << A << endl << endl; variable 5 cout << "The eigenvalues of A are:" << endl << es.eigenvalues() << endl; 6 cout << "The matrix of eigenvectors, V, is:" << endl << es.eigenvectors() << endl << endl; variable 9 cout << "Consider the first eigenvalue, lambda = " << lambda << endl; variable 11 cout << "If v is the corresponding eigenvector, then lambda * v = " << endl << lambda * v << endl variable 12 cout << "... and A * v = " << endl << A.cast<complex<double> >() * v << endl << endl; variable [all...] |
MatrixBase_adjoint.cpp | 2 cout << "Here is the 2x2 complex matrix m:" << endl << m << endl; variable 3 cout << "Here is the adjoint of m:" << endl << m.adjoint() << endl;
|
MatrixBase_applyOnTheLeft.cpp | 5 cout << "At start, A = " << endl << A << endl; variable 7 cout << "After applyOnTheLeft, A = " << endl << A << endl; variable
|
MatrixBase_asDiagonal.cpp | 1 cout << Matrix3i(Vector3i(2,5,6).asDiagonal()) << endl;
|
MatrixBase_cwiseSqrt.cpp | 2 cout << v.cwiseSqrt() << endl;
|
MatrixBase_diagonal.cpp | 2 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;
|
MatrixBase_identity.cpp | 1 cout << Matrix<double, 3, 4>::Identity() << endl;
|
MatrixBase_identity_int_int.cpp | 1 cout << MatrixXd::Identity(4, 3) << endl;
|
MatrixBase_ones_int_int.cpp | 1 cout << MatrixXi::Ones(2,3) << endl;
|
MatrixBase_prod.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; variable 3 cout << "Here is the product of all the coefficients:" << endl << m.prod() << endl;
|
MatrixBase_random_int_int.cpp | 1 cout << MatrixXi::Random(2,3) << endl;
|
MatrixBase_replicate.cpp | 2 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;
|
MatrixBase_replicate_int_int.cpp | 2 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;
|
MatrixBase_zero_int_int.cpp | 1 cout << MatrixXi::Zero(2,3) << endl;
|
Matrix_setConstant_int.cpp | 3 cout << v << endl; variable
|
Matrix_setIdentity_int_int.cpp | 3 cout << m << endl; variable
|
Matrix_setOnes_int.cpp | 3 cout << v << endl; variable
|
Matrix_setOnes_int_int.cpp | 3 cout << m << endl; variable
|
Matrix_setRandom_int.cpp | 3 cout << v << endl; variable
|
Matrix_setRandom_int_int.cpp | 3 cout << m << endl; variable
|
Matrix_setZero_int.cpp | 3 cout << v << endl; variable
|
Matrix_setZero_int_int.cpp | 3 cout << m << endl; variable
|