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

1 2 3 4 5 67 8 91011>>

  /external/eigen/doc/snippets/
MatrixBase_array_const.cpp 2 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;
MatrixBase_block_int_int.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here is m.block<2,2>(1,1):" << endl << m.block<2,2>(1,1) << endl;
5 cout << "Now the matrix m is:" << endl << m << endl;
MatrixBase_block_int_int_int_int.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here is m.block(1, 1, 2, 2):" << endl << m.block(1, 1, 2, 2) << endl;
5 cout << "Now the matrix m is:" << endl << m << endl;
MatrixBase_colwise.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here is the sum of each column:" << endl << m.colwise().sum() << endl;
4 cout << "Here is the maximum absolute value of each column:"
MatrixBase_computeInverseWithCheck.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
7 cout << "It is invertible, and its inverse is:" << endl << inverse << endl;
10 cout << "It is not invertible." << endl;
MatrixBase_cwiseEqual.cpp 4 cout << "Comparing m with identity matrix:" << endl;
5 cout << m.cwiseEqual(MatrixXi::Identity(2,2)) << endl;
7 cout << "Number of coefficients that are equal: " << count << endl;
MatrixBase_cwiseNotEqual.cpp 4 cout << "Comparing m with identity matrix:" << endl;
5 cout << m.cwiseNotEqual(MatrixXi::Identity(2,2)) << endl;
7 cout << "Number of coefficients that are not equal: " << count << endl;
MatrixBase_end_int.cpp 2 cout << "Here is the vector v:" << endl << v << endl;
3 cout << "Here is v.tail(2):" << endl << v.tail(2) << endl;
5 cout << "Now the vector v is:" << endl << v << endl;
MatrixBase_isDiagonal.cpp 3 cout << "Here's the matrix m:" << endl << m << endl;
4 cout << "m.isDiagonal() returns: " << m.isDiagonal() << endl;
5 cout << "m.isDiagonal(1e-3) returns: " << m.isDiagonal(1e-3) << endl;
MatrixBase_isIdentity.cpp 3 cout << "Here's the matrix m:" << endl << m << endl;
4 cout << "m.isIdentity() returns: " << m.isIdentity() << endl;
5 cout << "m.isIdentity(1e-3) returns: " << m.isIdentity(1e-3) << endl;
MatrixBase_isOnes.cpp 3 cout << "Here's the matrix m:" << endl << m << endl;
4 cout << "m.isOnes() returns: " << m.isOnes() << endl;
5 cout << "m.isOnes(1e-3) returns: " << m.isOnes(1e-3) << endl;
MatrixBase_isUnitary.cpp 3 cout << "Here's the matrix m:" << endl << m << endl;
4 cout << "m.isUnitary() returns: " << m.isUnitary() << endl;
5 cout << "m.isUnitary(1e-3) returns: " << m.isUnitary(1e-3) << endl;
MatrixBase_isZero.cpp 3 cout << "Here's the matrix m:" << endl << m << endl;
4 cout << "m.isZero() returns: " << m.isZero() << endl;
5 cout << "m.isZero(1e-3) returns: " << m.isZero(1e-3) << endl;
MatrixBase_rowwise.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;
4 cout << "Here is the maximum absolute value of each row:"
MatrixBase_segment_int_int.cpp 2 cout << "Here is the vector v:" << endl << v << endl;
3 cout << "Here is v.segment(1, 2):" << endl << v.segment(1, 2) << endl;
5 cout << "Now the vector v is:" << endl << v << endl;
MatrixBase_set.cpp 5 cout << m1 << endl << endl;
8 cout << m2 << endl << endl;
13 cout << m2 << endl;
MatrixBase_start_int.cpp 2 cout << "Here is the vector v:" << endl << v << endl;
3 cout << "Here is v.head(2):" << endl << v.head(2) << endl;
5 cout << "Now the vector v is:" << endl << v << endl;
MatrixBase_template_int_end.cpp 2 cout << "Here is the vector v:" << endl << v << endl;
3 cout << "Here is v.tail(2):" << endl << v.tail<2>() << endl;
5 cout << "Now the vector v is:" << endl << v << endl;
MatrixBase_template_int_segment.cpp 2 cout << "Here is the vector v:" << endl << v << endl;
3 cout << "Here is v.segment<2>(1):" << endl << v.segment<2>(1) << endl;
5 cout << "Now the vector v is:" << endl << v << endl;
MatrixBase_template_int_start.cpp 2 cout << "Here is the vector v:" << endl << v << endl;
3 cout << "Here is v.head(2):" << endl << v.head<2>() << endl;
5 cout << "Now the vector v is:" << endl << v << endl;
SelfAdjointEigenSolver_operatorSqrt.cpp 3 cout << "Here is a random positive-definite matrix, A:" << endl << A << endl << endl;
7 cout << "The square root of A is: " << endl << sqrtA << endl;
8 cout << "If we square this, we get: " << endl << sqrtA*sqrtA << endl;
Tutorial_AdvancedInitialization_Join.cpp 3 std::cout << "vec1 = " << vec1 << std::endl;
7 std::cout << "vec2 = " << vec2 << std::endl;
11 std::cout << "joined = " << joined << std::endl;
Tutorial_Map_rowmajor.cpp 3 cout << "Column-major:\n" << Map<Matrix<int,2,4> >(array) << endl;
4 cout << "Row-major:\n" << Map<Matrix<int,2,4,RowMajor> >(array) << endl;
5 cout << "Row-major using stride:\n" <<
Tutorial_solve_singular.cpp 5 cout << "Here is the matrix A:" << endl << A << endl;
6 cout << "Here is the vector b:" << endl << b << endl;
9 cout << "The solution is:" << endl << x << endl;
Tutorial_solve_triangular.cpp 5 cout << "Here is the matrix A:" << endl << A << endl;
6 cout << "Here is the vector b:" << endl << b << endl;
8 cout << "The solution is:" << endl << x << endl;

Completed in 1409 milliseconds

1 2 3 4 5 67 8 91011>>