/external/eigen/doc/snippets/ |
MatrixBase_ones_int_int.cpp | 1 cout << MatrixXi::Ones(2,3) << endl;
|
MatrixBase_ones.cpp | 1 cout << Matrix2d::Ones() << endl; 2 cout << 6 * RowVector4i::Ones() << endl;
|
MatrixBase_ones_int.cpp | 1 cout << 6 * RowVectorXi::Ones(4) << endl; 2 cout << VectorXf::Ones(2) << endl;
|
MatrixBase_operatorNorm.cpp | 1 MatrixXd ones = MatrixXd::Ones(3,3); variable 2 cout << "The operator norm of the 3x3 matrix of ones is " 3 << ones.operatorNorm() << endl;
|
SelfAdjointView_operatorNorm.cpp | 1 MatrixXd ones = MatrixXd::Ones(3,3); variable 2 cout << "The operator norm of the 3x3 matrix of ones is " 3 << ones.selfadjointView<Lower>().operatorNorm() << endl;
|
ComplexEigenSolver_eigenvalues.cpp | 1 MatrixXcf ones = MatrixXcf::Ones(3,3); variable 2 ComplexEigenSolver<MatrixXcf> ces(ones, /* computeEigenvectors = */ false); 3 cout << "The eigenvalues of the 3x3 matrix of ones are:"
|
ComplexEigenSolver_eigenvectors.cpp | 1 MatrixXcf ones = MatrixXcf::Ones(3,3); variable 2 ComplexEigenSolver<MatrixXcf> ces(ones); 3 cout << "The first eigenvector of the 3x3 matrix of ones is:"
|
EigenSolver_eigenvalues.cpp | 1 MatrixXd ones = MatrixXd::Ones(3,3); variable 2 EigenSolver<MatrixXd> es(ones, false); 3 cout << "The eigenvalues of the 3x3 matrix of ones are:"
|
EigenSolver_eigenvectors.cpp | 1 MatrixXd ones = MatrixXd::Ones(3,3); variable 2 EigenSolver<MatrixXd> es(ones); 3 cout << "The first eigenvector of the 3x3 matrix of ones is:"
|
MatrixBase_eigenvalues.cpp | 1 MatrixXd ones = MatrixXd::Ones(3,3); variable 2 VectorXcd eivals = ones.eigenvalues(); 3 cout << "The eigenvalues of the 3x3 matrix of ones are:" << endl << eivals << endl;
|
SelfAdjointEigenSolver_eigenvalues.cpp | 1 MatrixXd ones = MatrixXd::Ones(3,3); variable 2 SelfAdjointEigenSolver<MatrixXd> es(ones); 3 cout << "The eigenvalues of the 3x3 matrix of ones are:"
|
SelfAdjointEigenSolver_eigenvectors.cpp | 1 MatrixXd ones = MatrixXd::Ones(3,3); variable 2 SelfAdjointEigenSolver<MatrixXd> es(ones); 3 cout << "The first eigenvector of the 3x3 matrix of ones is:"
|
SelfAdjointView_eigenvalues.cpp | 1 MatrixXd ones = MatrixXd::Ones(3,3); variable 2 VectorXd eivals = ones.selfadjointView<Lower>().eigenvalues(); 3 cout << "The eigenvalues of the 3x3 matrix of ones are:" << endl << eivals << endl;
|
MatrixBase_isOnes.cpp | 1 Matrix3d m = Matrix3d::Ones();
|
MatrixBase_all.cpp | 1 Vector3f boxMin(Vector3f::Zero()), boxMax(Vector3f::Ones());
|
/external/eigen/bench/ |
benchmarkXcwise.cpp | 23 VECTYPE I = VECTYPE::Ones(VECSIZE); 31 m = VECTYPE::Ones(VECSIZE) + 0.00005 * (m.cwise().square() + m/4);
|
benchmark.cpp | 24 Matrix<SCALAR,MATSIZE,MATSIZE> I = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones(); 34 m = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones() + 0.00005 * (m + (m*m));
|
benchmarkX.cpp | 24 MATTYPE I = MATTYPE::Ones(MATSIZE,MATSIZE);
|
/external/ceres-solver/internal/ceres/ |
block_random_access_diagonal_matrix_test.cc | 83 Matrix::Ones(blocks[row_block_id], blocks[col_block_id]); 97 EXPECT_NEAR((dense.block(0, 0, 3, 3) - Matrix::Ones(3, 3)).norm(), 102 EXPECT_NEAR((dense.block(3, 3, 4, 4) - 2 * 2 * Matrix::Ones(4, 4)).norm(), 107 EXPECT_NEAR((dense.block(7, 7, 5, 5) - 3 * 3 * Matrix::Ones(5, 5)).norm(),
|
block_random_access_sparse_matrix_test.cc | 88 Matrix::Ones(blocks[row_block_id], blocks[col_block_id]); 101 EXPECT_NEAR((dense.block(0, 0, 3, 3) - Matrix::Ones(3, 3)).norm(), 105 EXPECT_NEAR((dense.block(3, 3, 4, 4) - 2 * 2 * Matrix::Ones(4, 4)).norm(), 109 EXPECT_NEAR((dense.block(3, 3 + 4, 4, 5) - 2 * 3 * Matrix::Ones(4, 5)).norm(), 113 EXPECT_NEAR((dense.block(3 + 4, 0, 5, 3) - 3 * 1 * Matrix::Ones(5, 3)).norm(),
|
/external/eigen/test/eigen2/ |
eigen2_miscmatrices.cpp | 15 DiagonalMatrix.h Ones.h 25 VERIFY_IS_APPROX(MatrixType::Ones(rows,cols)(r,c), static_cast<Scalar>(1)); 26 MatrixType m1 = MatrixType::Ones(rows,cols); 35 square.diagonal() = VectorType::Ones(rows);
|
eigen2_product_large.cpp | 26 VectorXf v = VectorXf::Ones(N); 27 MatrixXf m = MatrixXf::Ones(N,3);
|
/external/eigen/test/ |
miscmatrices.cpp | 15 DiagonalMatrix.h Ones.h 24 VERIFY_IS_APPROX(MatrixType::Ones(rows,cols)(r,c), static_cast<Scalar>(1)); 25 MatrixType m1 = MatrixType::Ones(rows,cols); 34 square.diagonal() = VectorType::Ones(rows);
|
/external/eigen/doc/examples/ |
TemplateKeyword_flexible.cpp | 15 MatrixXi m1 = MatrixXi::Ones(5,5);
|
TemplateKeyword_simple.cpp | 13 MatrixXf m1 = MatrixXf::Ones(4,4);
|