Home
last modified time | relevance | path

Searched refs:invdet (Results 1 – 8 of 8) sorted by relevance

/external/eigen/Eigen/src/LU/
DInverseImpl.h77 const MatrixType& matrix, const typename ResultType::Scalar& invdet,
80 result.coeffRef(0,0) = matrix.coeff(1,1) * invdet;
81 result.coeffRef(1,0) = -matrix.coeff(1,0) * invdet;
82 result.coeffRef(0,1) = -matrix.coeff(0,1) * invdet;
83 result.coeffRef(1,1) = matrix.coeff(0,0) * invdet;
93 const Scalar invdet = typename MatrixType::Scalar(1) / matrix.determinant();
94 compute_inverse_size2_helper(matrix, invdet, result);
115 const Scalar invdet = Scalar(1) / determinant;
116 compute_inverse_size2_helper(matrix, invdet, inverse);
142 const typename ResultType::Scalar& invdet,
[all …]
/external/skia/modules/canvaskit/
Dmatrix.js353 var invdet = 1.0 / det;
356 if (det === 0 || invdet === Infinity) {
361 b00 *= invdet;
362 b01 *= invdet;
363 b02 *= invdet;
364 b03 *= invdet;
365 b04 *= invdet;
366 b05 *= invdet;
367 b06 *= invdet;
368 b07 *= invdet;
[all …]
/external/skia/src/core/
DSkMatrix44.cpp592 double invdet = sk_ieee_double_divide(1.0, det); in invert() local
596 if (!sk_float_isfinite(sk_double_to_float(invdet))) { in invert()
600 b00 *= invdet; in invert()
601 b01 *= invdet; in invert()
602 b03 *= invdet; in invert()
603 b06 *= invdet; in invert()
604 b07 *= invdet; in invert()
605 b08 *= invdet; in invert()
606 b09 *= invdet; in invert()
607 b10 *= invdet; in invert()
[all …]
DSkM44.cpp281 double invdet = sk_ieee_double_divide(1.0, det); in invert() local
286 b00 *= invdet; in invert()
287 b01 *= invdet; in invert()
288 b02 *= invdet; in invert()
289 b03 *= invdet; in invert()
290 b04 *= invdet; in invert()
291 b05 *= invdet; in invert()
292 b06 *= invdet; in invert()
293 b07 *= invdet; in invert()
294 b08 *= invdet; in invert()
[all …]
/external/skqp/src/core/
DSkMatrix44.cpp583 double invdet = sk_ieee_double_divide(1.0, det); in invert() local
587 if (!sk_float_isfinite(sk_double_to_float(invdet))) { in invert()
591 b00 *= invdet; in invert()
592 b01 *= invdet; in invert()
593 b03 *= invdet; in invert()
594 b06 *= invdet; in invert()
595 b07 *= invdet; in invert()
596 b08 *= invdet; in invert()
597 b09 *= invdet; in invert()
598 b10 *= invdet; in invert()
[all …]
/external/eigen/Eigen/src/Geometry/
DHyperplane.h204 Scalar invdet = Scalar(1) / det; in intersection() local
205 …return VectorType(invdet*(coeffs().coeff(1)*other.coeffs().coeff(2)-other.coeffs().coeff(1)*coeffs… in intersection()
206invdet*(other.coeffs().coeff(0)*coeffs().coeff(2)-coeffs().coeff(0)*other.coeffs().coeff(2))); in intersection()
/external/skqp/third_party/skcms/
Dskcms.cc1312 double invdet = 1.0 / determinant; in skcms_Matrix3x3_invert() local
1313 if (invdet > +FLT_MAX || invdet < -FLT_MAX || !isfinitef_((float)invdet)) { in skcms_Matrix3x3_invert()
1317 b0 *= invdet; in skcms_Matrix3x3_invert()
1318 b1 *= invdet; in skcms_Matrix3x3_invert()
1319 b2 *= invdet; in skcms_Matrix3x3_invert()
1320 b3 *= invdet; in skcms_Matrix3x3_invert()
1321 b4 *= invdet; in skcms_Matrix3x3_invert()
1322 b5 *= invdet; in skcms_Matrix3x3_invert()
/external/skia/third_party/skcms/
Dskcms.cc1764 double invdet = 1.0 / determinant; in skcms_Matrix3x3_invert() local
1765 if (invdet > +FLT_MAX || invdet < -FLT_MAX || !isfinitef_((float)invdet)) { in skcms_Matrix3x3_invert()
1769 b0 *= invdet; in skcms_Matrix3x3_invert()
1770 b1 *= invdet; in skcms_Matrix3x3_invert()
1771 b2 *= invdet; in skcms_Matrix3x3_invert()
1772 b3 *= invdet; in skcms_Matrix3x3_invert()
1773 b4 *= invdet; in skcms_Matrix3x3_invert()
1774 b5 *= invdet; in skcms_Matrix3x3_invert()