Searched refs:m3 (Results 1 - 25 of 164) sorted by relevance

1234567

/external/eigen/test/
H A Dcommainitializer.cpp14 Matrix3d m3; local
17 VERIFY_RAISES_ASSERT( (m3 << 1, 2, 3, 4, 5, 6, 7, 8) );
20 VERIFY_RAISES_ASSERT( (m3 << 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) );
26 m3 = Matrix3d::Random();
27 m3 << 1, 2, 3, 4, 5, 6, 7, 8, 9;
28 VERIFY_IS_APPROX(m3, ref );
34 m3 = Matrix3d::Random();
35 m3 << vec[0], vec[1], vec[2];
36 VERIFY_IS_APPROX(m3, ref);
41 m3
[all...]
H A Dselfadjoint.cpp24 m3(rows, cols);
29 m3 = m1.template selfadjointView<Upper>();
30 VERIFY_IS_APPROX(MatrixType(m3.template triangularView<Upper>()), MatrixType(m1.template triangularView<Upper>()));
31 VERIFY_IS_APPROX(m3, m3.adjoint());
34 m3 = m1.template selfadjointView<Lower>();
35 VERIFY_IS_APPROX(MatrixType(m3.template triangularView<Lower>()), MatrixType(m1.template triangularView<Lower>()));
36 VERIFY_IS_APPROX(m3, m3.adjoint());
H A Dproduct_trmv.cpp25 m3(rows, cols);
33 m3 = m1.template triangularView<Eigen::Lower>();
34 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::Lower>() * v1, largerEps));
35 m3 = m1.template triangularView<Eigen::Upper>();
36 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::Upper>() * v1, largerEps));
37 m3 = m1.template triangularView<Eigen::UnitLower>();
38 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::UnitLower>() * v1, largerEps));
39 m3 = m1.template triangularView<Eigen::UnitUpper>();
40 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::UnitUpper>() * v1, largerEps));
43 m3
[all...]
H A Dproduct_notemporary.cpp46 m3(rows, cols);
60 VERIFY_EVALUATION_COUNT( m3 = (m1 * m2.adjoint()), 1);
61 VERIFY_EVALUATION_COUNT( m3.noalias() = m1 * m2.adjoint(), 0);
63 VERIFY_EVALUATION_COUNT( m3.noalias() = s1 * (m1 * m2.transpose()), 0);
65 VERIFY_EVALUATION_COUNT( m3.noalias() = s1 * m1 * s2 * m2.adjoint(), 0);
66 VERIFY_EVALUATION_COUNT( m3.noalias() = s1 * m1 * s2 * (m1*s3+m2*s2).adjoint(), 1);
67 VERIFY_EVALUATION_COUNT( m3.noalias() = (s1 * m1).adjoint() * s2 * m2, 0);
68 VERIFY_EVALUATION_COUNT( m3.noalias() += s1 * (-m1*s3).adjoint() * (s2 * m2 * s3), 0);
69 VERIFY_EVALUATION_COUNT( m3.noalias() -= s1 * (m1.transpose() * m2), 0);
71 VERIFY_EVALUATION_COUNT(( m3
[all...]
H A Dcwiseop.cpp33 cwiseops_real_only(MatrixType& m1, MatrixType& m2, MatrixType& m3, MatrixType& mones) argument
39 m3 = m1.cwise().abs().cwise().sqrt();
40 VERIFY_IS_APPROX(m3.cwise().square(), m1.cwise().abs());
45 m3 = (m1.cwise().abs().cwise()<=RealScalar(0.01)).select(mones,m1);
46 VERIFY_IS_APPROX(m3.cwise().pow(-1), m3.cwise().inverse());
47 m3 = m1.cwise().abs();
48 VERIFY_IS_APPROX(m3.cwise().pow(RealScalar(0.5)), m3.cwise().sqrt());
52 m3
[all...]
H A Dtriangular.cpp27 m3(rows, cols),
55 m3 = m2.transpose() + m2;
56 VERIFY_IS_APPROX(m3.template triangularView<Lower>().transpose().toDenseMatrix(), m1);
61 VERIFY_IS_APPROX(m3.template triangularView<Lower>().toDenseMatrix(), m1);
63 VERIFY_IS_APPROX(m3.template triangularView<Lower>().conjugate().toDenseMatrix(),
64 m3.conjugate().template triangularView<Lower>().toDenseMatrix());
72 m3 = m1.template triangularView<Upper>();
73 VERIFY(v2.isApprox(m3.adjoint() * (m1.adjoint().template triangularView<Lower>().solve(v2)), largerEps));
74 m3 = m1.template triangularView<Lower>();
75 VERIFY(v2.isApprox(m3
[all...]
H A Dlinearstructure.cpp28 m3(rows, cols);
43 m3 = m2; m3 += m1;
44 VERIFY_IS_APPROX(m3, m1+m2);
45 m3 = m2; m3 -= m1;
46 VERIFY_IS_APPROX(m3, m2-m1);
47 m3 = m2; m3 *= s1;
48 VERIFY_IS_APPROX(m3, s
[all...]
/external/eigen/test/eigen2/
H A Deigen2_commainitializer.cpp14 Matrix3d m3; local
17 VERIFY_RAISES_ASSERT( (m3 << 1, 2, 3, 4, 5, 6, 7, 8) );
20 VERIFY_RAISES_ASSERT( (m3 << 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) );
26 m3 = Matrix3d::Random();
27 m3 << 1, 2, 3, 4, 5, 6, 7, 8, 9;
28 VERIFY_IS_APPROX(m3, ref );
34 m3 = Matrix3d::Random();
35 m3 << vec[0], vec[1], vec[2];
36 VERIFY_IS_APPROX(m3, ref);
41 m3
[all...]
H A Deigen2_triangular.cpp25 m3(rows, cols),
61 m3 = m2.transpose() * m2;
62 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>().transpose(), m1);
67 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>(), m1);
69 VERIFY_IS_APPROX(m3.template part<Diagonal>(), m3.diagonal().asDiagonal());
77 m3 = m1.template part<Eigen::LowerTriangular>();
78 VERIFY(m3.template marked<Eigen::LowerTriangular>().solveTriangular(m3).cwise().abs().isIdentity(test_precision<RealScalar>()));
79 VERIFY(m3
132 Matrix2i m3 = Matrix2i::Zero(); local
[all...]
H A Deigen2_swap.cpp37 OtherMatrixType m3 = OtherMatrixType::Random(rows,cols) + Scalar(200) * OtherMatrixType::Identity(rows,cols); local
41 OtherMatrixType m3_copy = m3;
51 m1.swap(m3);
53 VERIFY_IS_APPROX(m3,m1_copy);
55 m3 = m3_copy;
65 m1.transpose().swap(m3.transpose());
67 VERIFY_IS_APPROX(m3,m1_copy);
69 m3 = m3_copy;
H A Deigen2_cwiseop.cpp33 m3(rows, cols),
52 m3 = MatrixType::Constant(rows, cols, s1);
58 VERIFY_IS_APPROX(m3(i,j), s1);
62 VERIFY(m3.isConstant(s1));
64 VERIFY_IS_APPROX(m4.setConstant(s1), m3);
65 VERIFY_IS_APPROX(m4.setConstant(rows,cols,s1), m3);
71 VERIFY_IS_APPROX(m4, m3);
85 m3 = m1; m3.cwise() += 1;
86 VERIFY_IS_APPROX(m1 + mones, m3);
[all...]
H A Deigen2_linearstructure.cpp28 m3(rows, cols),
44 m3 = m2; m3 += m1;
45 VERIFY_IS_APPROX(m3, m1+m2);
46 m3 = m2; m3 -= m1;
47 VERIFY_IS_APPROX(m3, m2-m1);
48 m3 = m2; m3 *= s1;
49 VERIFY_IS_APPROX(m3, s
[all...]
H A Deigen2_sparse_product.cpp30 SparseMatrixType m3(rows, rows);
33 initSparse<Scalar>(density, refMat3, m3);
35 VERIFY_IS_APPROX(m4=m2*m3, refMat4=refMat2*refMat3);
36 VERIFY_IS_APPROX(m4=m2.transpose()*m3, refMat4=refMat2.transpose()*refMat3);
37 VERIFY_IS_APPROX(m4=m2.transpose()*m3.transpose(), refMat4=refMat2.transpose()*refMat3.transpose());
38 VERIFY_IS_APPROX(m4=m2*m3.transpose(), refMat4=refMat2*refMat3.transpose());
47 VERIFY_IS_APPROX(dm4=refMat2*m3, refMat4=refMat2*refMat3);
48 VERIFY_IS_APPROX(dm4=refMat2*m3.transpose(), refMat4=refMat2*refMat3.transpose());
49 VERIFY_IS_APPROX(dm4=refMat2.transpose()*m3, refMat4=refMat2.transpose()*refMat3);
50 VERIFY_IS_APPROX(dm4=refMat2.transpose()*m3
[all...]
/external/eigen/doc/examples/
H A DTutorial_simple_example_fixed_size.cpp8 Matrix3f m3; local
9 m3 << 1, 2, 3, 4, 5, 6, 7, 8, 9;
13 std::cout << "m3\n" << m3 << "\nm4:\n"
/external/eigen/doc/
H A Dtutorial.cpp8 Eigen::Matrix3f m3 = Eigen::Matrix3f::Random(); local
11 std::cout << "*** Step 1 ***\nm3:\n" << m3 << "\nm4:\n" << m4 << std::endl;
15 m3.diagonal().setOnes();
17 std::cout << "*** Step 2 ***\nm3:\n" << m3 << "\nm4:\n" << m4 << std::endl;
20 m4.block<3,3>(0,1) = m3;
21 m3.row(2) = m4.block<1,3>(2,0);
23 std::cout << "*** Step 3 ***\nm3:\n" << m3 << "\nm4:\n" << m4 << std::endl;
39 m3 = m3.cwise().cos();
40 std::cout << "*** Step 6 ***\nm3:\n" << m3 << "\nm
[all...]
/external/libcxx/test/diagnostics/syserr/syserr.errcat/syserr.errcat.derived/
H A Dmessage.pass.cpp28 std::string m3 = e_cat2.message(6); local
31 assert(!m3.empty());
33 assert(m1 != m3);
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/x86/
H A Dvp9_dct_mmx.asm17 psubw m3, m2
18 psubw m4, m3
24 paddw m3, m5
28 SWAP 3, 5 ; m3 b1
36 punpcklwd m5, m3
37 punpckhwd m2, m3
39 movq m3, m0
42 punpckldq m3, m2
53 movq m3, [r3q + strideq*2] ;d1
63 psllw m3,
[all...]
/external/eigen/bench/
H A Dsparse_transpose.cpp52 DenseMatrix m1(rows,cols), m3(rows,cols);
54 BENCH(for (int k=0; k<REPEAT; ++k) m3 = m1.transpose();)
70 cs *m1, *m3; local
73 BENCH(for (int k=0; k<REPEAT; ++k) { m3 = cs_transpose(m1,1); cs_spfree(m3);})
82 GmmSparse m1(rows,cols), m3(rows,cols);
84 BENCH(for (int k=0; k<REPEAT; ++k) gmm::copy(gmm::transposed(m1),m3);)
92 MtlSparse m1(rows,cols), m3(rows,cols);
94 BENCH(for (int k=0; k<REPEAT; ++k) m3 = trans(m1);)
/external/libcxx/test/containers/associative/map/map.cons/
H A Dmove_assign.pass.cpp60 M m3(C(3), A(7));
61 m3 = std::move(m1);
62 assert(m3 == m2);
63 assert(m3.get_allocator() == A(7));
64 assert(m3.key_comp() == C(5));
100 M m3(C(3), A(5));
101 m3 = std::move(m1);
102 assert(m3 == m2);
103 assert(m3.get_allocator() == A(5));
104 assert(m3
[all...]
/external/libcxx/test/containers/associative/multimap/multimap.cons/
H A Dmove_assign.pass.cpp60 M m3(C(3), A(7));
61 m3 = std::move(m1);
62 assert(m3 == m2);
63 assert(m3.get_allocator() == A(7));
64 assert(m3.key_comp() == C(5));
100 M m3(C(3), A(5));
101 m3 = std::move(m1);
102 assert(m3 == m2);
103 assert(m3.get_allocator() == A(5));
104 assert(m3
[all...]
/external/libcxx/test/containers/associative/multiset/multiset.cons/
H A Dmove_assign.pass.cpp59 M m3(C(3), A(7));
60 m3 = std::move(m1);
61 assert(m3 == m2);
62 assert(m3.get_allocator() == A(7));
63 assert(m3.key_comp() == C(5));
98 M m3(C(3), A(5));
99 m3 = std::move(m1);
100 assert(m3 == m2);
101 assert(m3.get_allocator() == A(5));
102 assert(m3
[all...]
H A Dmove_alloc.pass.cpp58 M m3(std::move(m1), A(7));
59 assert(m3 == m2);
60 assert(m3.get_allocator() == A(7));
61 assert(m3.key_comp() == C(5));
96 M m3(std::move(m1), A(5));
97 assert(m3 == m2);
98 assert(m3.get_allocator() == A(5));
99 assert(m3.key_comp() == C(5));
134 M m3(std::move(m1), A(5));
135 assert(m3
[all...]
/external/libcxx/test/containers/associative/set/set.cons/
H A Dmove_assign.pass.cpp59 M m3(C(3), A(7));
60 m3 = std::move(m1);
61 assert(m3 == m2);
62 assert(m3.get_allocator() == A(7));
63 assert(m3.key_comp() == C(5));
98 M m3(C(3), A(5));
99 m3 = std::move(m1);
100 assert(m3 == m2);
101 assert(m3.get_allocator() == A(5));
102 assert(m3
[all...]
H A Dmove_alloc.pass.cpp58 M m3(std::move(m1), A(7));
59 assert(m3 == m2);
60 assert(m3.get_allocator() == A(7));
61 assert(m3.key_comp() == C(5));
96 M m3(std::move(m1), A(5));
97 assert(m3 == m2);
98 assert(m3.get_allocator() == A(5));
99 assert(m3.key_comp() == C(5));
134 M m3(std::move(m1), A(5));
135 assert(m3
[all...]
/external/valgrind/main/none/tests/s390x/
H A Dopcodes.h41 #define RIS_RURDI(op1,r1,m3,b4,d4,i2,op2) \
42 ".short 0x" #op1 #r1 #m3 "\n\t" \
44 #define RIE_RUPI(op1,r1,m3,i4,i2,op2) \
45 ".short 0x" #op1 #r1 #m3 "\n\t" \
47 #define RRS(op1,r1,r2,b4,d4,m3,u0,op2) \
49 ".long 0x" #b4 #d4 #m3 #u0 #op2 "\n\t"
50 #define RIE_RRPU(op1,r1,r2,i4,m3,u0,op2) \
52 ".long 0x" #i4 #m3 #u0 #op2 "\n\t"
59 #define RIS_RURDU(op1,r1,m3,b4,d4,i2,op2) \
60 ".short 0x" #op1 #r1 #m3 "\
[all...]

Completed in 243 milliseconds

1234567