OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cout
(Results
26 - 50
of
687
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/eigen/doc/snippets/
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;
LLT_example.cpp
3
cout
<< "The matrix A is" << endl << A << endl;
9
cout
<< "The Cholesky factor L is" << endl << L << endl;
10
cout
<< "To check this, let us compute L * L.transpose()" << endl;
11
cout
<< L * L.transpose() << endl;
12
cout
<< "This should equal the matrix A" << endl;
MatrixBase_reverse.cpp
2
cout
<< "Here is the matrix m:" << endl << m << endl;
3
cout
<< "Here is the reverse of m:" << endl << m.reverse() << endl;
4
cout
<< "Here is the coefficient (1,0) in the reverse of m:" << endl
6
cout
<< "Let us overwrite this coefficient with the value 4." << endl;
8
cout
<< "Now the matrix m is:" << endl << m << endl;
MatrixBase_transpose.cpp
2
cout
<< "Here is the matrix m:" << endl << m << endl;
3
cout
<< "Here is the transpose of m:" << endl << m.transpose() << endl;
4
cout
<< "Here is the coefficient (1,0) in the transpose of m:" << endl
6
cout
<< "Let us overwrite this coefficient with the value 0." << endl;
8
cout
<< "Now the matrix m is:" << endl << m << endl;
Matrix_resize_int_int.cpp
3
cout
<< "here's the 2x3 matrix m:" << endl << m << endl;
4
cout
<< "let's resize m to 3x2. This is a conservative resizing because 2*3==3*2." << endl;
6
cout
<< "here's the 3x2 matrix m:" << endl << m << endl;
7
cout
<< "now let's resize m to size 2x2. This is NOT a conservative resizing, so it becomes uninitialized:" << endl;
9
cout
<< m << endl;
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;
DirectionWise_replicate.cpp
2
cout
<< "Here is the matrix m:" << endl << m << endl;
3
cout
<< "m.colwise().replicate<3>() = ..." << endl;
4
cout
<< m.colwise().replicate<3>() << endl;
DirectionWise_replicate_int.cpp
2
cout
<< "Here is the vector v:" << endl << v << endl;
3
cout
<< "v.rowwise().replicate(5) = ..." << endl;
4
cout
<< v.rowwise().replicate(5) << endl;
FullPivLU_image.cpp
5
cout
<< "Here is the matrix m:" << endl << m << endl;
6
cout
<< "Notice that the middle column is the sum of the two others, so the "
8
cout
<< "Here is a matrix whose columns have the same span but are linearly independent:"
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_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_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_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;
/external/stlport/test/eh/
locale.cpp
17
cout
.imbue(sys);
19
cout
<<"Locale name is: "<<sys.name().c_str()<<'\n';
21
cout
<<"Enter real number:";
24
cout
<<value<<'\n';
31
const numpunct<char>& num_punct=use_facet<numpunct<char> >(
cout
.getloc());
32
cout
<< num_punct.decimal_point() << '\n';
34
use_facet<time_put<char, ostreambuf_iterator<char, char_traits<char> > > >(
cout
.getloc());
35
time_fac.put(
cout
,
cout
, NULL, cur_time, 'x');
cout
<<'\n'
[
all
...]
/external/eigen/doc/examples/
Tutorial_ReductionsVisitorsBroadcasting_reductions_bool.cpp
14
cout
<< "(a > 0).all() = " << (a > 0).all() << endl;
15
cout
<< "(a > 0).any() = " << (a > 0).any() << endl;
16
cout
<< "(a > 0).count() = " << (a > 0).count() << endl;
17
cout
<< endl;
18
cout
<< "(a > 2).all() = " << (a > 2).all() << endl;
19
cout
<< "(a > 2).any() = " << (a > 2).any() << endl;
20
cout
<< "(a > 2).count() = " << (a > 2).count() << endl;
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;
TutorialLinAlgInverseDeterminant.cpp
13
cout
<< "Here is the matrix A:\n" << A << endl;
14
cout
<< "The determinant of A is " << A.determinant() << endl;
15
cout
<< "The inverse of A is:\n" << A.inverse() << endl;
Completed in 77 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>