Home
last modified time | relevance | path

Searched refs:determinant (Results 1 – 25 of 170) sorted by relevance

1234567

/external/eigen/test/
Ddeterminant.cpp14 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 …]
Dinverse.cpp56 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/
DInverseImpl.h59 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 …]
DDeterminant.h41 return m.partialPivLu().determinant(); in run()
92 inline typename internal::traits<Derived>::Scalar MatrixBase<Derived>::determinant() const
/external/eigen/doc/snippets/
DMatrixBase_computeInverseAndDetWithCheck.cpp5 double determinant; variable
6 m.computeInverseAndDetWithCheck(inverse,determinant,invertible);
7 cout << "Its determinant is " << determinant << endl;
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_LogMatrixDeterminant.pbtxt22 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/
DtcuMatrix.hpp132 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/
DLU16 …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/
DCholeskyDecompositionImpl.java177 double determinant = 1.0; in getDeterminant() local
180 determinant *= lTii * lTii; in getDeterminant()
182 return determinant; in getDeterminant()
DFieldLUDecompositionImpl.java209 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()
DLUDecompositionImpl.java218 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/
Dhlsl.intrinsics.negative.frag10 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/
Dlinear_operator_kronecker.py398 determinant = 1.
400 determinant *= operator.determinant() ** math_ops.cast(
403 return determinant
Dlinear_operator_adjoint.py199 return self.operator.determinant()
200 return math_ops.conj(self.operator.determinant())
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderVertexOrdering.cpp609 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/
D2006-12-08-Select-ICmp.ll32 …%tmp13 = call i32 @determinant( i64 %tmp.upgrd.3, i64 %tmp9, i64 %tmp12 ) ; <i32> [#uses=2]
40 declare i32 @determinant(i64, i64, i64)
D2006-12-08-Phi-ICmp-Op-Fold.ll33 %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/
DUmeyama.h139 if ( svd.matrixU().determinant() * svd.matrixV().determinant() < 0 )
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
D2006-12-08-Select-ICmp.ll33 …%tmp13 = call i32 @determinant( i64 %tmp.upgrd.3, i64 %tmp9, i64 %tmp12 ) ; <i32> [#uses=2]
41 declare i32 @determinant(i64, i64, i64)
D2006-12-08-Phi-ICmp-Op-Fold.ll33 %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/
D2006-12-08-Select-ICmp.ll33 …%tmp13 = call i32 @determinant( i64 %tmp.upgrd.3, i64 %tmp9, i64 %tmp12 ) ; <i32> [#uses=2]
41 declare i32 @determinant(i64, i64, i64)
D2006-12-08-Phi-ICmp-Op-Fold.ll33 %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/
DMatrix44Test.cpp308 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/
DMatrix44Test.cpp308 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/
DTutorialLinearAlgebra.dox162 \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…

1234567