Searched defs:determinant (Results 1 - 25 of 27) sorted by relevance

12

/external/eigen/doc/snippets/
H A DMatrixBase_computeInverseAndDetWithCheck.cpp5 double determinant; variable
6 m.computeInverseAndDetWithCheck(inverse,determinant,invertible);
7 cout << "Its determinant is " << determinant << endl;
/external/eigen/test/
H A Ddeterminant.cpp14 template<typename MatrixType> void determinant(const MatrixType& m) function
27 VERIFY_IS_APPROX(MatrixType::Identity(size, size).determinant(), Scalar(1));
28 VERIFY_IS_APPROX((m1*m2).eval().determinant(), m1.determinant() * m2.determinant());
37 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant());
40 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant());
41 VERIFY_IS_APPROX(m2.determinant(), m
[all...]
/external/eigen/Eigen/src/LU/
H A DDeterminant.h41 return m.partialPivLu().determinant();
89 * \returns the determinant of this matrix
92 inline typename internal::traits<Derived>::Scalar MatrixBase<Derived>::determinant() const function in class:Eigen::MatrixBase
H A 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;
55 run( const MatrixType& matrix, const typename MatrixType::RealScalar& absDeterminantThreshold, ResultType& result, typename ResultType::Scalar& determinant, bool& invertible ) argument
102 run( const MatrixType& matrix, const typename MatrixType::RealScalar& absDeterminantThreshold, ResultType& inverse, typename ResultType::Scalar& determinant, bool& invertible ) argument
176 run( const MatrixType& matrix, const typename MatrixType::RealScalar& absDeterminantThreshold, ResultType& inverse, typename ResultType::Scalar& determinant, bool& invertible ) argument
265 run( const MatrixType& matrix, const typename MatrixType::RealScalar& absDeterminantThreshold, ResultType& inverse, typename ResultType::Scalar& determinant, bool& invertible ) argument
362 computeInverseAndDetWithCheck( ResultType& inverse, typename ResultType::Scalar& determinant, bool& invertible, const RealScalar& absDeterminantThreshold ) const argument
379 (derived(), absDeterminantThreshold, inverse, determinant, invertible); local
407 RealScalar determinant; local
[all...]
H A DPartialPivLU.h73 * \sa MatrixBase::partialPivLu(), MatrixBase::determinant(), MatrixBase::inverse(), MatrixBase::computeInverse(), class FullPivLU
203 /** \returns the determinant of the matrix of which
208 * \note For fixed-size matrices of size up to 4, MatrixBase::determinant() offers
211 * \warning a determinant can be very big or small, so for matrices
214 * \sa MatrixBase::determinant()
216 Scalar determinant() const;
539 typename PartialPivLU<MatrixType>::Scalar PartialPivLU<MatrixType>::determinant() const function in class:Eigen::PartialPivLU
H A DFullPivLU.h41 * the rank, invertibility, inverse, kernel, and determinant.
57 * \sa MatrixBase::fullPivLu(), MatrixBase::determinant(), MatrixBase::inverse()
258 /** \returns the determinant of the matrix of which
265 * \note For fixed-size matrices of size up to 4, MatrixBase::determinant() offers
268 * \warning a determinant can be very big or small, so for matrices
271 * \sa MatrixBase::determinant()
273 typename internal::traits<MatrixType>::Scalar determinant() const;
583 typename internal::traits<MatrixType>::Scalar FullPivLU<MatrixType>::determinant() const function in class:Eigen::FullPivLU
586 eigen_assert(m_lu.rows() == m_lu.cols() && "You can't take the determinant of a non-square matrix!");
/external/ImageMagick/MagickCore/
H A Dgeometry.c719 % The affine matrix determinant is checked for validity of the values.
745 determinant;
797 determinant=(affine_matrix->sx*affine_matrix->sy-affine_matrix->rx*
799 if (fabs(determinant) < MagickEpsilon)
737 determinant; local
H A Ddistort.c100 double determinant;
102 determinant=PerceptibleReciprocal(coeff[0]*coeff[4]-coeff[1]*coeff[3]);
103 inverse[0]=determinant*coeff[4];
104 inverse[1]=determinant*(-coeff[1]);
105 inverse[2]=determinant*(coeff[1]*coeff[5]-coeff[2]*coeff[4]);
106 inverse[3]=determinant*(-coeff[3]);
107 inverse[4]=determinant*coeff[0];
108 inverse[5]=determinant*(coeff[2]*coeff[3]-coeff[0]*coeff[5]);
115 double determinant;
117 determinant
98 double determinant; local
113 double determinant; local
[all...]
H A Ddraw.c1073 determinant;
1075 determinant=PerceptibleReciprocal(affine->sx*affine->sy-affine->rx*
1077 inverse_affine.sx=determinant*affine->sy;
1078 inverse_affine.rx=determinant*(-affine->rx);
1079 inverse_affine.ry=determinant*(-affine->ry);
1080 inverse_affine.sy=determinant*affine->sx;
1061 determinant; local
/external/deqp/framework/common/
H A DtcuMatrix.hpp126 T determinant (const Matrix<T, Size, Size>& mat) function in namespace:tcu::matrix
161 using matrix::determinant;
187 return + mat(0,0) * determinant(Matrix<T, 3, 3>(minorMatrices[0]))
188 - mat(0,1) * determinant(Matrix<T, 3, 3>(minorMatrices[1]))
189 + mat(0,2) * determinant(Matrix<T, 3, 3>(minorMatrices[2]))
190 - mat(0,3) * determinant(Matrix<T, 3, 3>(minorMatrices[3]));
196 using matrix::determinant;
198 const T det = determinant(mat);
/external/eigen/Eigen/src/CholmodSupport/
H A DCholmodSupport.h347 /** \returns the determinant of the underlying matrix from the current factorization */
348 Scalar determinant() const function in class:Eigen::CholmodBase
354 /** \returns the log determinant of the underlying matrix from the current factorization */
/external/eigen/Eigen/src/Core/
H A DPermutationMatrix.h249 /** \returns the determinant of the permutation matrix, which is either 1 or -1 depending on the parity of the permutation.
253 Index determinant() const function in class:Eigen::PermutationBase
H A DTriangularMatrix.h306 /** \returns the determinant of the triangular matrix
307 * \sa MatrixBase::determinant() */
309 Scalar determinant() const function in class:Eigen::TriangularView
/external/eigen/Eigen/src/SparseCholesky/
H A DSimplicialCholesky.h392 /** \returns the determinant of the underlying matrix from the current factorization */
393 Scalar determinant() const function in class:Eigen::SimplicialLLT
489 /** \returns the determinant of the underlying matrix from the current factorization */
490 Scalar determinant() const function in class:Eigen::SimplicialLDLT
632 Scalar determinant() const function in class:Eigen::SimplicialCholesky
/external/eigen/Eigen/src/SparseLU/
H A DSparseLU.h244 * \returns the absolute value of the determinant of the matrix of which
247 * \warning a determinant can be very big or small, so for matrices
257 // Initialize with the determinant of the row matrix
275 /** \returns the natural log of the absolute value of the determinant of the matrix
279 * inherent to the determinant computation.
305 /** \returns A number representing the sign of the determinant
312 // Initialize with the determinant of the row matrix
333 /** \returns The determinant of the matrix.
337 Scalar determinant() function in class:Eigen::SparseLU
340 // Initialize with the determinant o
[all...]
/external/eigen/Eigen/src/UmfPackSupport/
H A DUmfPackSupport.h304 Scalar determinant() const;
415 typename UmfPackLU<MatrixType>::Scalar UmfPackLU<MatrixType>::determinant() const function in class:Eigen::UmfPackLU
/external/eigen/Eigen/src/SuperLUSupport/
H A DSuperLUSupport.h567 Scalar determinant() const;
793 typename SuperLU<MatrixType>::Scalar SuperLU<MatrixType>::determinant() const function in class:Eigen::SuperLU
795 eigen_assert(m_factorizationIsOk && "The decomposition is not in a valid state for computing the determinant, you must first call either compute() or analyzePattern()/factorize()");
811 if(PermutationMap(m_p.data(),m_p.size()).determinant()*PermutationMap(m_q.data(),m_q.size()).determinant()<0)
/external/skia/src/core/
H A DSkMatrix44.cpp429 double SkMatrix44::determinant() const { function in class:SkMatrix44
467 // Calculate the determinant
579 // Calculate the determinant
640 // Calculate the determinant
/external/swiftshader/src/OpenGL/compiler/
H A DIntermediate.cpp168 case EOpDeterminant: return "determinant";
1171 float determinant = ComputeDeterminant(size, unionArray); local
1172 if(determinant != 0.0f)
1174 float invDet = 1.0f / determinant;
1385 // update return type for determinant
/external/swiftshader/third_party/PowerVR_SDK/Tools/
H A DPVRTVector.h1215 @fn determinant
1219 VERTTYPE determinant() const function in struct:PVRTMat3
1236 VERTTYPE recDet = determinant();
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderMatrixTests.cpp299 case OP_DETERMINANT: return "determinant";
661 float determinant (const tcu::Matrix<float, Size, Size>& mat);
664 float determinant<2> (const tcu::Matrix<float, 2, 2>& mat) function in namespace:vkt::sr::__anon3908::MatrixCaseUtils
670 float determinant<3> (const tcu::Matrix<float, 3, 3>& mat) function in namespace:vkt::sr::__anon3908::MatrixCaseUtils
681 float determinant<4> (const tcu::Matrix<float, 4, 4>& mat) function in namespace:vkt::sr::__anon3908::MatrixCaseUtils
707 return + mat(0,0) * determinant(tcu::Mat3(minorMatrices[0]))
708 - mat(0,1) * determinant(tcu::Mat3(minorMatrices[1]))
709 + mat(0,2) * determinant(tcu::Mat3(minorMatrices[2]))
710 - mat(0,3) * determinant(tcu::Mat3(minorMatrices[3]));
721 const float det = determinant(ma
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fShaderMatrixTests.cpp304 case OP_DETERMINANT: return "determinant";
666 float determinant (const tcu::Matrix<float, Size, Size>& mat);
669 float determinant<2> (const tcu::Matrix<float, 2, 2>& mat) function in namespace:deqp::gles3::Functional::MatrixCaseUtils
675 float determinant<3> (const tcu::Matrix<float, 3, 3>& mat) function in namespace:deqp::gles3::Functional::MatrixCaseUtils
686 float determinant<4> (const tcu::Matrix<float, 4, 4>& mat) function in namespace:deqp::gles3::Functional::MatrixCaseUtils
712 return + mat(0,0) * determinant(tcu::Mat3(minorMatrices[0]))
713 - mat(0,1) * determinant(tcu::Mat3(minorMatrices[1]))
714 + mat(0,2) * determinant(tcu::Mat3(minorMatrices[2]))
715 - mat(0,3) * determinant(tcu::Mat3(minorMatrices[3]));
726 const float det = determinant(ma
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderBuiltinPrecisionTests.cpp3538 string getName (void) const { return "determinant"; }
3545 ExprP<float> determinant (ExprP<Matrix<float, Size, Size> > mat) function in namespace:vkt::shaderexecutor::Functions
3602 return (mat[0][0] * determinant(minors[0]) -
3603 mat[1][0] * determinant(minors[1]) +
3604 mat[2][0] * determinant(minors[2]) -
3605 mat[3][0] * determinant(minors[3]));
3630 ExprP<float> det = bindExpression("det", ctx, determinant(mat));
/external/deqp/modules/glshared/
H A DglsBuiltinPrecisionTests.cpp3589 string getName (void) const { return "determinant"; }
3596 ExprP<float> determinant (ExprP<Matrix<float, Size, Size> > mat) function in namespace:deqp::gls::BuiltinPrecisionTests::Functions
3653 return (mat[0][0] * determinant(minors[0]) -
3654 mat[1][0] * determinant(minors[1]) +
3655 mat[2][0] * determinant(minors[2]) -
3656 mat[3][0] * determinant(minors[3]));
3681 ExprP<float> det = bindExpression("det", ctx, determinant(mat));
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 595 milliseconds

12