/external/eigen/test/ |
D | determinant.cpp | 14 template<typename MatrixType> void determinant(const MatrixType& m) in determinant() function 27 VERIFY_IS_APPROX(MatrixType::Identity(size, size).determinant(), Scalar(1)); in determinant() 28 VERIFY_IS_APPROX((m1*m2).eval().determinant(), m1.determinant() * m2.determinant()); in determinant() 37 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant()); in determinant() 40 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant()); in determinant() 41 VERIFY_IS_APPROX(m2.determinant(), m2.transpose().determinant()); in determinant() 42 VERIFY_IS_APPROX(numext::conj(m2.determinant()), m2.adjoint().determinant()); in determinant() 45 VERIFY_IS_APPROX(m2.determinant(), m1.determinant()); in determinant() 48 VERIFY_IS_APPROX(m2.determinant(), m1.determinant() * x); in determinant() 51 VERIFY_IS_APPROX(m2.block(0,0,0,0).determinant(), Scalar(1)); in determinant() [all …]
|
D | inverse.cpp | 56 VERIFY_IS_APPROX(det, m1.determinant()); in inverse() 68 VERIFY_IS_MUCH_SMALLER_THAN(abs(det-m3.determinant()), RealScalar(1)); in inverse()
|
/external/eigen/Eigen/src/LU/ |
D | InverseImpl.h | 59 typename ResultType::Scalar& determinant, 64 determinant = matrix.coeff(0,0); 65 invertible = abs(determinant) > absDeterminantThreshold; 66 if(invertible) result.coeffRef(0,0) = typename ResultType::Scalar(1) / determinant; 93 const Scalar invdet = typename MatrixType::Scalar(1) / matrix.determinant(); 106 typename ResultType::Scalar& determinant, 112 determinant = matrix.determinant(); 113 invertible = abs(determinant) > absDeterminantThreshold; 115 const Scalar invdet = Scalar(1) / determinant; 180 typename ResultType::Scalar& determinant, [all …]
|
D | Determinant.h | 41 return m.partialPivLu().determinant(); in run() 92 inline typename internal::traits<Derived>::Scalar MatrixBase<Derived>::determinant() const
|
/external/eigen/doc/snippets/ |
D | MatrixBase_computeInverseAndDetWithCheck.cpp | 5 double determinant; variable 6 m.computeInverseAndDetWithCheck(inverse,determinant,invertible); 7 cout << "Its determinant is " << determinant << endl;
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_LogMatrixDeterminant.pbtxt | 22 summary: "Computes the sign and the log of the absolute value of the determinant of" 29 `[..., :, :]` such that the determinant = sign*exp(log_abs_determinant).
|
/external/deqp/framework/common/ |
D | tcuMatrix.hpp | 132 T determinant (const Matrix<T, Size, Size>& mat) in determinant() function 167 using matrix::determinant; in doDeterminant() 193 return + mat(0,0) * determinant(Matrix<T, 3, 3>(minorMatrices[0])) in doDeterminant() 194 - mat(0,1) * determinant(Matrix<T, 3, 3>(minorMatrices[1])) in doDeterminant() 195 + mat(0,2) * determinant(Matrix<T, 3, 3>(minorMatrices[2])) in doDeterminant() 196 - mat(0,3) * determinant(Matrix<T, 3, 3>(minorMatrices[3])); in doDeterminant() 202 using matrix::determinant; in doInverse() 204 const T det = determinant(mat); in doInverse()
|
/external/eigen/Eigen/ |
D | LU | 16 …his module includes %LU decomposition and related notions such as matrix inversion and determinant. 19 * - MatrixBase::determinant()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | CholeskyDecompositionImpl.java | 177 double determinant = 1.0; in getDeterminant() local 180 determinant *= lTii * lTii; in getDeterminant() 182 return determinant; in getDeterminant()
|
D | FieldLUDecompositionImpl.java | 209 T determinant = even ? field.getOne() : field.getZero().subtract(field.getOne()); in getDeterminant() local 211 determinant = determinant.multiply(lu[i][i]); in getDeterminant() 213 return determinant; in getDeterminant()
|
D | LUDecompositionImpl.java | 218 double determinant = even ? 1 : -1; in getDeterminant() local 220 determinant *= lu[i][i]; in getDeterminant() 222 return determinant; in getDeterminant()
|
/external/deqp-deps/glslang/Test/ |
D | hlsl.intrinsics.negative.frag | 10 determinant(inF0); // expected error: only valid on mats 51 determinant(inF0); // expected error: only valid on mats 67 determinant(inF0); // expected error: only valid on mats 84 determinant(inF0); // expected error: only valid on mats
|
/external/tensorflow/tensorflow/python/ops/linalg/ |
D | linear_operator_kronecker.py | 398 determinant = 1. 400 determinant *= operator.determinant() ** math_ops.cast( 403 return determinant
|
D | linear_operator_adjoint.py | 199 return self.operator.determinant() 200 return math_ops.conj(self.operator.determinant())
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderVertexOrdering.cpp | 609 float determinant = 0.0f; in verifyVertexOrderingCorrectness() local 615 determinant += (cartesian_vertex_data[n_vertex * 2 /* components */ + 0] * in verifyVertexOrderingCorrectness() 621 determinant *= 0.5f; in verifyVertexOrderingCorrectness() 626 determinant < 0.0f) || in verifyVertexOrderingCorrectness() 627 … (test_iteration.vertex_ordering == TESSELLATION_SHADER_VERTEX_ORDERING_CW && determinant >= 0.0f)) in verifyVertexOrderingCorrectness()
|
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/ |
D | 2006-12-08-Select-ICmp.ll | 32 …%tmp13 = call i32 @determinant( i64 %tmp.upgrd.3, i64 %tmp9, i64 %tmp12 ) ; <i32> [#uses=2] 40 declare i32 @determinant(i64, i64, i64)
|
D | 2006-12-08-Phi-ICmp-Op-Fold.ll | 33 %tmp13 = call i32 @determinant( i64 %tmp.upgrd.3, i64 %tmp9, i64 %tmp12 ) ; <i32> [#uses=2] 51 declare i32 @determinant(i64, i64, i64)
|
/external/eigen/Eigen/src/Geometry/ |
D | Umeyama.h | 139 if ( svd.matrixU().determinant() * svd.matrixV().determinant() < 0 )
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | 2006-12-08-Select-ICmp.ll | 33 …%tmp13 = call i32 @determinant( i64 %tmp.upgrd.3, i64 %tmp9, i64 %tmp12 ) ; <i32> [#uses=2] 41 declare i32 @determinant(i64, i64, i64)
|
D | 2006-12-08-Phi-ICmp-Op-Fold.ll | 33 %tmp13 = call i32 @determinant( i64 %tmp.upgrd.3, i64 %tmp9, i64 %tmp12 ) ; <i32> [#uses=2] 51 declare i32 @determinant(i64, i64, i64)
|
/external/llvm/test/Transforms/InstCombine/ |
D | 2006-12-08-Select-ICmp.ll | 33 …%tmp13 = call i32 @determinant( i64 %tmp.upgrd.3, i64 %tmp9, i64 %tmp12 ) ; <i32> [#uses=2] 41 declare i32 @determinant(i64, i64, i64)
|
D | 2006-12-08-Phi-ICmp-Op-Fold.ll | 33 %tmp13 = call i32 @determinant( i64 %tmp.upgrd.3, i64 %tmp9, i64 %tmp12 ) ; <i32> [#uses=2] 51 declare i32 @determinant(i64, i64, i64)
|
/external/skia/tests/ |
D | Matrix44Test.cpp | 308 REPORTER_ASSERT(reporter, nearly_equal_double(1, a.determinant())); in test_determinant() 310 REPORTER_ASSERT(reporter, nearly_equal_double(2, a.determinant())); in test_determinant() 313 REPORTER_ASSERT(reporter, nearly_equal_double(0.5, b.determinant())); in test_determinant() 318 nearly_equal_double(a.determinant(), in test_determinant() 319 b.determinant())); in test_determinant() 322 REPORTER_ASSERT(reporter, nearly_equal_double(16, d.determinant())); in test_determinant() 326 REPORTER_ASSERT(reporter, nearly_equal_double(32, e.determinant())); in test_determinant() 328 REPORTER_ASSERT(reporter, nearly_equal_double(0, e.determinant())); in test_determinant()
|
/external/skqp/tests/ |
D | Matrix44Test.cpp | 308 REPORTER_ASSERT(reporter, nearly_equal_double(1, a.determinant())); in test_determinant() 310 REPORTER_ASSERT(reporter, nearly_equal_double(2, a.determinant())); in test_determinant() 313 REPORTER_ASSERT(reporter, nearly_equal_double(0.5, b.determinant())); in test_determinant() 318 nearly_equal_double(a.determinant(), in test_determinant() 319 b.determinant())); in test_determinant() 322 REPORTER_ASSERT(reporter, nearly_equal_double(16, d.determinant())); in test_determinant() 326 REPORTER_ASSERT(reporter, nearly_equal_double(32, e.determinant())); in test_determinant() 328 REPORTER_ASSERT(reporter, nearly_equal_double(0, e.determinant())); in test_determinant()
|
/external/eigen/doc/ |
D | TutorialLinearAlgebra.dox | 162 \section TutorialLinAlgInverse Computing inverse and determinant 164 First of all, make sure that you really want this. While inverse and determinant are fundamental ma… 166 advantageously replaced by solve() operations, and the determinant is often \em not a good way of c… 169 However, for \em very \em small matrices, the above is not true, and inverse and determinant can be… 171 While certain decompositions, such as PartialPivLU and FullPivLU, offer inverse() and determinant()… 172 call inverse() and determinant() directly on a matrix. If your matrix is of a very small fixed size…
|