/external/eigen/doc/examples/ |
tut_arithmetic_add_sub.cpp | 14 std::cout << "a + b =\n" << a + b << std::endl; 15 std::cout << "a - b =\n" << a - b << std::endl; 16 std::cout << "Doing a += b;" << std::endl; 18 std::cout << "Now a =\n" << a << std::endl; 21 std::cout << "-v + w - v =\n" << -v + w - v << std::endl;
|
Tutorial_BlockOperations_block_assignment.cpp | 13 cout << "Here is the array a:" << endl << a << endl << endl; 15 cout << "Here is now a with m copied into its central 2x2 block:" << endl << a << endl << endl; 17 cout << "Here is now a with bottom-right 2x3 block copied into top-left 2x2 block:" << endl << a << endl << endl;
|
TemplateKeyword_flexible.cpp | 17 std::cout << "m2 before copy:" << std::endl; 18 std::cout << m2 << std::endl << std::endl; 20 std::cout << "m2 after copy:" << std::endl; 21 std::cout << m2 << std::endl << std::endl;
|
TemplateKeyword_simple.cpp | 15 std::cout << "m2 before copy:" << std::endl; 16 std::cout << m2 << std::endl << std::endl; 18 std::cout << "m2 after copy:" << std::endl; 19 std::cout << m2 << std::endl << std::endl;
|
Tutorial_ArrayClass_interop_matrix.cpp | 19 cout << "-- Matrix m*n: --" << endl << result << endl << endl; 21 cout << "-- Array m*n: --" << endl << result << endl << endl; 23 cout << "-- With cwiseProduct: --" << endl << result << endl << endl; 25 cout << "-- Array m + 4: --" << endl << result << endl << endl;
|
/external/eigen/doc/snippets/ |
IOFormat.cpp | 10 std::cout << m1 << sep; 11 std::cout << m1.format(CommaInitFmt) << sep; 12 std::cout << m1.format(CleanFmt) << sep; 13 std::cout << m1.format(OctaveFmt) << sep; 14 std::cout << m1.format(HeavyFmt) << sep;
|
TopicAliasing_cwise.cpp | 3 cout << "Here is the matrix mat:\n" << mat << endl << endl; 6 cout << "After 'mat = 2 * mat', mat = \n" << mat << endl << endl; 10 cout << "After the subtraction, it becomes\n" << mat << endl << endl; 15 cout << "After squaring, it becomes\n" << arr << endl << endl; 20 cout << "Doing everything at once yields\n" << mat << endl << endl;
|
Tridiagonalization_diagonal.cpp | 3 cout << "Here is a random self-adjoint 4x4 matrix:" << endl << A << endl << endl; 7 cout << "The tridiagonal matrix T is:" << endl << T << endl << endl; 9 cout << "We can also extract the diagonals of T directly ..." << endl; 11 cout << "The diagonal is:" << endl << diag << endl; 13 cout << "The subdiagonal is:" << endl << subdiag << endl;
|
ComplexEigenSolver_compute.cpp | 2 cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl; 6 cout << "The eigenvalues of A are:" << endl << ces.eigenvalues() << endl; 7 cout << "The matrix of eigenvectors, V, is:" << endl << ces.eigenvectors() << endl << endl; 10 cout << "Consider the first eigenvalue, lambda = " << lambda << endl; 12 cout << "If v is the corresponding eigenvector, then lambda * v = " << endl << lambda * v << endl; 13 cout << "... and A * v = " << endl << A * v << endl << endl; 15 cout << "Finally, V * D * V^(-1) = " << endl
|
EigenSolver_EigenSolver_MatrixType.cpp | 2 cout << "Here is a random 6x6 matrix, A:" << endl << A << endl << endl; 5 cout << "The eigenvalues of A are:" << endl << es.eigenvalues() << endl; 6 cout << "The matrix of eigenvectors, V, is:" << endl << es.eigenvectors() << endl << endl; 9 cout << "Consider the first eigenvalue, lambda = " << lambda << endl; 11 cout << "If v is the corresponding eigenvector, then lambda * v = " << endl << lambda * v << endl; 12 cout << "... and A * v = " << endl << A.cast<complex<double> >() * v << endl << endl; 16 cout << "Finally, V * D * V^(-1) = " << endl << V * D * V.inverse() << endl;
|
SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType.cpp | 3 cout << "Here is a random symmetric 5x5 matrix, A:" << endl << A << endl << endl; 6 cout << "The eigenvalues of A are:" << endl << es.eigenvalues() << endl; 7 cout << "The matrix of eigenvectors, V, is:" << endl << es.eigenvectors() << endl << endl; 10 cout << "Consider the first eigenvalue, lambda = " << lambda << endl; 12 cout << "If v is the corresponding eigenvector, then lambda * v = " << endl << lambda * v << endl; 13 cout << "... and A * v = " << endl << A * v << endl << endl; 17 cout << "Finally, V * D * V^(-1) = " << endl << V * D * V.inverse() << endl;
|
SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp | 3 cout << "Here is a random symmetric matrix, A:" << endl << A << endl; 6 cout << "and a random postive-definite matrix, B:" << endl << B << endl << endl; 9 cout << "The eigenvalues of the pencil (A,B) are:" << endl << es.eigenvalues() << endl; 10 cout << "The matrix of eigenvectors, V, is:" << endl << es.eigenvectors() << endl << endl; 13 cout << "Consider the first eigenvalue, lambda = " << lambda << endl; 15 cout << "If v is the corresponding eigenvector, then A * v = " << endl << A * v << endl; 16 cout << "... and lambda * B * v = " << endl << lambda * B * v << endl << endl;
|
HouseholderQR_solve.cpp | 4 cout << "Here is the matrix m:" << endl << m << endl; 5 cout << "Here is the matrix y:" << endl << y << endl; 9 cout << "Here is a solution x to the equation mx=y:" << endl << x << endl;
|
ComplexEigenSolver_eigenvalues.cpp | 3 cout << "The eigenvalues of the 3x3 matrix of ones are:"
|
ComplexEigenSolver_eigenvectors.cpp | 3 cout << "The first eigenvector of the 3x3 matrix of ones is:"
|
EigenSolver_eigenvalues.cpp | 3 cout << "The eigenvalues of the 3x3 matrix of ones are:"
|
EigenSolver_eigenvectors.cpp | 3 cout << "The first eigenvector of the 3x3 matrix of ones is:"
|
Map_inner_stride.cpp | 3 cout << Map<VectorXi, 0, InnerStride<2> >
|
Map_outer_stride.cpp | 3 cout << Map<MatrixXi, 0, OuterStride<> >(array, 3, 3, OuterStride<>(4)) << endl;
|
/external/eigen/unsupported/doc/examples/ |
PolynomialUtils1.cpp | 10 cout << "Roots: " << roots.transpose() << endl; 13 cout << "Polynomial: "; 14 for( int i=0; i<4; ++i ){ cout << polynomial[i] << ".x^" << i << "+ "; } 15 cout << polynomial[4] << ".x^4" << endl; 19 cout << "Evaluation of the polynomial at the roots: " << evaluation.transpose();
|
MatrixSquareRoot.cpp | 13 std::cout << "The matrix A is:\n" << A << "\n\n"; 14 std::cout << "The matrix square root of A is:\n" << A.sqrt() << "\n\n"; 15 std::cout << "The square of the last matrix is:\n" << A.sqrt() * A.sqrt() << "\n";
|
/external/eigen/doc/ |
tutorial.cpp | 5 std::cout.precision(2); 11 std::cout << "*** Step 1 ***\nm3:\n" << m3 << "\nm4:\n" << m4 << std::endl; 17 std::cout << "*** Step 2 ***\nm3:\n" << m3 << "\nm4:\n" << m4 << std::endl; 23 std::cout << "*** Step 3 ***\nm3:\n" << m3 << "\nm4:\n" << m4 << std::endl; 29 std::cout << "*** Step 4 ***\nm4:\n" << m4 << std::endl; 34 std::cout << "*** Step 5 ***\nm4.diagonal():\n" << m4.diagonal() << std::endl; 35 std::cout << "m4.diagonal().start(3)\n" << m4.diagonal().start(3) << std::endl; 40 std::cout << "*** Step 6 ***\nm3:\n" << m3 << "\nm4:\n" << m4 << std::endl; 43 std::cout << "*** Step 7 ***\n m4.sum(): " << m4.sum() << std::endl; 44 std::cout << "m4.col(2).sum(): " << m4.col(2).sum() << std::endl [all...] |
/external/zlib/src/contrib/iostream3/ |
test.cc | 9 #include <iostream> // for cout 21 std::cout << "Wrote the following message to 'test1.txt.gz' (check with zcat or zless):\n" 25 std::cout << "\nReading 'test1.txt.gz' (buffered) produces:\n"; member in class:std 28 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n"; 38 std::cout << "\nWrote the same message to 'test2.txt.gz' in uncompressed form"; member in class:std 40 std::cout << "\nReading 'test2.txt.gz' (unbuffered) produces:\n"; member in class:std 44 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n";
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest_main.cc | 35 std::cout << "Running main() from gtest_main.cc\n"; member in class:std
|
/external/chromium/testing/gtest/src/ |
gtest_main.cc | 35 std::cout << "Running main() from gtest_main.cc\n"; member in class:std
|