/external/eigen/doc/snippets/ |
MatrixBase_computeInverseAndDetWithCheck.cpp | 5 double determinant; variable 6 m.computeInverseAndDetWithCheck(inverse,determinant,invertible); 7 cout << "Its determinant is " << determinant << endl;
|
/external/eigen/test/ |
determinant.cpp | 14 template<typename MatrixType> void determinant(const MatrixType& m) function 17 Determinant.h 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()); [all...] |
inverse.cpp | 54 VERIFY_IS_APPROX(det, m1.determinant()); 66 VERIFY_IS_MUCH_SMALLER_THAN(internal::abs(det-m3.determinant()), RealScalar(1));
|
dontalign.cpp | 40 VERIFY(square.determinant() != Scalar(0));
|
/external/eigen/test/eigen2/ |
eigen2_determinant.cpp | 14 template<typename MatrixType> void determinant(const MatrixType& m) function 17 Determinant.h 26 VERIFY_IS_APPROX(MatrixType::Identity(size, size).determinant(), Scalar(1)); 27 VERIFY_IS_APPROX((m1*m2).determinant(), m1.determinant() * m2.determinant()); 36 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant()); 39 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant()); [all...] |
eigen2_sparse_solvers.cpp | 150 Scalar refDet = refLu.determinant(); 164 // std::cerr << refDet << " == " << slu.determinant() << "\n"; 166 VERIFY_IS_APPROX(refDet,slu.determinant()); // FIXME det is not very stable for complex 182 VERIFY_IS_APPROX(refDet,slu.determinant());
|
eigen2_inverse.cpp | 31 while(ei_abs(m1.determinant()) < RealScalar(0.1) && rows <= 8)
|
/external/eigen/doc/examples/ |
TutorialLinAlgInverseDeterminant.cpp | 14 cout << "The determinant of A is " << A.determinant() << endl;
|
/external/eigen/Eigen/ |
LU | 9 * This module includes %LU decomposition and related notions such as matrix inversion and determinant. 12 * - MatrixBase::determinant() 27 #include "src/LU/Determinant.h"
|
/external/eigen/Eigen/src/LU/ |
Inverse.h | 54 typename ResultType::Scalar& determinant, 58 determinant = matrix.coeff(0,0); 59 invertible = abs(determinant) > absDeterminantThreshold; 60 if(invertible) result.coeffRef(0,0) = typename ResultType::Scalar(1) / determinant; 85 const Scalar invdet = typename MatrixType::Scalar(1) / matrix.determinant(); 97 typename ResultType::Scalar& determinant, 102 determinant = matrix.determinant(); 103 invertible = abs(determinant) > absDeterminantThreshold; 105 const Scalar invdet = Scalar(1) / determinant; 360 (derived(), absDeterminantThreshold, inverse, determinant, invertible); local 388 RealScalar determinant; local [all...] |
Determinant.h | 41 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
|
/external/chromium_org/ui/gfx/ |
matrix3_f.cc | 33 // This routine is separated from the Matrix3F::Determinant because in 103 double determinant = Determinant3x3(data_); local 104 if (std::numeric_limits<float>::epsilon() > std::abs(determinant)) 108 (data_[M11] * data_[M22] - data_[M12] * data_[M21]) / determinant, 109 (data_[M02] * data_[M21] - data_[M01] * data_[M22]) / determinant, 110 (data_[M01] * data_[M12] - data_[M02] * data_[M11]) / determinant, 111 (data_[M12] * data_[M20] - data_[M10] * data_[M22]) / determinant, 112 (data_[M00] * data_[M22] - data_[M02] * data_[M20]) / determinant, 113 (data_[M02] * data_[M10] - data_[M00] * data_[M12]) / determinant, 114 (data_[M10] * data_[M21] - data_[M11] * data_[M20]) / determinant, [all...] |
matrix3_unittest.cc | 47 TEST(Matrix3fTest, Determinant) { 48 EXPECT_EQ(1.0f, Matrix3F::Identity().Determinant()); 49 EXPECT_EQ(0.0f, Matrix3F::Zeros().Determinant()); 50 EXPECT_EQ(0.0f, Matrix3F::Ones().Determinant()); 55 EXPECT_EQ(390.0f, matrix.Determinant()); 59 EXPECT_EQ(0, matrix.Determinant()); 64 EXPECT_NEAR(0.3149f, matrix.Determinant(), 0.0001f); 76 EXPECT_EQ(0, singular.Determinant());
|
matrix3_f.h | 66 // Value of the determinant of the matrix. 67 float Determinant() const;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
FloatPolygon.cpp | 37 static inline float determinant(const FloatSize& a, const FloatSize& b) function in namespace:WebCore 44 return !determinant(p1 - p0, p2 - p0); 104 bool clockwise = determinant(vertexAt(minVertexIndex) - prevVertex, nextVertex - prevVertex) > 0; 215 float denominator = determinant(thisDelta, otherDelta); 224 float uThisLine = determinant(otherDelta, vertex1Delta) / denominator; 225 float uOtherLine = determinant(thisDelta, vertex1Delta) / denominator;
|
FloatQuad.cpp | 56 inline float determinant(const FloatSize& a, const FloatSize& b) function in namespace:WebCore 161 if (determinant(v1, p - m_p1) < 0) 165 if (determinant(v2, p - m_p2) < 0) 169 if (determinant(v3, p - m_p3) < 0) 173 if (determinant(v4, p - m_p4) < 0) 233 return determinant(m_p2 - m_p1, m_p3 - m_p2) < 0;
|
/external/eigen/Eigen/src/QR/ |
HouseholderQR.h | 133 /** \returns the absolute value of the determinant of the matrix of which 140 * \warning a determinant can be very big or small, so for matrices 144 * \sa logAbsDeterminant(), MatrixBase::determinant() 148 /** \returns the natural log of the absolute value of the determinant of the matrix of which 156 * to determinant computation. 158 * \sa absDeterminant(), MatrixBase::determinant() 177 eigen_assert(m_qr.rows() == m_qr.cols() && "You can't take the determinant of a non-square matrix!"); 185 eigen_assert(m_qr.rows() == m_qr.cols() && "You can't take the determinant of a non-square matrix!");
|
/external/eigen/doc/ |
C06_TutorialLinearAlgebra.dox | 158 \section TutorialLinAlgInverse Computing inverse and determinant 160 First of all, make sure that you really want this. While inverse and determinant are fundamental mathematical concepts, 162 advantageously replaced by solve() operations, and the determinant is often \em not a good way of checking if a matrix 165 However, for \em very \em small matrices, the above is not true, and inverse and determinant can be very useful. 167 While certain decompositions, such as PartialPivLU and FullPivLU, offer inverse() and determinant() methods, you can also 168 call inverse() and determinant() directly on a matrix. If your matrix is of a very small fixed size (at most 4x4) this
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/transforms/ |
AffineTransform.cpp | 95 double determinant = det(); local 96 if (determinant == 0.0) 106 result.m_transform[0] = m_transform[3] / determinant; 107 result.m_transform[1] = -m_transform[1] / determinant; 108 result.m_transform[2] = -m_transform[2] / determinant; 109 result.m_transform[3] = m_transform[0] / determinant; 111 - m_transform[3] * m_transform[4]) / determinant; 113 - m_transform[0] * m_transform[5]) / determinant;
|
/external/llvm/test/Transforms/InstCombine/ |
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)
|
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)
|
/external/skia/tests/ |
Matrix44Test.cpp | 299 REPORTER_ASSERT(reporter, nearly_equal_double(1, a.determinant())); 301 REPORTER_ASSERT(reporter, nearly_equal_double(2, a.determinant())); 304 REPORTER_ASSERT(reporter, nearly_equal_double(0.5, b.determinant())); 309 nearly_equal_double(a.determinant(), 310 b.determinant())); 313 REPORTER_ASSERT(reporter, nearly_equal_double(16, d.determinant())); 317 REPORTER_ASSERT(reporter, nearly_equal_double(32, e.determinant())); 319 REPORTER_ASSERT(reporter, nearly_equal_double(0, e.determinant()));
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/ |
mat2.js | 120 // Calculate the determinant 155 * Calculates the determinant of a mat2 158 * @returns {Number} determinant of a 160 mat2.determinant = function (a) {
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
trsMatrix.h | 25 // Calculate the determinant of a matrix
|
/packages/apps/Camera2/jni/feature_mos/src/mosaic/ |
trsMatrix.h | 25 // Calculate the determinant of a matrix
|