Searched refs:endl (Results 26 - 50 of 636) sorted by relevance

1234567891011>>

/external/eigen/doc/examples/
H A DTutorial_BlockOperations_vector.cpp10 cout << "v.head(3) =" << endl << v.head(3) << endl << endl; local
11 cout << "v.tail<3>() = " << endl << v.tail<3>() << endl << endl; local
13 cout << "after 'v.segment(1,4) *= 2', v =" << endl << v << endl; local
H A DTutorial_BlockOperations_block_assignment.cpp13 cout << "Here is the array a:" << endl << a << endl << endl; local
15 cout << "Here is now a with m copied into its central 2x2 block:" << endl << a << endl << endl; local
17 cout << "Here is now a with bottom-right 2x3 block copied into top-left 2x2 block:" << endl << a << endl << endl; local
H A DTutorial_ArrayClass_interop_matrix.cpp19 cout << "-- Matrix m*n: --" << endl << result << endl << endl; local
21 cout << "-- Array m*n: --" << endl << result << endl << endl; local
23 cout << "-- With cwiseProduct: --" << endl << result << endl << endl; local
25 cout << "-- Array m + 4: --" << endl << resul local
[all...]
/external/eigen/doc/snippets/
H A DMatrixBase_identity.cpp1 cout << Matrix<double, 3, 4>::Identity() << endl;
H A DMatrixBase_identity_int_int.cpp1 cout << MatrixXd::Identity(4, 3) << endl;
H A DMatrixBase_ones_int_int.cpp1 cout << MatrixXi::Ones(2,3) << endl;
H A DMatrixBase_random.cpp1 cout << 100 * Matrix2i::Random() << endl;
H A DMatrixBase_random_int.cpp1 cout << VectorXi::Random(2) << endl;
H A DMatrixBase_random_int_int.cpp1 cout << MatrixXi::Random(2,3) << endl;
H A DMatrixBase_zero_int_int.cpp1 cout << MatrixXi::Zero(2,3) << endl;
H A DComplexSchur_matrixT.cpp2 cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl; variable
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; variable
4 cout << "The unitary matrix U is:" << endl << schurOfA.matrixU() << endl;
H A DFullPivLU_image.cpp5 cout << "Here is the matrix m:" << endl << m << endl; variable
7 << "columns are linearly dependent." << endl; variable
9 << endl << m.fullPivLu().image(m) << endl;
H A DMatrixBase_diagonal_int.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here are the coefficients on the 1st super-diagonal and 2nd sub-diagonal of m:" << endl
4 << m.diagonal(1).transpose() << endl
5 << m.diagonal(-2).transpose() << endl;
H A DMatrixBase_diagonal_template_int.cpp2 cout << "Here is the matrix m:" << endl << m << endl; variable
3 cout << "Here are the coefficients on the 1st super-diagonal and 2nd sub-diagonal of m:" << endl
4 << m.diagonal<1>().transpose() << endl
5 << m.diagonal<-2>().transpose() << endl;
H A DMatrixBase_array_const.cpp2 cout << "the absolute values:" << endl << v.array().abs() << endl;
3 cout << "the absolute values plus one:" << endl << v.array().abs()+1 << endl;
4 cout << "sum of the squares: " << v.array().square().sum() << endl;
H A DRealSchur_RealSchur_MatrixType.cpp2 cout << "Here is a random 6x6 matrix, A:" << endl << A << endl << endl; variable
5 cout << "The orthogonal matrix U is:" << endl << schur.matrixU() << endl;
6 cout << "The quasi-triangular matrix T is:" << endl << schur.matrixT() << endl << endl; variable
10 cout << "U * T * U^T = " << endl << U * T * U.transpose() << endl;
[all...]
H A DFullPivLU_solve.cpp3 cout << "Here is the matrix m:" << endl << m << endl; variable
4 cout << "Here is the matrix y:" << endl << y << endl; variable
8 cout << "Here is a solution x to the equation mx=y:" << endl << x << endl; variable
11 cout << "The equation mx=y does not have any solution." << endl; variable
H A DLLT_example.cpp3 cout << "The matrix A is" << endl << A << endl; variable
9 cout << "The Cholesky factor L is" << endl << L << endl; variable
10 cout << "To check this, let us compute L * L.transpose()" << endl; variable
11 cout << L * L.transpose() << endl;
12 cout << "This should equal the matrix A" << endl; variable
H A DMatrix_resize_int_int.cpp3 cout << "here's the 2x3 matrix m:" << endl << m << endl; variable
4 cout << "let's resize m to 3x2. This is a conservative resizing because 2*3==3*2." << endl; variable
6 cout << "here's the 3x2 matrix m:" << endl << m << endl; variable
7 cout << "now let's resize m to size 2x2. This is NOT a conservative resizing, so it becomes uninitialized:" << endl; variable
9 cout << m << endl; variable
H A DSelfAdjointEigenSolver_operatorInverseSqrt.cpp3 cout << "Here is a random positive-definite matrix, A:" << endl << A << endl << endl; variable
6 cout << "The inverse square root of A is: " << endl; variable
7 cout << es.operatorInverseSqrt() << endl;
8 cout << "We can also compute it with operatorSqrt() and inverse(). That yields: " << endl; variable
9 cout << es.operatorSqrt().inverse() << endl;
H A DSelfAdjointEigenSolver_operatorSqrt.cpp3 cout << "Here is a random positive-definite matrix, A:" << endl << A << endl << endl; variable
7 cout << "The square root of A is: " << endl << sqrtA << endl; variable
8 cout << "If we square this, we get: " << endl << sqrtA*sqrtA << endl; variable
H A DEigenSolver_pseudoEigenvectors.cpp2 cout << "Here is a random 6x6 matrix, A:" << endl << A << endl << endl; variable
7 cout << "The pseudo-eigenvalue matrix D is:" << endl << D << endl; variable
8 cout << "The pseudo-eigenvector matrix V is:" << endl << V << endl; variable
9 cout << "Finally, V * D * V^(-1) = " << endl << V * D * V.inverse() << endl;
H A DMatrixBase_eval.cpp4 cout << "Here is the matrix m:" << endl << m << endl; variable
5 cout << "Now we want to copy a column into a row." << endl; variable
6 cout << "If we do m.col(1) = m.row(0), then m becomes:" << endl; variable
8 cout << m << endl << "which is wrong!" << endl; variable
9 cout << "Now let us instead do m.col(1) = m.row(0).eval(). Then m becomes" << endl; variable
12 cout << m << endl << "which is right." << endl; variable
H A DTridiagonalization_decomposeInPlace.cpp3 cout << "Here is a random symmetric 5x5 matrix:" << endl << A << endl << endl; variable
8 cout << "The orthogonal matrix Q is:" << endl << A << endl; variable
9 cout << "The diagonal of the tridiagonal matrix T is:" << endl << diag << endl; variable
10 cout << "The subdiagonal of the tridiagonal matrix T is:" << endl << subdiag << endl; variable

Completed in 344 milliseconds

1234567891011>>