Home
last modified time | relevance | path

Searched refs:transpose (Results 1 – 25 of 748) sorted by relevance

12345678910>>...30

/external/eigen/test/
Dproduct.h60 VERIFY_IS_APPROX((m1*m1.transpose())*m2, m1*(m1.transpose()*m2)); in product()
62 m3 *= m1.transpose() * m2; in product()
63 VERIFY_IS_APPROX(m3, m1 * (m1.transpose()*m2)); in product()
64 VERIFY_IS_APPROX(m3, m1 * (m1.transpose()*m2)); in product()
76 VERIFY_IS_APPROX(v1.transpose(), v1.transpose() * identity); in product()
87 VERIFY(areNotApprox(m1.transpose()*m2,m2.transpose()*m1)); in product()
92 res.noalias() += m1 * m2.transpose(); in product()
93 VERIFY_IS_APPROX(res, square + m1 * m2.transpose()); in product()
96 VERIFY(areNotApprox(res,square + m2 * m1.transpose())); in product()
99 vcres.noalias() += m1.transpose() * v1; in product()
[all …]
Dsparse_product.cpp81 VERIFY_IS_APPROX(m4=m2t.transpose()*m3, refMat4=refMat2t.transpose()*refMat3); in sparse_product()
82 …VERIFY_IS_APPROX(m4=m2t.transpose()*m3t.transpose(), refMat4=refMat2t.transpose()*refMat3t.transpo… in sparse_product()
83 VERIFY_IS_APPROX(m4=m2*m3t.transpose(), refMat4=refMat2*refMat3t.transpose()); in sparse_product()
93 VERIFY_IS_APPROX(m4=(m2t.transpose()*m3).pruned(0), refMat4=refMat2t.transpose()*refMat3); in sparse_product()
94 …VERIFY_IS_APPROX(m4=(m2t.transpose()*m3t.transpose()).pruned(0), refMat4=refMat2t.transpose()*refM… in sparse_product()
95 VERIFY_IS_APPROX(m4=(m2*m3t.transpose()).pruned(0), refMat4=refMat2*refMat3t.transpose()); in sparse_product()
110 VERIFY_IS_EQUAL( (As*As.transpose()).eval().nonZeros(), 4); in sparse_product()
111 VERIFY_IS_EQUAL( (Ad*Ad.transpose()).eval().sparseView().eval().nonZeros(), 2); in sparse_product()
112 VERIFY_IS_EQUAL( (As*As.transpose()).pruned(1e-6).eval().nonZeros(), 2); in sparse_product()
119 VERIFY_IS_APPROX(dm4 =m2t.transpose()*m3, refMat4 =refMat2t.transpose()*refMat3); in sparse_product()
[all …]
Dsparse_ref.cpp80 VERIFY_EVALUATION_COUNT( call_ref_2(A.transpose(), A.transpose()), 1); in call_ref()
81 VERIFY_EVALUATION_COUNT( call_ref_3(A.transpose(), A.transpose()), 1); in call_ref()
88 VERIFY_EVALUATION_COUNT( call_ref_2(B.transpose(), B.transpose()), 0); in call_ref()
89 VERIFY_EVALUATION_COUNT( call_ref_3(B.transpose(), B.transpose()), 0); in call_ref()
102 VERIFY_EVALUATION_COUNT( call_ref_1(Br.transpose(), Br.transpose()), 0); in call_ref()
104 VERIFY_EVALUATION_COUNT( call_ref_2(Br.transpose(), Br.transpose()), 0); in call_ref()
114 VERIFY_EVALUATION_COUNT( call_ref_2(vr.transpose(), vr.transpose()), 0); in call_ref()
115 VERIFY_EVALUATION_COUNT( call_ref_2(vr, vr.transpose()), 0); in call_ref()
120 VERIFY_EVALUATION_COUNT( call_ref_4(vr, vr.transpose()), 0); in call_ref()
122 VERIFY_EVALUATION_COUNT( call_ref_5(vr, vr.transpose()), 0); in call_ref()
[all …]
Dvectorwiseop.cpp42 VERIFY_RAISES_ASSERT(m2.colwise() += colvec.transpose()); in vectorwiseop_array()
43 VERIFY_RAISES_ASSERT(m1.colwise() + colvec.transpose()); in vectorwiseop_array()
50 VERIFY_RAISES_ASSERT(m2.rowwise() += rowvec.transpose()); in vectorwiseop_array()
51 VERIFY_RAISES_ASSERT(m1.rowwise() + rowvec.transpose()); in vectorwiseop_array()
60 VERIFY_RAISES_ASSERT(m2.colwise() -= colvec.transpose()); in vectorwiseop_array()
61 VERIFY_RAISES_ASSERT(m1.colwise() - colvec.transpose()); in vectorwiseop_array()
68 VERIFY_RAISES_ASSERT(m2.rowwise() -= rowvec.transpose()); in vectorwiseop_array()
69 VERIFY_RAISES_ASSERT(m1.rowwise() - rowvec.transpose()); in vectorwiseop_array()
78 VERIFY_RAISES_ASSERT(m2.colwise() *= colvec.transpose()); in vectorwiseop_array()
79 VERIFY_RAISES_ASSERT(m1.colwise() * colvec.transpose()); in vectorwiseop_array()
[all …]
Dproduct_extra.cpp63 VERIFY_IS_APPROX((s1 * vc2.transpose()) * (-m1.adjoint() * s2), in product_extra()
64 (s1 * vc2.transpose()).eval() * (-m1.adjoint()*s2).eval()); in product_extra()
65 VERIFY_IS_APPROX((s1 * vc2.adjoint()) * (-m1.transpose() * s2), in product_extra()
66 (s1 * vc2.adjoint()).eval() * (-m1.transpose()*s2).eval()); in product_extra()
70 VERIFY_IS_APPROX((-m1.adjoint() * s2) * (s1 * v1.transpose()), in product_extra()
71 (-m1.adjoint()*s2).eval() * (s1 * v1.transpose()).eval()); in product_extra()
72 VERIFY_IS_APPROX((-m1.transpose() * s2) * (s1 * v1.adjoint()), in product_extra()
73 (-m1.transpose()*s2).eval() * (s1 * v1.adjoint()).eval()); in product_extra()
120 VERIFY_IS_APPROX(dNdxy.transpose()*dNdxy*det*wt, det*wt*dNdxy.transpose()*dNdxy); in mat_mat_scalar_scalar_product()
135 VERIFY_IS_APPROX( (res=a*a.transpose()), MatrixType::Zero(rows,rows) ); in zero_sized_objects()
[all …]
Devaluators.cpp116 VERIFY_IS_APPROX_EVALUATOR(w, v.transpose()); // Transpose as rvalue in test_evaluators()
117 VERIFY_IS_APPROX_EVALUATOR(w, v_const.transpose()); in test_evaluators()
119 copy_using_evaluator(w.transpose(), v); // Transpose as lvalue in test_evaluators()
120 VERIFY_IS_APPROX(w,v.transpose().eval()); in test_evaluators()
122 copy_using_evaluator(w.transpose(), v_const); in test_evaluators()
123 VERIFY_IS_APPROX(w,v_const.transpose().eval()); in test_evaluators()
132 VERIFY_IS_APPROX_EVALUATOR(b, a.transpose()); in test_evaluators()
134 VERIFY_IS_APPROX_EVALUATOR(b, a_const.transpose()); in test_evaluators()
145 VERIFY_IS_APPROX_EVALUATOR(w, Vector2d::Zero().transpose()); in test_evaluators()
157 VERIFY_IS_APPROX_EVALUATOR(d, (a + b).transpose()); in test_evaluators()
[all …]
Dgeo_homogeneous.cpp46 hm0 << m0, ones.transpose(); in homogeneous()
64 VERIFY_IS_APPROX((v0.transpose().rowwise().homogeneous().eval()) * t2, in homogeneous()
65 v0.transpose().rowwise().homogeneous() * t2); in homogeneous()
66 VERIFY_IS_APPROX((m0.transpose().rowwise().homogeneous().eval()) * t2, in homogeneous()
67 m0.transpose().rowwise().homogeneous() * t2); in homogeneous()
70 VERIFY_IS_APPROX((v0.transpose().rowwise().homogeneous().eval()) * t3, in homogeneous()
71 v0.transpose().rowwise().homogeneous() * t3); in homogeneous()
72 VERIFY_IS_APPROX((m0.transpose().rowwise().homogeneous().eval()) * t3, in homogeneous()
73 m0.transpose().rowwise().homogeneous() * t3); in homogeneous()
112 …VERIFY_IS_APPROX( (v0.transpose().homogeneous() .lazyProduct( t2 )).hnormalized(), (v0.transpose()… in homogeneous()
[all …]
Dadjoint.cpp96 VERIFY_IS_APPROX(m1.transpose().conjugate().adjoint(), m1); in adjoint()
97 VERIFY_IS_APPROX(m1.adjoint().conjugate().transpose(), m1); in adjoint()
120 VERIFY_IS_APPROX(m3,m1.transpose()); in adjoint()
130 … block<PacketSize,PacketSize>(i,j)), (m1.template block<PacketSize,PacketSize>(i,j).transpose()) ); in adjoint()
175 VERIFY_RAISES_ASSERT(a = a.transpose()); in test_adjoint()
176 VERIFY_RAISES_ASSERT(a = a.transpose() + b); in test_adjoint()
177 VERIFY_RAISES_ASSERT(a = b + a.transpose()); in test_adjoint()
178 VERIFY_RAISES_ASSERT(a = a.conjugate().transpose()); in test_adjoint()
184 a.transpose() = a.transpose(); in test_adjoint()
185 a.transpose() += a.transpose(); in test_adjoint()
[all …]
Dproduct_notemporary.cpp46 VERIFY_EVALUATION_COUNT( m3 = (m1 * m2.adjoint()).transpose(), 1); in product_notemporary()
49 VERIFY_EVALUATION_COUNT( m3 = s1 * (m1 * m2.transpose()), 1); in product_notemporary()
51 VERIFY_EVALUATION_COUNT( m3.noalias() = s1 * (m1 * m2.transpose()), 0); in product_notemporary()
56 VERIFY_EVALUATION_COUNT( m3 = m3 + (m1 * m2.adjoint()).transpose(), 1); in product_notemporary()
57 VERIFY_EVALUATION_COUNT( m3.noalias() = m3 + m1 * m2.transpose(), 0); in product_notemporary()
58 VERIFY_EVALUATION_COUNT( m3.noalias() += m3 + m1 * m2.transpose(), 0); in product_notemporary()
59 VERIFY_EVALUATION_COUNT( m3.noalias() -= m3 + m1 * m2.transpose(), 0); in product_notemporary()
60 VERIFY_EVALUATION_COUNT( m3.noalias() = m3 - m1 * m2.transpose(), 0); in product_notemporary()
61 VERIFY_EVALUATION_COUNT( m3.noalias() += m3 - m1 * m2.transpose(), 0); in product_notemporary()
62 VERIFY_EVALUATION_COUNT( m3.noalias() -= m3 - m1 * m2.transpose(), 0); in product_notemporary()
[all …]
Dproduct_trsolve.cpp23 (TRI).transpose().template solveInPlace<OnTheRight>(XB.transpose()); \
24 VERIFY_IS_APPROX((XB).transpose() * (TRI).transpose().toDenseMatrix(), ref.transpose()); \
26 (XB).transpose() = (TRI).transpose().template solve<OnTheRight>(XB.transpose()); \
27 VERIFY_IS_APPROX((XB).transpose() * (TRI).transpose().toDenseMatrix(), ref.transpose()); \
Dnesting_ops.cpp42 VERIFY_IS_APPROX( (m.transpose() * m).diagonal().sum(), (m.transpose() * m).diagonal().sum() ); in run_nesting_ops_1()
43 …VERIFY_IS_APPROX( (m.transpose() * m).diagonal().array().abs().sum(), (m.transpose() * m).diagonal… in run_nesting_ops_1()
45 …VERIFY_IS_APPROX( (m.transpose() * m).array().abs().sum(), (m.transpose() * m).array().abs().sum()… in run_nesting_ops_1()
83 VERIFY( verify_eval_type<1>(m1*m1.transpose(), m2) ); in run_nesting_ops_2()
84 VERIFY( verify_eval_type<1>(m1*(m1+m1).transpose(), m2) ); in run_nesting_ops_2()
85 VERIFY( verify_eval_type<2>(m1*m1.transpose(), m2) ); in run_nesting_ops_2()
Dproduct_trmv.cpp50 …VERIFY((m3.transpose() * v1).isApprox(m1.transpose().template triangularView<Eigen::Lower>() * v1,… in trmv()
52 …VERIFY((m3.transpose() * v1).isApprox(m1.transpose().template triangularView<Eigen::Upper>() * v1,… in trmv()
54 …VERIFY((m3.transpose() * v1).isApprox(m1.transpose().template triangularView<Eigen::UnitLower>() *… in trmv()
56 …VERIFY((m3.transpose() * v1).isApprox(m1.transpose().template triangularView<Eigen::UnitUpper>() *… in trmv()
67 …VERIFY((v1.transpose() * m3).isApprox(v1.transpose() * m1.template triangularView<Eigen::Lower>(),… in trmv()
Dproduct_syrk.cpp104 …((s1 * m1.row(c).transpose() * m1.row(c).transpose().adjoint()).eval().template triangularView<Low… in syrk()
107 …((s1 * m1.row(c).transpose() * m1.row(c).transpose().adjoint()).eval().template triangularView<Low… in syrk()
109 …PROX((m2.template triangularView<Lower>() += s1 * m3.row(c).transpose() * m1.row(c).transpose().ad… in syrk()
110 …((s1 * m3.row(c).transpose() * m1.row(c).transpose().adjoint()).eval().template triangularView<Low… in syrk()
112 …ROX((rm2.template triangularView<Lower>() += s1 * m3.row(c).transpose() * m1.row(c).transpose().ad… in syrk()
113 …((s1 * m3.row(c).transpose() * m1.row(c).transpose().adjoint()).eval().template triangularView<Low… in syrk()
/external/deqp-deps/glslang/Test/
Dhlsl.matType.int.frag25 int1x1 r00 = transpose(i1x1);
26 int1x2 r01 = transpose(i2x1);
27 int1x3 r02 = transpose(i3x1);
28 int1x4 r03 = transpose(i4x1);
30 int2x1 r10 = transpose(i1x2);
31 int2x2 r11 = transpose(i2x2);
32 int2x3 r12 = transpose(i3x2);
33 int2x4 r13 = transpose(i4x2);
35 int3x1 r20 = transpose(i1x3);
36 int3x2 r21 = transpose(i2x3);
[all …]
Dhlsl.matType.bool.frag25 bool1x1 r00 = transpose(b1x1);
26 bool1x2 r01 = transpose(b2x1);
27 bool1x3 r02 = transpose(b3x1);
28 bool1x4 r03 = transpose(b4x1);
30 bool2x1 r10 = transpose(b1x2);
31 bool2x2 r11 = transpose(b2x2);
32 bool2x3 r12 = transpose(b3x2);
33 bool2x4 r13 = transpose(b4x2);
35 bool3x1 r20 = transpose(b1x3);
36 bool3x2 r21 = transpose(b2x3);
[all …]
Dhlsl.matNx1.frag13 float1x1 r00 = transpose(f1x1);
14 float1x2 r01 = transpose(f2x1);
15 float1x3 r02 = transpose(f3x1);
16 float1x4 r03 = transpose(f4x1);
18 float1x1 r10 = transpose(f1x1);
19 float2x1 r11 = transpose(f1x2);
20 float3x1 r12 = transpose(f1x3);
21 float4x1 r13 = transpose(f1x4);
/external/guava/guava-tests/test/com/google/common/collect/
DTransposedTableTest.java32 Table<String, Integer, Character> table = Tables.transpose(original); in create()
40 assertSame(original, Tables.transpose(Tables.transpose(original))); in testTransposeTransposed()
45 Table<String, Integer, Character> transpose = Tables.transpose(original); in testPutOriginalModifiesTranspose() local
47 assertEquals((Character) 'a', transpose.get("foo", 1)); in testPutOriginalModifiesTranspose()
52 Table<String, Integer, Character> transpose = Tables.transpose(original); in testPutTransposeModifiesOriginal() local
53 transpose.put("foo", 1, 'a'); in testPutTransposeModifiesOriginal()
59 Table<String, Integer, Character> transpose = Tables.transpose(original); in testTransposedViews() local
61 assertSame(original.columnKeySet(), transpose.rowKeySet()); in testTransposedViews()
62 assertSame(original.rowKeySet(), transpose.columnKeySet()); in testTransposedViews()
63 assertSame(original.columnMap(), transpose.rowMap()); in testTransposedViews()
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.matType.int.frag.out11 0:25 transpose ( temp 1X1 matrix of int)
16 0:26 transpose ( temp 1X2 matrix of int)
21 0:27 transpose ( temp 1X3 matrix of int)
26 0:28 transpose ( temp 1X4 matrix of int)
31 0:30 transpose ( temp 2X1 matrix of int)
36 0:31 transpose ( temp 2X2 matrix of int)
41 0:32 transpose ( temp 2X3 matrix of int)
46 0:33 transpose ( temp 2X4 matrix of int)
51 0:35 transpose ( temp 3X1 matrix of int)
56 0:36 transpose ( temp 3X2 matrix of int)
[all …]
Dhlsl.matType.bool.frag.out11 0:25 transpose ( temp 1X1 matrix of bool)
16 0:26 transpose ( temp 1X2 matrix of bool)
21 0:27 transpose ( temp 1X3 matrix of bool)
26 0:28 transpose ( temp 1X4 matrix of bool)
31 0:30 transpose ( temp 2X1 matrix of bool)
36 0:31 transpose ( temp 2X2 matrix of bool)
41 0:32 transpose ( temp 2X3 matrix of bool)
46 0:33 transpose ( temp 2X4 matrix of bool)
51 0:35 transpose ( temp 3X1 matrix of bool)
56 0:36 transpose ( temp 3X2 matrix of bool)
[all …]
/external/eigen/doc/snippets/
DDenseBase_LinSpacedInt.cpp2 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;
DMatrixBase_hnormalized.cpp3 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;
/external/eigen/unsupported/doc/examples/
DPolynomialSolver1.cpp13 cout << "Roots: " << roots.transpose() << endl; in main()
18 cout << "Complex roots: " << psolve.roots().transpose() << endl; in main()
23 cout << "Real roots: " << mapRR.transpose() << endl; in main()
31 cout << "Hard case polynomial defined by floats: " << hardCase_polynomial.transpose() << endl; in main()
33 cout << "Complex roots: " << psolvef.roots().transpose() << endl; in main()
36 …cout << "Norms of the evaluations of the polynomial at the roots: " << evals.transpose() << endl <… in main()
41 cout << "Complex roots: " << psolve6d.roots().transpose() << endl; in main()
47 …cout << "Norms of the evaluations of the polynomial at the roots: " << evals.transpose() << endl <… in main()
/external/mesa3d/src/mesa/main/
Duniforms.c625 _mesa_UniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, in _mesa_UniformMatrix2fv() argument
629 _mesa_uniform_matrix(location, count, transpose, value, in _mesa_UniformMatrix2fv()
634 _mesa_UniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, in _mesa_UniformMatrix3fv() argument
638 _mesa_uniform_matrix(location, count, transpose, value, in _mesa_UniformMatrix3fv()
643 _mesa_UniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, in _mesa_UniformMatrix4fv() argument
647 _mesa_uniform_matrix(location, count, transpose, value, in _mesa_UniformMatrix4fv()
754 GLboolean transpose, const GLfloat * value) in _mesa_ProgramUniformMatrix2fv() argument
760 _mesa_uniform_matrix(location, count, transpose, value, ctx, shProg, 2, 2, GLSL_TYPE_FLOAT); in _mesa_ProgramUniformMatrix2fv()
765 GLboolean transpose, const GLfloat * value) in _mesa_ProgramUniformMatrix3fv() argument
771 _mesa_uniform_matrix(location, count, transpose, value, ctx, shProg, 3, 3, GLSL_TYPE_FLOAT); in _mesa_ProgramUniformMatrix3fv()
[all …]
Duniforms.h97 _mesa_UniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose,
100 _mesa_UniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose,
103 _mesa_UniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose,
106 _mesa_UniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose,
109 _mesa_UniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose,
112 _mesa_UniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose,
192 GLboolean transpose, const GLfloat *value);
195 GLboolean transpose, const GLfloat *value);
198 GLboolean transpose, const GLfloat *value);
201 GLboolean transpose, const GLfloat *value);
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dtranspose_op_test.py38 ret = ret.transpose(perm)
52 y = array_ops.transpose(inx, p, conjugate=conjugate)
83 y = array_ops.transpose(inx, p, conjugate=conjugate)
170 y = array_ops.transpose(inx, perm)
191 y = array_ops.transpose(inx, perm)
226 y = array_ops.transpose(inx, perm)
248 y = array_ops.transpose(inx, perm)
269 y = array_ops.transpose(inx, perm)
321 y = array_ops.transpose(inx, perm)
339 np_ans = np.copy(x).transpose(p)
[all …]

12345678910>>...30