Home
last modified time | relevance | path

Searched refs:matB (Results 1 – 19 of 19) sorted by relevance

/external/eigen/doc/snippets/
DTopicAliasing_mult2.cpp1 MatrixXf matA(2,2), matB(2,2); variable
5 matB = matA * matA;
6 cout << matB << endl << endl;
9 matB.noalias() = matA * matA;
10 cout << matB;
DTutorial_AdvancedInitialization_Block.cpp3 MatrixXf matB(4, 4); variable
4 matB << matA, matA/10, matA/10, matA;
5 std::cout << matB << std::endl;
/external/eigen/Eigen/src/Eigenvalues/
DGeneralizedSelfAdjointEigenSolver.h107 GeneralizedSelfAdjointEigenSolver(const MatrixType& matA, const MatrixType& matB,
111 compute(matA, matB, options);
154 GeneralizedSelfAdjointEigenSolver& compute(const MatrixType& matA, const MatrixType& matB,
164 compute(const MatrixType& matA, const MatrixType& matB, int options) in compute() argument
166 eigen_assert(matA.cols()==matA.rows() && matB.rows()==matA.rows() && matB.cols()==matB.rows()); in compute()
176 LLT<MatrixType> cholB(matB); in compute()
DSelfAdjointEigenSolver.h333 …SelfAdjointEigenSolver(const MatrixType& matA, const MatrixType& matB, bool computeEigenvectors = …
339 …static_cast<GeneralizedSelfAdjointEigenSolver<MatrixType>*>(this)->compute(matA, matB, computeEige…
347 void compute(const MatrixType& matA, const MatrixType& matB, bool computeEigenvectors = true)
349 compute(matA, matB, computeEigenvectors ? ComputeEigenvectors : EigenvaluesOnly);
/external/eigen/test/
Dcholesky.cpp77 MatrixType matB = MatrixType::Random(rows,cols), matX(rows,cols); in cholesky() local
98 matX = chollo.solve(matB); in cholesky()
99 VERIFY_IS_APPROX(symm * matX, matB); in cholesky()
106 matX = cholup.solve(matB); in cholesky()
107 VERIFY_IS_APPROX(symm * matX, matB); in cholesky()
121 m2 += symmLo.template selfadjointView<Lower>().llt().solve(matB); in cholesky()
122 VERIFY_IS_APPROX(m2, m1 + symmLo.template selfadjointView<Lower>().llt().solve(matB)); in cholesky()
124 m2 -= symmLo.template selfadjointView<Lower>().llt().solve(matB); in cholesky()
125 VERIFY_IS_APPROX(m2, m1 - symmLo.template selfadjointView<Lower>().llt().solve(matB)); in cholesky()
127 m2.noalias() += symmLo.template selfadjointView<Lower>().llt().solve(matB); in cholesky()
[all …]
Dsparse_solvers.cpp80 SparseMatrix<Scalar> matB(rows, rows); in sparse_solvers() local
85 initSparse<Scalar>(density, refMatB, matB); in sparse_solvers()
87 m2.template triangularView<Lower>().solveInPlace(matB); in sparse_solvers()
88 VERIFY_IS_APPROX(matB.toDense(), refMatB); in sparse_solvers()
92 initSparse<Scalar>(density, refMatB, matB); in sparse_solvers()
94 m2.template triangularView<Upper>().solveInPlace(matB); in sparse_solvers()
95 VERIFY_IS_APPROX(matB, refMatB); in sparse_solvers()
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/
Dmat2d-spec.js24 var out, matA, matB, identity, result;
35 matB = [7, 8,
101 beforeEach(function() { result = mat2d.multiply(out, matA, matB); });
106 it("should not modify matB", function() { expect(matB).toBeEqualish(oldB); });
110 beforeEach(function() { result = mat2d.multiply(matA, matA, matB); });
114 it("should not modify matB", function() { expect(matB).toBeEqualish(oldB); });
118 beforeEach(function() { result = mat2d.multiply(matB, matA, matB); });
120 …it("should place values into matB", function() { expect(matB).toBeEqualish([31, 46, 39, 58, 52, 76…
121 it("should return matB", function() { expect(result).toBe(matB); });
Dmat3-spec.js26 var out, matA, matB, identity, result;
33 matB = [1, 0, 0,
269 beforeEach(function() { result = mat3.multiply(out, matA, matB); });
287 expect(matB).toBeEqualish([
296 beforeEach(function() { result = mat3.multiply(matA, matA, matB); });
307 expect(matB).toBeEqualish([
316 beforeEach(function() { result = mat3.multiply(matB, matA, matB); });
319 expect(matB).toBeEqualish([
325 it("should return matB", function() { expect(result).toBe(matB); });
Dmat2-spec.js24 var out, matA, matB, identity, result;
30 matB = [5, 6,
123 beforeEach(function() { result = mat2.multiply(out, matA, matB); });
128 it("should not modify matB", function() { expect(matB).toBeEqualish([5, 6, 7, 8]); });
132 beforeEach(function() { result = mat2.multiply(matA, matA, matB); });
136 it("should not modify matB", function() { expect(matB).toBeEqualish([5, 6, 7, 8]); });
140 beforeEach(function() { result = mat2.multiply(matB, matA, matB); });
142 … it("should place values into matB", function() { expect(matB).toBeEqualish([23, 34, 31, 46]); });
143 it("should return matB", function() { expect(result).toBe(matB); });
Dmat4-spec.js25 var out, matA, matB, identity, result;
34 matB = [1, 0, 0, 0,
196 beforeEach(function() { result = mat4.multiply(out, matA, matB); });
216 expect(matB).toBeEqualish([
226 beforeEach(function() { result = mat4.multiply(matA, matA, matB); });
238 expect(matB).toBeEqualish([
248 beforeEach(function() { result = mat4.multiply(matB, matA, matB); });
251 expect(matB).toBeEqualish([
258 it("should return matB", function() { expect(result).toBe(matB); });
/external/eigen/test/eigen2/
Deigen2_cholesky.cpp34 MatrixType matB = MatrixType::Random(rows,cols), matX(rows,cols); in cholesky() local
75 ldlt.solve(matB, &matX); in cholesky()
76 VERIFY_IS_APPROX(symm * matX, matB); in cholesky()
85 chol.solve(matB, &matX); in cholesky()
86 VERIFY_IS_APPROX(symm * matX, matB); in cholesky()
/external/deqp/framework/common/
DtcuMatrix.hpp236 const Matrix<T, 2, 1> matB = Matrix<T, 2, 1>(areaB); in doInverse() local
240 const T schurComplement = T(1.0f) / (matD - matC*invA*matB)(0,0); in doInverse()
243 const Matrix<T, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in doInverse()
244 const Matrix<T, 2, 1> blockB = (zeroMat-invA)*matB*schurComplement; in doInverse()
287 const Matrix<T, 2, 2> matB = Matrix<T, 2, 2>(areaB); in doInverse() local
291 const Matrix<T, 2, 2> schurComplement = inverse(matD - matC*invA*matB); in doInverse()
294 const Matrix<T, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in doInverse()
295 const Matrix<T, 2, 2> blockB = (zeroMat-invA)*matB*schurComplement; in doInverse()
/external/skia/src/effects/
DSkColorMatrix.cpp132 void SkColorMatrix::setConcat(const SkColorMatrix& matA, const SkColorMatrix& matB) { in setConcat() argument
133 SetConcat(fMat, matA.fMat, matB.fMat); in setConcat()
/external/eigen/doc/
DTopicAliasing.dox172 the same when the product is assigned to a different matrix (e.g., <tt>matB = matA * matA</tt>). In…
173 it is more efficient to evaluate the product directly into \c matB instead of evaluating it first i…
174 temporary matrix and copying that matrix to \c matB.
177 aliasing, as follows: <tt>matB.noalias() = matA * matA</tt>. This allows %Eigen to evaluate the mat…
178 <tt>matA * matA</tt> directly into \c matB.
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp762 const tcu::Matrix<float, 2, 1> matB = tcu::Matrix<float, 2, 1>(areaB); in inverse() local
766 const float schurComplement = 1.0f / (matD - matC*invA*matB)(0,0); in inverse()
769 const tcu::Matrix<float, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in inverse()
770 const tcu::Matrix<float, 2, 1> blockB = (zeroMat-invA)*matB*schurComplement; in inverse()
814 const tcu::Matrix<float, 2, 2> matB = Mat2(areaB); in inverse() local
818 const tcu::Matrix<float, 2, 2> schurComplement = inverse(matD - matC*invA*matB); in inverse()
821 const tcu::Matrix<float, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in inverse()
822 const tcu::Matrix<float, 2, 2> blockB = (zeroMat-invA)*matB*schurComplement; in inverse()
/external/deqp/modules/gles3/functional/
Des3fShaderMatrixTests.cpp767 const tcu::Matrix<float, 2, 1> matB = tcu::Matrix<float, 2, 1>(areaB); in inverse() local
771 const float schurComplement = 1.0f / (matD - matC*invA*matB)(0,0); in inverse()
774 const tcu::Matrix<float, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in inverse()
775 const tcu::Matrix<float, 2, 1> blockB = (zeroMat-invA)*matB*schurComplement; in inverse()
819 const tcu::Matrix<float, 2, 2> matB = Mat2(areaB); in inverse() local
823 const tcu::Matrix<float, 2, 2> schurComplement = inverse(matD - matC*invA*matB); in inverse()
826 const tcu::Matrix<float, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in inverse()
827 const tcu::Matrix<float, 2, 2> blockB = (zeroMat-invA)*matB*schurComplement; in inverse()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp3654 ExprP<Vec2> matB = bindExpression("matB", ctx, vec2(mat[2][0], mat[2][1])); in doExpand() local
3660 (matD - dot(matC * invA, matB))); in doExpand()
3662 ExprP<Vec2> t1 = invA * matB; in doExpand()
3669 (invA * matB) * -schur); in doExpand()
3693 ExprP<Mat2> matB = bindExpression("matB", ctx, in doExpand() local
3703 inverse(matD + -(matC * invA * matB))); in doExpand()
3705 invA + (invA * matB * schur * matC * invA)); in doExpand()
3707 (-invA) * matB * schur); in doExpand()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp3705 ExprP<Vec2> matB = bindExpression("matB", ctx, vec2(mat[2][0], mat[2][1])); in doExpand() local
3711 (matD - dot(matC * invA, matB))); in doExpand()
3713 ExprP<Vec2> t1 = invA * matB; in doExpand()
3720 (invA * matB) * -schur); in doExpand()
3744 ExprP<Mat2> matB = bindExpression("matB", ctx, in doExpand() local
3754 inverse(matD + -(matC * invA * matB))); in doExpand()
3756 invA + (invA * matB * schur * matC * invA)); in doExpand()
3758 (-invA) * matB * schur); in doExpand()
/external/opencv/cvaux/src/
Dcvepilines.cpp2427 CvMat matB = cvMat( 8, 1, CV_64F, b ); in icvComputePerspectiveCoeffs() local
2431 CV_CALL( cvMatMulAdd( &matInvA, &matB, 0, &matX )); in icvComputePerspectiveCoeffs()
2567 CvMat matB = cvMat( 8, 1, CV_64F, b ); in cvInitPerspectiveTransform() local
2571 CV_CALL( cvMatMulAdd( &matInvA, &matB, 0, &matX )); in cvInitPerspectiveTransform()