HomeSort by relevance Sort by last modified time
    Searched full:cout (Results 101 - 125 of 770) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/eigen/doc/snippets/
SelfAdjointEigenSolver_operatorInverseSqrt.cpp 3 cout << "Here is a random positive-definite matrix, A:" << endl << A << endl << endl;
6 cout << "The inverse square root of A is: " << endl;
7 cout << es.operatorInverseSqrt() << endl;
8 cout << "We can also compute it with operatorSqrt() and inverse(). That yields: " << endl;
9 cout << es.operatorSqrt().inverse() << endl;
JacobiSVD_basic.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
4 cout << "Its singular values are:" << endl << svd.singularValues() << endl;
5 cout << "Its left singular vectors are the columns of the thin U matrix:" << endl << svd.matrixU() << endl;
6 cout << "Its right singular vectors are the columns of the thin V matrix:" << endl << svd.matrixV() << endl;
8 cout << "Now consider this rhs vector:" << endl << rhs << endl;
9 cout << "A least-squares solution of m*x = rhs is:" << endl << svd.solve(rhs) << endl;
MatrixBase_eval.cpp 4 cout << "Here is the matrix m:" << endl << m << endl;
5 cout << "Now we want to copy a column into a row." << endl;
6 cout << "If we do m.col(1) = m.row(0), then m becomes:" << endl;
8 cout << m << endl << "which is wrong!" << endl;
9 cout << "Now let us instead do m.col(1) = m.row(0).eval(). Then m becomes" << endl;
12 cout << m << endl << "which is right." << endl;
Vectorwise_reverse.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here is the rowwise reverse of m:" << endl << m.rowwise().reverse() << endl;
4 cout << "Here is the colwise reverse of m:" << endl << m.colwise().reverse() << endl;
6 cout << "Here is the coefficient (1,0) in the rowise reverse of m:" << endl
8 cout << "Let us overwrite this coefficient with the value 4." << endl;
10 cout << "Now the matrix m is:" << endl << m << endl;
ComplexSchur_matrixU.cpp 2 cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl;
4 cout << "The unitary matrix U is:" << endl << schurOfA.matrixU() << endl;
MatrixBase_adjoint.cpp 2 cout << "Here is the 2x2 complex matrix m:" << endl << m << endl;
3 cout << "Here is the adjoint of m:" << endl << m.adjoint() << endl;
MatrixBase_diagonal.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here are the coefficients on the main diagonal of m:" << endl
MatrixBase_prod.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here is the product of all the coefficients:" << endl << m.prod() << endl;
PartialRedux_maxCoeff.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here is the maximum of each column:" << endl << m.colwise().maxCoeff() << endl;
PartialRedux_minCoeff.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here is the minimum of each column:" << endl << m.colwise().minCoeff() << endl;
PartialRedux_norm.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here is the norm of each column:" << endl << m.colwise().norm() << endl;
PartialRedux_prod.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here is the product of each row:" << endl << m.rowwise().prod() << endl;
PartialRedux_squaredNorm.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here is the square norm of each row:" << endl << m.rowwise().squaredNorm() << endl;
PartialRedux_sum.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here is the sum of each row:" << endl << m.rowwise().sum() << endl;
TopicAliasing_mult2.cpp 6 cout << matB << endl << endl;
10 cout << matB;
class_FullPivLU.cpp 4 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;
tut_arithmetic_transpose_aliasing.cpp 2 cout << "Here is the matrix a:\n" << a << endl;
5 cout << "and the result of the aliasing effect:\n" << a << endl
tut_arithmetic_transpose_inplace.cpp 2 cout << "Here is the initial matrix a:\n" << a << endl;
6 cout << "and after being transposed:\n" << a << endl
  /external/eigen/doc/examples/
Tutorial_ReductionsVisitorsBroadcasting_reductions_norm.cpp 18 cout << "v.squaredNorm() = " << v.squaredNorm() << endl;
19 cout << "v.norm() = " << v.norm() << endl;
20 cout << "v.lpNorm<1>() = " << v.lpNorm<1>() << endl;
21 cout << "v.lpNorm<Infinity>() = " << v.lpNorm<Infinity>() << endl;
23 cout << endl;
24 cout << "m.squaredNorm() = " << m.squaredNorm() << endl;
25 cout << "m.norm() = " << m.norm() << endl;
26 cout << "m.lpNorm<1>() = " << m.lpNorm<1>() << endl;
27 cout << "m.lpNorm<Infinity>() = " << m.lpNorm<Infinity>() << endl;
MatrixBase_cwise_const.cpp 11 cout << "Here is the matrix m:" << endl << m << endl;
13 cout << "And here is the matrix n:" << endl << n << endl;
14 cout << "The coefficient-wise product of m and n is:" << endl;
15 cout << m.cwise() * n << endl;
16 cout << "Taking the cube of the coefficients of m yields:" << endl;
17 cout << m.cwise().pow(3) << endl;
tut_arithmetic_redux_basic.cpp 10 cout << "Here is mat.sum(): " << mat.sum() << endl;
11 cout << "Here is mat.prod(): " << mat.prod() << endl;
12 cout << "Here is mat.mean(): " << mat.mean() << endl;
13 cout << "Here is mat.minCoeff(): " << mat.minCoeff() << endl;
14 cout << "Here is mat.maxCoeff(): " << mat.maxCoeff() << endl;
15 cout << "Here is mat.trace(): " << mat.trace() << endl;
Tutorial_ArrayClass_cwise_other.cpp 11 cout << "a =" << endl
13 cout << "a.abs() =" << endl
15 cout << "a.abs().sqrt() =" << endl
17 cout << "a.min(a.abs().sqrt()) =" << endl
Tutorial_BlockOperations_colrow.cpp 12 cout << "Here is the matrix m:" << endl << m << endl;
13 cout << "2nd Row: " << m.row(1) << endl;
15 cout << "After adding 3 times the first column into the third column, the matrix m is:\n";
16 cout << m << endl;
Tutorial_BlockOperations_print_block.cpp 13 cout << "Block in the middle" << endl;
14 cout << m.block<2,2>(1,1) << endl << endl;
17 cout << "Block of size " << i << "x" << i << endl;
18 cout << m.block(0,0,i,i) << endl << endl;
tut_arithmetic_scalar_mul_div.cpp 12 std::cout << "a * 2.5 =\n" << a * 2.5 << std::endl;
13 std::cout << "0.1 * v =\n" << 0.1 * v << std::endl;
14 std::cout << "Doing v *= 2;" << std::endl;
16 std::cout << "Now v =\n" << v << std::endl;

Completed in 192 milliseconds

1 2 3 45 6 7 8 91011>>