Searched refs:cout (Results 151 - 175 of 596) sorted by relevance

1234567891011>>

/external/eigen/doc/snippets/
H A DTutorial_Map_using.cpp13 cout << "m1: " << m1 << endl;
14 cout << "m2: " << m2 << endl;
15 cout << "Squared euclidean distance: " << (m1-m2).squaredNorm() << endl;
16 cout << "Squared euclidean distance, using map: " <<
19 cout << "Updated m2: " << m2 << endl;
20 cout << "m2 coefficient 2, constant accessor: " << m2mapconst(2) << endl;
H A DComplexSchur_matrixT.cpp2 cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl;
4 cout << "The triangular matrix T is:" << endl << schurOfA.matrixT() << endl;
H A DComplexSchur_matrixU.cpp2 cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl;
4 cout << "The unitary matrix U is:" << endl << schurOfA.matrixU() << endl;
H A DCwise_boolean_and.cpp2 cout << ((v<w) && (v<0)) << endl;
H A DCwise_boolean_or.cpp2 cout << ((v<w) || (v<0)) << endl;
H A DCwise_cos.cpp2 cout << v.cos() << endl;
H A DCwise_max.cpp2 cout << v.max(w) << endl;
H A DCwise_min.cpp2 cout << v.min(w) << endl;
H A DCwise_sin.cpp2 cout << v.sin() << endl;
H A DCwise_tan.cpp2 cout << v.tan() << endl;
H A DMatrixBase_applyOnTheLeft.cpp5 cout << "At start, A = " << endl << A << endl;
7 cout << "After applyOnTheLeft, A = " << endl << A << endl;
H A DMatrixBase_cwiseMax.cpp2 cout << v.cwiseMax(w) << endl;
H A DMatrixBase_cwiseMin.cpp2 cout << v.cwiseMin(w) << endl;
H A DMatrixBase_cwiseQuotient.cpp2 cout << v.cwiseQuotient(w) << endl;
H A DMatrixBase_diagonal_int.cpp2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here are the coefficients on the 1st super-diagonal and 2nd sub-diagonal of m:" << endl
H A DMatrixBase_diagonal_template_int.cpp2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here are the coefficients on the 1st super-diagonal and 2nd sub-diagonal of m:" << endl
H A DMatrix_resize_int.cpp5 cout << "v: " << v.rows() << " rows, " << v.cols() << " cols" << endl;
6 cout << "w: " << w.rows() << " rows, " << w.cols() << " cols" << endl;
H A DPartialRedux_count.cpp2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here is the count of elements larger or equal than 0.5 of each row:" << endl << (m.array() >= 0.5).rowwise().count() << endl;
H A DTopicAliasing_mult2.cpp6 cout << matB << endl << endl;
10 cout << matB;
H A DTutorial_AdvancedInitialization_CommaTemporary.cpp2 std::cout << mat << std::endl << std::endl;
4 std::cout << mat << std::endl;
H A Dclass_FullPivLU.cpp4 cout << "Here is the matrix m:" << endl << m << endl;
6 cout << "Here is, up to permutations, its LU decomposition matrix:"
8 cout << "Here is the L part:" << endl;
11 cout << l << endl;
12 cout << "Here is the U part:" << endl;
14 cout << u << endl;
15 cout << "Let us now reconstruct the original matrix m:" << endl;
16 cout << lu.permutationP().inverse() * l * u * lu.permutationQ().inverse() << endl;
/external/eigen/doc/examples/
H A DDenseBase_middleCols_int.cpp12 cout << "A =\n" << A << '\n' << endl;
13 cout << "A(1..3,:) =\n" << A.middleCols(1,3) << endl;
H A DDenseBase_middleRows_int.cpp12 cout << "A =\n" << A << '\n' << endl;
13 cout << "A(2..3,:) =\n" << A.middleRows(2,2) << endl;
H A DDenseBase_template_int_middleCols.cpp12 cout << "A =\n" << A << '\n' << endl;
13 cout << "A(:,1..3) =\n" << A.middleCols<3>(1) << endl;
H A DDenseBase_template_int_middleRows.cpp12 cout << "A =\n" << A << '\n' << endl;
13 cout << "A(1..3,:) =\n" << A.middleRows<3>(1) << endl;

Completed in 163 milliseconds

1234567891011>>