/external/eigen/doc/snippets/ |
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;
|
Map_simple.cpp | 3 cout << Map<Matrix3i>(array) << endl;
|
MatrixBase_cast.cpp | 3 cout << md + mf.cast<double>() << endl;
|
MatrixBase_eigenvalues.cpp | 3 cout << "The eigenvalues of the 3x3 matrix of ones are:" << endl << eivals << endl;
|
MatrixBase_noalias.cpp | 3 cout << c << endl;
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/test/ |
audio_classifier_test.cc | 25 std::cout << "Usage: " << argv[0] << 28 std::cout << "Where channels can be 1 (mono) or 2 (interleaved stereo),"; member in class:std 29 std::cout << " outputs can be 1 (classification (boolean)) or 2"; member in class:std 30 std::cout << " (classification and music probability (float))," 32 std::cout << "and the sampling frequency is assumed to be 48 kHz." 40 std::cout << "Disallowed number of channels " << channels << std::endl; 46 std::cout << "Disallowed number of outputs " << outputs << std::endl; 56 std::cout << "Input file: " << input_filename << std::endl; 57 std::cout << "Output file: " << output_filename << std::endl; 61 std::cout << "Cannot open input file " << input_filename << std::endl [all...] |
/external/eigen/unsupported/bench/ |
bench_svd.cpp | 42 cout << " Only compute Singular Values" <<endl; 60 cout << "Sample " << k << " : " << REPEAT << " computations : Jacobi : " << fixed << timerJacobi.value() << "s "; 61 cout << " || " << " BDC : " << timerBDC.value() << "s " <<endl <<endl; 64 cout << "KO : BDC is " << timerJacobi.value() / timerBDC.value() << " times faster than Jacobi" <<endl; 66 cout << "OK : BDC is " << timerJacobi.value() / timerBDC.value() << " times faster than Jacobi" <<endl; 69 cout << " =================" <<endl; 70 std::cout<< std::endl; 73 cout << " Computes rotaion matrix" <<endl; 91 cout << "Sample " << k << " : " << REPEAT << " computations : Jacobi : " << fixed << timerJacobi.value() << "s "; 92 cout << " || " << " BDC : " << timerBDC.value() << "s " <<endl <<endl [all...] |
/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/eigen/doc/examples/ |
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;
|
function_taking_ref.cpp | 15 cout << "matrix m:" << endl << m << endl << endl; 16 cout << "inv_cond(m): " << inv_cond(m) << endl; 17 cout << "inv_cond(m(1:3,1:3)): " << inv_cond(m.topLeftCorner(3,3)) << endl; 18 cout << "inv_cond(m+I): " << inv_cond(m+Matrix4f::Identity()) << endl;
|
/external/eigen/unsupported/doc/examples/ |
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/chromium_org/third_party/mesa/src/src/gtest/src/ |
gtest_main.cc | 35 std::cout << "Running main() from gtest_main.cc\n"; member in class:std
|