Searched defs:refMat2 (Results 1 - 6 of 6) sorted by relevance

/external/eigen/test/eigen2/
H A Deigen2_sparse_solvers.cpp49 DenseMatrix refMat2 = DenseMatrix::Zero(rows, cols); local
52 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonzeroCoords);
53 VERIFY_IS_APPROX(refMat2.template marked<LowerTriangular>().solveTriangular(vec2),
57 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonzeroCoords);
58 VERIFY_IS_APPROX(refMat2.template marked<LowerTriangular>().transpose().solveTriangular(vec2),
62 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords);
63 VERIFY_IS_APPROX(refMat2.template marked<UpperTriangular>().solveTriangular(vec2),
67 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords);
68 VERIFY_IS_APPROX(refMat2.template marked<UpperTriangular>().transpose().solveTriangular(vec2),
76 DenseMatrix refMat2(row
[all...]
H A Deigen2_sparse_product.cpp25 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); local
32 initSparse<Scalar>(density, refMat2, m2);
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());
41 VERIFY_IS_APPROX(dm4=m2*refMat3, refMat4=refMat2*refMat3);
42 VERIFY_IS_APPROX(dm4=m2*refMat3.transpose(), refMat4=refMat2*refMat3.transpose());
43 VERIFY_IS_APPROX(dm4=m2.transpose()*refMat3, refMat4=refMat2.transpose()*refMat3);
44 VERIFY_IS_APPROX(dm4=m2.transpose()*refMat3.transpose(), refMat4=refMat2
[all...]
H A Deigen2_sparse_basic.cpp236 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); local
238 initSparse<Scalar>(density, refMat2, m2);
241 VERIFY_IS_APPROX(m2.innerVector(j0), refMat2.col(j0));
242 VERIFY_IS_APPROX(m2.innerVector(j0)+m2.innerVector(j1), refMat2.col(j0)+refMat2.col(j1));
244 //refMat2.col(j0) = 2*refMat2.col(j1);
245 //VERIFY_IS_APPROX(m2, refMat2);
250 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); local
252 initSparse<Scalar>(density, refMat2, m
265 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); local
[all...]
/external/eigen/test/
H A Dsparse_solvers.cpp49 DenseMatrix refMat2 = DenseMatrix::Zero(rows, cols); local
52 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonzeroCoords);
53 VERIFY_IS_APPROX(refMat2.template triangularView<Lower>().solve(vec2),
57 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords);
58 VERIFY_IS_APPROX(refMat2.template triangularView<Upper>().solve(vec2),
60 VERIFY_IS_APPROX(refMat2.conjugate().template triangularView<Upper>().solve(vec2),
66 VERIFY_IS_APPROX(refMat2.conjugate().template triangularView<Upper>().solve(vec2),
71 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonzeroCoords);
72 VERIFY_IS_APPROX(refMat2.transpose().template triangularView<Upper>().solve(vec2),
76 initSparse<Scalar>(density, refMat2, m
[all...]
H A Dsparse_basic.cpp200 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); local
202 initSparse<Scalar>(density, refMat2, m2);
206 VERIFY_IS_APPROX(m2.innerVector(j0), refMat2.row(j0));
208 VERIFY_IS_APPROX(m2.innerVector(j0), refMat2.col(j0));
211 VERIFY_IS_APPROX(m2.innerVector(j0)+m2.innerVector(j1), refMat2.row(j0)+refMat2.row(j1));
213 VERIFY_IS_APPROX(m2.innerVector(j0)+m2.innerVector(j1), refMat2.col(j0)+refMat2.col(j1));
235 //refMat2.col(j0) = 2*refMat2
241 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); local
320 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); local
333 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); local
477 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); local
485 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); local
[all...]
H A Dsparse_product.cpp15 static void run(SparseMatrixType& m2, SparseMatrixType& m4, DenseMatrix& refMat2, DenseMatrix& refMat4) { argument
19 VERIFY_IS_APPROX(m4=m2.col(c)*refMat2.col(c1).transpose(), refMat4=refMat2.col(c)*refMat2.col(c1).transpose());
20 VERIFY_IS_APPROX(m4=refMat2.col(c1)*m2.col(c).transpose(), refMat4=refMat2.col(c1)*refMat2.col(c).transpose());
25 static void run(SparseMatrixType& m2, SparseMatrixType& m4, DenseMatrix& refMat2, DenseMatrix& refMat4) { argument
29 VERIFY_IS_APPROX(m4=m2.row(r).transpose()*refMat2.col(c1).transpose(), refMat4=refMat2
60 DenseMatrix refMat2 = DenseMatrix::Zero(rows, depth); local
[all...]

Completed in 94 milliseconds