/external/eigen/doc/snippets/ |
DenseBase_LinSpaced.cpp | 1 cout << VectorXi::LinSpaced(4,7,10).transpose() << endl; 2 cout << VectorXd::LinSpaced(5,0.0,1.0).transpose() << endl;
|
DenseBase_LinSpacedInt.cpp | 2 cout << VectorXi::LinSpaced(8,1,4).transpose() << endl; 3 cout << VectorXi::LinSpaced(8,1,8).transpose() << endl; 4 cout << VectorXi::LinSpaced(8,1,15).transpose() << endl; 6 cout << VectorXi::LinSpaced(8,1,7).transpose() << endl; 7 cout << VectorXi::LinSpaced(8,1,9).transpose() << endl; 8 cout << VectorXi::LinSpaced(8,1,16).transpose() << endl;
|
DenseBase_LinSpaced_seq.cpp | 1 cout << VectorXi::LinSpaced(Sequential,4,7,10).transpose() << endl; 2 cout << VectorXd::LinSpaced(Sequential,5,0.0,1.0).transpose() << endl;
|
MatrixBase_hnormalized.cpp | 3 cout << "v = " << v.transpose() << "]^T" << endl; 4 cout << "v.hnormalized() = " << v.hnormalized().transpose() << "]^T" << endl; 5 cout << "P*v = " << (P*v).transpose() << "]^T" << endl; 6 cout << "(P*v).hnormalized() = " << (P*v).hnormalized().transpose() << "]^T" << endl
|
MatrixBase_homogeneous.cpp | 3 cout << "v = [" << v.transpose() << "]^T" << endl; 4 cout << "h.homogeneous() = [" << v.homogeneous().transpose() << "]^T" << endl; 5 cout << "(P * v.homogeneous()) = [" << (P * v.homogeneous()).transpose() << "]^T" << endl; 6 cout << "(P * v.homogeneous()).hnormalized() = [" << (P * v.homogeneous()).eval().hnormalized().transpose() << "]^T" << endl
|
LeastSquaresNormalEquations.cpp | 4 << (A.transpose() * A).ldlt().solve(A.transpose() * b) << endl;
|
MatrixBase_diagonal_int.cpp | 4 << m.diagonal(1).transpose() << endl 5 << m.diagonal(-2).transpose() << endl;
|
MatrixBase_diagonal_template_int.cpp | 4 << m.diagonal<1>().transpose() << endl 5 << m.diagonal<-2>().transpose() << endl;
|
GeneralizedEigenSolver.cpp | 5 cout << "The (complex) numerators of the generalzied eigenvalues are: " << ges.alphas().transpose() << endl; 6 cout << "The (real) denominatore of the generalzied eigenvalues are: " << ges.betas().transpose() << endl; 7 cout << "The (complex) generalzied eigenvalues are (alphas./beta): " << ges.eigenvalues().transpose() << endl;
|
MatrixBase_transpose.cpp | 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; 7 m.transpose()(1,0) = 0;
|
SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp | 3 Matrix4f A = X + X.transpose(); 5 cout << "The eigenvalues of A are: " << es.eigenvalues().transpose() << endl; 7 cout << "The eigenvalues of A+I are: " << es.eigenvalues().transpose() << endl;
|
SelfAdjointEigenSolver_compute_MatrixType.cpp | 3 MatrixXf A = X + X.transpose(); 5 cout << "The eigenvalues of A are: " << es.eigenvalues().transpose() << endl; 7 cout << "The eigenvalues of A+I are: " << es.eigenvalues().transpose() << endl;
|
tut_arithmetic_transpose_aliasing.cpp | 4 a = a.transpose(); // !!! do NOT do this !!!
|
EigenSolver_compute.cpp | 4 cout << "The eigenvalues of A are: " << es.eigenvalues().transpose() << endl; 6 cout << "The eigenvalues of A+I are: " << es.eigenvalues().transpose() << endl;
|
tut_arithmetic_transpose_conjugate.cpp | 4 cout << "Here is the matrix a^T\n" << a.transpose() << endl;
|
SelfAdjointEigenSolver_compute_MatrixType2.cpp | 2 MatrixXd A = X * X.transpose(); 4 MatrixXd B = X * X.transpose();
|
/external/guava/guava-tests/test/com/google/common/collect/ |
TransposedTableTest.java | 22 * Test cases for {@link Tables#transpose}. 32 Table<String, Integer, Character> table = Tables.transpose(original); 40 assertSame(original, Tables.transpose(Tables.transpose(original))); 45 Table<String, Integer, Character> transpose = Tables.transpose(original); local 47 assertEquals((Character) 'a', transpose.get("foo", 1)); 52 Table<String, Integer, Character> transpose = Tables.transpose(original); local 53 transpose.put("foo", 1, 'a') 59 Table<String, Integer, Character> transpose = Tables.transpose(original); local [all...] |
/external/eigen/failtest/ |
const_qualified_transpose_method_retval.cpp | 12 Transpose<Matrix3d> b(m.transpose());
|
sparse_ref_4.cpp | 11 call_ref(A.transpose());
|
ref_4.cpp | 11 call_ref(A.transpose());
|
/external/eigen/test/ |
product.h | 59 // (we use Transpose.h but this doesn't count as a test for it) 60 VERIFY_IS_APPROX((m1*m1.transpose())*m2, m1*(m1.transpose()*m2)); 62 m3 *= m1.transpose() * m2; 63 VERIFY_IS_APPROX(m3, m1 * (m1.transpose()*m2)); 64 VERIFY_IS_APPROX(m3, m1 * (m1.transpose()*m2)); 76 VERIFY_IS_APPROX(v1.transpose(), v1.transpose() * identity); 87 VERIFY(areNotApprox(m1.transpose()*m2,m2.transpose()*m1)) [all...] |
sparse_product.cpp | 81 VERIFY_IS_APPROX(m4=m2t.transpose()*m3, refMat4=refMat2t.transpose()*refMat3); 82 VERIFY_IS_APPROX(m4=m2t.transpose()*m3t.transpose(), refMat4=refMat2t.transpose()*refMat3t.transpose()); 83 VERIFY_IS_APPROX(m4=m2*m3t.transpose(), refMat4=refMat2*refMat3t.transpose()); 93 VERIFY_IS_APPROX(m4=(m2t.transpose()*m3).pruned(0), refMat4=refMat2t.transpose()*refMat3) [all...] |
/external/eigen/doc/examples/ |
tut_arithmetic_matrix_mul.cpp | 13 std::cout << "Here is u^T*mat:\n" << u.transpose()*mat << std::endl; 14 std::cout << "Here is u^T*v:\n" << u.transpose()*v << std::endl; 15 std::cout << "Here is u*v^T:\n" << u*v.transpose() << std::endl;
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
FocusLogicTest.java | 57 int[][] map = transpose(new int[][] { 70 int[][] map = transpose(new int[][] { 84 int[][] map = transpose(new int[][] { 95 map = transpose(new int[][] { 110 int[][] map = transpose(new int[][] { 122 map = transpose(new int[][] { 134 map = transpose(new int[][] { 146 map = transpose(new int[][] { 157 map = transpose(new int[][] { 167 map = transpose(new int[][] 246 private int[][] transpose(int[][] m) { method in class:FocusLogicTest [all...] |
/external/eigen/unsupported/doc/examples/ |
PolynomialSolver1.cpp | 13 cout << "Roots: " << roots.transpose() << endl; 18 cout << "Complex roots: " << psolve.roots().transpose() << endl; 23 cout << "Real roots: " << mapRR.transpose() << endl; 31 cout << "Hard case polynomial defined by floats: " << hardCase_polynomial.transpose() << endl; 33 cout << "Complex roots: " << psolvef.roots().transpose() << endl; 36 cout << "Norms of the evaluations of the polynomial at the roots: " << evals.transpose() << endl << endl; 41 cout << "Complex roots: " << psolve6d.roots().transpose() << endl; 47 cout << "Norms of the evaluations of the polynomial at the roots: " << evals.transpose() << endl << endl;
|