OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:endl
(Results
101 - 125
of
897
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/eigen/doc/snippets/
MatrixBase_template_int_leftCols.cpp
2
cout << "Here is the array a:" <<
endl
<< a <<
endl
;
variable
3
cout << "Here is a.leftCols<2>():" <<
endl
;
variable
4
cout << a.leftCols<2>() <<
endl
;
6
cout << "Now the array a is:" <<
endl
<< a <<
endl
;
variable
MatrixBase_template_int_rightCols.cpp
2
cout << "Here is the array a:" <<
endl
<< a <<
endl
;
variable
3
cout << "Here is a.rightCols<2>():" <<
endl
;
variable
4
cout << a.rightCols<2>() <<
endl
;
6
cout << "Now the array a is:" <<
endl
<< a <<
endl
;
variable
MatrixBase_template_int_segment.cpp
2
cout << "Here is the vector v:" <<
endl
<< v <<
endl
;
variable
3
cout << "Here is v.segment<2>(1):" <<
endl
<< v.segment<2>(1) <<
endl
;
5
cout << "Now the vector v is:" <<
endl
<< v <<
endl
;
variable
MatrixBase_template_int_start.cpp
2
cout << "Here is the vector v:" <<
endl
<< v <<
endl
;
variable
3
cout << "Here is v.head(2):" <<
endl
<< v.head<2>() <<
endl
;
5
cout << "Now the vector v is:" <<
endl
<< v <<
endl
;
variable
MatrixBase_template_int_topRows.cpp
2
cout << "Here is the array a:" <<
endl
<< a <<
endl
;
variable
3
cout << "Here is a.topRows<2>():" <<
endl
;
variable
4
cout << a.topRows<2>() <<
endl
;
6
cout << "Now the array a is:" <<
endl
<< a <<
endl
;
variable
MatrixBase_topLeftCorner_int_int.cpp
2
cout << "Here is the matrix m:" <<
endl
<< m <<
endl
;
variable
3
cout << "Here is m.topLeftCorner(2, 2):" <<
endl
;
variable
4
cout << m.topLeftCorner(2, 2) <<
endl
;
6
cout << "Now the matrix m is:" <<
endl
<< m <<
endl
;
variable
MatrixBase_topRightCorner_int_int.cpp
2
cout << "Here is the matrix m:" <<
endl
<< m <<
endl
;
variable
3
cout << "Here is m.topRightCorner(2, 2):" <<
endl
;
variable
4
cout << m.topRightCorner(2, 2) <<
endl
;
6
cout << "Now the matrix m is:" <<
endl
<< m <<
endl
;
variable
MatrixBase_topRows_int.cpp
2
cout << "Here is the array a:" <<
endl
<< a <<
endl
;
variable
3
cout << "Here is a.topRows(2):" <<
endl
;
variable
4
cout << a.topRows(2) <<
endl
;
6
cout << "Now the array a is:" <<
endl
<< a <<
endl
;
variable
MatrixBase_transpose.cpp
2
cout << "Here is the matrix m:" <<
endl
<< m <<
endl
;
variable
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
5
<< m.transpose()(1,0) <<
endl
;
6
cout << "Let us overwrite this coefficient with the value 0." <<
endl
;
variable
8
cout << "Now the matrix m is:" <<
endl
<< m <<
endl
;
variable
MatrixBase_triangularView.cpp
2
cout << "Here is the matrix m:" <<
endl
<< m <<
endl
;
variable
3
cout << "Here is the upper-triangular matrix extracted from m:" <<
endl
4
<< Matrix3i(m.triangularView<Eigen::Upper>()) <<
endl
;
5
cout << "Here is the strictly-upper-triangular matrix extracted from m:" <<
endl
6
<< Matrix3i(m.triangularView<Eigen::StrictlyUpper>()) <<
endl
;
7
cout << "Here is the unit-lower-triangular matrix extracted from m:" <<
endl
8
<< Matrix3i(m.triangularView<Eigen::UnitLower>()) <<
endl
;
Matrix_setConstant_int.cpp
3
cout << v <<
endl
;
variable
Matrix_setConstant_int_int.cpp
3
cout << m <<
endl
;
variable
Matrix_setIdentity_int_int.cpp
3
cout << m <<
endl
;
variable
Matrix_setOnes_int.cpp
3
cout << v <<
endl
;
variable
Matrix_setOnes_int_int.cpp
3
cout << m <<
endl
;
variable
Matrix_setRandom_int.cpp
3
cout << v <<
endl
;
variable
Matrix_setRandom_int_int.cpp
3
cout << m <<
endl
;
variable
Matrix_setZero_int.cpp
3
cout << v <<
endl
;
variable
Matrix_setZero_int_int.cpp
3
cout << m <<
endl
;
variable
PartialRedux_maxCoeff.cpp
2
cout << "Here is the matrix m:" <<
endl
<< m <<
endl
;
variable
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
;
variable
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
;
variable
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
;
variable
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
;
variable
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
;
variable
3
cout << "Here is the sum of each row:" <<
endl
<< m.rowwise().sum() <<
endl
;
Completed in 132 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>