OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:refMat2
(Results
1 - 4
of
4
) sorted by null
/external/eigen/test/
sparse_block.cpp
123
DenseMatrix
refMat2
= DenseMatrix::Zero(rows, cols);
125
initSparse<Scalar>(density,
refMat2
, m2);
131
VERIFY_IS_APPROX(m2.innerVector(j0), innervec(
refMat2
,j0));
132
VERIFY_IS_APPROX(m2.innerVector(j0)+m2.innerVector(j1), innervec(
refMat2
,j0)+innervec(
refMat2
,j1));
135
innervec(
refMat2
,j0) *= Scalar(2);
136
VERIFY_IS_APPROX(m2,
refMat2
);
139
refMat2
.row(r0) *= Scalar(3);
140
VERIFY_IS_APPROX(m2,
refMat2
);
143
refMat2
.col(c0) *= Scalar(4)
[
all
...]
sparse_solvers.cpp
49
DenseMatrix
refMat2
= DenseMatrix::Zero(rows, cols);
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
, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords)
[
all
...]
sparse_product.cpp
52
DenseMatrix
refMat2
= DenseMatrix::Zero(rows, depth);
69
initSparse(density,
refMat2
, m2);
80
VERIFY_IS_APPROX(m4=m2*m3, refMat4=
refMat2
*refMat3);
83
VERIFY_IS_APPROX(m4=m2*m3t.transpose(), refMat4=
refMat2
*refMat3t.transpose());
85
VERIFY_IS_APPROX(m4 = m2*m3/s1, refMat4 =
refMat2
*refMat3/s1);
86
VERIFY_IS_APPROX(m4 = m2*m3*s1, refMat4 =
refMat2
*refMat3*s1);
87
VERIFY_IS_APPROX(m4 = s2*m2*m3*s1, refMat4 = s2*
refMat2
*refMat3*s1);
88
VERIFY_IS_APPROX(m4 = (m2+m2)*m3, refMat4 = (
refMat2
+
refMat2
)*refMat3);
89
VERIFY_IS_APPROX(m4 = m2*m3.leftCols(cols/2), refMat4 =
refMat2
*refMat3.leftCols(cols/2))
[
all
...]
sparse_basic.cpp
276
DenseMatrix
refMat2
= DenseMatrix::Zero(rows, cols);
278
initSparse<Scalar>(density,
refMat2
, m2);
306
DenseMatrix
refMat2
= DenseMatrix::Zero(rows, cols);
308
initSparse<Scalar>(density,
refMat2
, m2);
309
VERIFY_IS_APPROX(m2.transpose().eval(),
refMat2
.transpose().eval());
310
VERIFY_IS_APPROX(m2.transpose(),
refMat2
.transpose());
312
VERIFY_IS_APPROX(SparseMatrixType(m2.adjoint()),
refMat2
.adjoint());
396
DenseMatrix
refMat2
(rows, cols), refMat3(rows, cols);
398
initSparse<Scalar>(density,
refMat2
, m2);
403
VERIFY_IS_APPROX(mapMat2+mapMat3,
refMat2
+refMat3)
[
all
...]
Completed in 5234 milliseconds