/external/eigen/doc/examples/ |
class_CwiseUnaryOp_ptrfun.cpp | 18 cout << m1 << endl << "becomes: " << endl << m1.unaryExpr(ptr_fun(ramp)) << endl;
|
TutorialLinAlgComputeTwice.cpp | 13 cout << "Here is the matrix A:\n" << A << endl; local 14 cout << "Here is the right hand side b:\n" << b << endl; local 15 cout << "Computing LLT decomposition..." << endl; local 17 cout << "The solution is:\n" << llt.solve(b) << endl; 19 cout << "The matrix A is now:\n" << A << endl; local 20 cout << "Computing LLT decomposition..." << endl; local 22 cout << "The solution is now:\n" << llt.solve(b) << endl;
|
tut_arithmetic_matrix_mul.cpp | 11 std::cout << "Here is mat*mat:\n" << mat*mat << std::endl; member in class:std 12 std::cout << "Here is mat*u:\n" << mat*u << std::endl; member in class:std 13 std::cout << "Here is u^T*mat:\n" << u.transpose()*mat << std::endl; member in class:std 14 std::cout << "Here is u^T*v:\n" << u.transpose()*v << std::endl; member in class:std 15 std::cout << "Here is u*v^T:\n" << u*v.transpose() << std::endl; member in class:std 16 std::cout << "Let's multiply mat by itself" << std::endl; member in class:std 18 std::cout << "Now mat is mat:\n" << mat << std::endl; member in class:std
|
TemplateKeyword_flexible.cpp | 17 std::cout << "m2 before copy:" << std::endl; member in class:std 18 std::cout << m2 << std::endl << std::endl; member in class:std 20 std::cout << "m2 after copy:" << std::endl; member in class:std 21 std::cout << m2 << std::endl << std::endl; member in class:std
|
TutorialLinAlgExSolveColPivHouseholderQR.cpp | 13 cout << "Here is the matrix A:\n" << A << endl; local 14 cout << "Here is the vector b:\n" << b << endl; local 16 cout << "The solution is:\n" << x << endl; local
|
TutorialLinAlgExSolveLDLT.cpp | 12 cout << "Here is the matrix A:\n" << A << endl; local 13 cout << "Here is the right hand side b:\n" << b << endl; local 15 cout << "The solution is:\n" << x << endl; local
|
TutorialLinAlgSVDSolve.cpp | 10 cout << "Here is the matrix A:\n" << A << endl; local 12 cout << "Here is the right hand side b:\n" << b << endl; local 14 << A.jacobiSvd(ComputeThinU | ComputeThinV).solve(b) << endl;
|
TutorialLinAlgSelfAdjointEigenSolver.cpp | 11 cout << "Here is the matrix A:\n" << A << endl; local 14 cout << "The eigenvalues of A are:\n" << eigensolver.eigenvalues() << endl; 17 << eigensolver.eigenvectors() << endl;
|
Tutorial_ArrayClass_accessors.cpp | 16 cout << m << endl << endl; local 23 cout << m << endl; local
|
tut_arithmetic_dot_cross.cpp | 11 cout << "Dot product: " << v.dot(w) << endl; 13 cout << "Dot product via a matrix product: " << dp << endl; local 14 cout << "Cross product:\n" << v.cross(w) << endl;
|
TutorialLinAlgRankRevealing.cpp | 13 cout << "Here is the matrix A:\n" << A << endl; local 15 cout << "The rank of A is " << lu_decomp.rank() << endl; 17 << lu_decomp.kernel() << endl; 19 << lu_decomp.image(A) << endl; // yes, have to pass the original A
|
Tutorial_ReductionsVisitorsBroadcasting_maxnorm.cpp | 15 std::cout << "Maximum sum at position " << maxIndex << std::endl; member in class:std 17 std::cout << "The corresponding vector is: " << std::endl; member in class:std 18 std::cout << mat.col( maxIndex ) << std::endl; member in class:std 19 std::cout << "And its sum is is: " << maxNorm << std::endl; member in class:std
|
tut_matrix_resize.cpp | 11 << m.rows() << "x" << m.cols() << std::endl; member in class:std 12 std::cout << "It has " << m.size() << " coefficients" << std::endl; member in class:std 15 std::cout << "The vector v is of size " << v.size() << std::endl; member in class:std 17 << v.rows() << "x" << v.cols() << std::endl; member in class:std
|
/external/eigen/doc/snippets/ |
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
|
Tutorial_AdvancedInitialization_Join.cpp | 3 std::cout << "vec1 = " << vec1 << std::endl; member in class:std 7 std::cout << "vec2 = " << vec2 << std::endl; member in class:std 11 std::cout << "joined = " << joined << std::endl; member in class:std
|
Tutorial_Map_rowmajor.cpp | 3 cout << "Column-major:\n" << Map<Matrix<int,2,4> >(array) << endl; 4 cout << "Row-major:\n" << Map<Matrix<int,2,4,RowMajor> >(array) << endl; 6 Map<Matrix<int,2,4>, Unaligned, Stride<1,4> >(array) << endl;
|
MatrixBase_marked.cpp | 7 cout << "Here is the matrix m:" << endl << m << endl; 10 cout << "Here is the matrix n:" << endl << n << endl; 12 " m is upper-triangular:" << endl
|
Tutorial_Map_using.cpp | 13 cout << "m1: " << m1 << endl; variable 14 cout << "m2: " << m2 << endl; variable 15 cout << "Squared euclidean distance: " << (m1-m2).squaredNorm() << endl; 17 (m1-m2map).squaredNorm() << endl; 19 cout << "Updated m2: " << m2 << endl; variable 20 cout << "m2 coefficient 2, constant accessor: " << m2mapconst(2) << endl;
|
GeneralizedEigenSolver.cpp | 5 cout << "The (complex) numerators of the generalzied eigenvalues are: " << ges.alphas().transpose() << endl; 6 cout << "The (real) denominatore of the generalzied eigenvalues are: " << ges.betas().transpose() << endl; 7 cout << "The (complex) generalzied eigenvalues are (alphas./beta): " << ges.eigenvalues().transpose() << endl;
|
tut_arithmetic_redux_minmax.cpp | 4 cout << "Here is the matrix m:\n" << m << endl; variable 10 cout << "Here is the vector v: " << v << endl; variable 12 << ") is at position " << i << endl; variable
|
Map_outer_stride.cpp | 3 cout << Map<MatrixXi, 0, OuterStride<> >(array, 3, 3, OuterStride<>(4)) << endl;
|
Map_simple.cpp | 3 cout << Map<Matrix3i>(array) << endl;
|
/external/zlib/src/contrib/iostream/ |
test.cpp | 12 os << "Hello, Mommy" << endl; local 15 os << "hello, hello, hi, ho!" << endl; local 18 << "I'm compressing again" << endl;
|