Home
last modified time | relevance | path

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

1234567

/third_party/skia/src/core/
DSkMatrixInvert.cpp19 double determinant = a00 * a11 - a01 * a10; in SkInvert2x2Matrix() local
21 double invdet = sk_ieee_double_divide(1.0, determinant); in SkInvert2x2Matrix()
29 determinant = 0.0f; in SkInvert2x2Matrix()
32 return determinant; in SkInvert2x2Matrix()
51 double determinant = a00 * b01 + a01 * b11 + a02 * b21; in SkInvert3x3Matrix() local
53 double invdet = sk_ieee_double_divide(1.0, determinant); in SkInvert3x3Matrix()
66 determinant = 0.0f; in SkInvert3x3Matrix()
69 return determinant; in SkInvert3x3Matrix()
104 double determinant = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06; in SkInvert4x4Matrix() local
106 double invdet = sk_ieee_double_divide(1.0, determinant); in SkInvert4x4Matrix()
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-hlsl/comp/
Dinverse.comp7 // adjoint and dividing by the determinant. The contents of the matrix are changed.
10 float2x2 adj; // The adjoint matrix (inverse after dividing by determinant)
19 // Calculate the determinant as a combination of the cofactors of the first row.
22 // Divide the classical adjoint matrix by the determinant.
23 // If determinant is zero, matrix is not invertable, so leave it unchanged.
27 // Returns the determinant of a 2x2 matrix.
34 // adjoint and dividing by the determinant. The contents of the matrix are changed.
37 float3x3 adj; // The adjoint matrix (inverse after dividing by determinant)
52 // Calculate the determinant as a combination of the cofactors of the first row.
55 // Divide the classical adjoint matrix by the determinant.
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/comp/
Dinverse.comp24 // Returns the determinant of a 2x2 matrix.
31 // Returns the determinant of a 3x3 matrix.
39 // adjoint and dividing by the determinant. The contents of the matrix are changed.
43 float4x4 adj; // The adjoint matrix (inverse after dividing by determinant)
66 // Calculate the determinant as a combination of the cofactors of the first row.
69 // Divide the classical adjoint matrix by the determinant.
70 // If determinant is zero, matrix is not invertable, so leave it unchanged.
75 // adjoint and dividing by the determinant. The contents of the matrix are changed.
79 float3x3 adj; // The adjoint matrix (inverse after dividing by determinant)
94 // Calculate the determinant as a combination of the cofactors of the first row.
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/comp/
Dinverse.comp7 // adjoint and dividing by the determinant. The contents of the matrix are changed.
10 float2x2 adj; // The adjoint matrix (inverse after dividing by determinant)
19 // Calculate the determinant as a combination of the cofactors of the first row.
22 // Divide the classical adjoint matrix by the determinant.
23 // If determinant is zero, matrix is not invertable, so leave it unchanged.
27 // Returns the determinant of a 2x2 matrix.
34 // adjoint and dividing by the determinant. The contents of the matrix are changed.
37 float3x3 adj; // The adjoint matrix (inverse after dividing by determinant)
52 // Calculate the determinant as a combination of the cofactors of the first row.
55 // Divide the classical adjoint matrix by the determinant.
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/comp/
Dinverse.comp24 // Returns the determinant of a 2x2 matrix.
31 // Returns the determinant of a 3x3 matrix.
39 // adjoint and dividing by the determinant. The contents of the matrix are changed.
43 float4x4 adj; // The adjoint matrix (inverse after dividing by determinant)
66 // Calculate the determinant as a combination of the cofactors of the first row.
69 // Divide the classical adjoint matrix by the determinant.
70 // If determinant is zero, matrix is not invertable, so leave it unchanged.
75 // adjoint and dividing by the determinant. The contents of the matrix are changed.
79 float3x3 adj; // The adjoint matrix (inverse after dividing by determinant)
94 // Calculate the determinant as a combination of the cofactors of the first row.
[all …]
/third_party/skia/resources/sksl/intrinsics/
DDeterminant.sksl5 return (determinant(testMatrix2x2) == -2 &&
6 determinant(half3x3(1, 2, 3, 4, 5, 6, 7, 8, 10)) == -3 &&
7 determinant(float4x4(1, 2, 3, 4, 5, 7, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17)) == -16)
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/comp/
Dglsl.std450.comp72 // Returns the determinant of a 2x2 matrix.
79 // Returns the determinant of a 3x3 matrix.
87 // adjoint and dividing by the determinant. The contents of the matrix are changed.
91 float4x4 adj; // The adjoint matrix (inverse after dividing by determinant)
114 // Calculate the determinant as a combination of the cofactors of the first row.
117 // Divide the classical adjoint matrix by the determinant.
118 // If determinant is zero, matrix is not invertable, so leave it unchanged.
123 // adjoint and dividing by the determinant. The contents of the matrix are changed.
127 float3x3 adj; // The adjoint matrix (inverse after dividing by determinant)
142 // Calculate the determinant as a combination of the cofactors of the first row.
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl-no-opt/comp/
Dglsl.std450.fxconly.comp73 // adjoint and dividing by the determinant. The contents of the matrix are changed.
76 float2x2 adj; // The adjoint matrix (inverse after dividing by determinant)
85 // Calculate the determinant as a combination of the cofactors of the first row.
88 // Divide the classical adjoint matrix by the determinant.
89 // If determinant is zero, matrix is not invertable, so leave it unchanged.
93 // Returns the determinant of a 2x2 matrix.
100 // adjoint and dividing by the determinant. The contents of the matrix are changed.
103 float3x3 adj; // The adjoint matrix (inverse after dividing by determinant)
118 // Calculate the determinant as a combination of the cofactors of the first row.
121 // Divide the classical adjoint matrix by the determinant.
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/vert/
Dfunctions.vert61 // Returns the determinant of a 2x2 matrix.
68 // Returns the determinant of a 3x3 matrix.
76 // adjoint and dividing by the determinant. The contents of the matrix are changed.
80 float4x4 adj; // The adjoint matrix (inverse after dividing by determinant)
103 // Calculate the determinant as a combination of the cofactors of the first row.
106 // Divide the classical adjoint matrix by the determinant.
107 // If determinant is zero, matrix is not invertable, so leave it unchanged.
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/vert/
Dfunctions.vert61 // Returns the determinant of a 2x2 matrix.
68 // Returns the determinant of a 3x3 matrix.
76 // adjoint and dividing by the determinant. The contents of the matrix are changed.
80 float4x4 adj; // The adjoint matrix (inverse after dividing by determinant)
103 // Calculate the determinant as a combination of the cofactors of the first row.
106 // Divide the classical adjoint matrix by the determinant.
107 // If determinant is zero, matrix is not invertable, so leave it unchanged.
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/determinant/
De19305.wgsl.expected.glsl5 float res = determinant(mat2(0.0f, 0.0f, 0.0f, 0.0f));
35 float res = determinant(mat2(0.0f, 0.0f, 0.0f, 0.0f));
55 float res = determinant(mat2(0.0f, 0.0f, 0.0f, 0.0f));
D2b62ba.wgsl.expected.glsl5 float res = determinant(mat3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
35 float res = determinant(mat3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
55 float res = determinant(mat3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
Da0a87c.wgsl.expected.glsl5 …float res = determinant(mat4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0…
35 …float res = determinant(mat4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0…
55 …float res = determinant(mat4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0…
D2b62ba.wgsl26 // fn determinant(mat<3, 3, f32>) -> f32
28 var res: f32 = determinant(mat3x3<f32>());
De19305.wgsl26 // fn determinant(mat<2, 2, f32>) -> f32
28 var res: f32 = determinant(mat2x2<f32>());
Da0a87c.wgsl26 // fn determinant(mat<4, 4, f32>) -> f32
28 var res: f32 = determinant(mat4x4<f32>());
/third_party/boost/libs/qvm/test/
Ddeterminant_test.cpp18 float gd=test_qvm::determinant(x.b); in test()
19 float d=determinant(x); in test()
Dgold.hpp79 determinant( T * * a, int n ) in determinant() function
108 det += T(pow(-1.0,1.0+j1+1.0)) * a[0][j1] * determinant(m,n-1); in determinant()
146 det = determinant(c,N-1); in cofactor()
158 determinant( T (&in)[D][D] ) in determinant() function
167 T det=::test_qvm::detail::determinant(m,D); in determinant()
185 T det=::test_qvm::detail::determinant(m,D); in inverse()
/third_party/boost/boost/geometry/arithmetic/
Ddeterminant.hpp49 inline ReturnType determinant(U const& ux, U const& uy in determinant() function
60 inline ReturnType determinant(U const& u, V const& v) in determinant() function
/third_party/boost/boost/geometry/strategies/cartesian/
Dside_of_intersection.hpp247 T const d = geometry::detail::determinant<T> in side_value()
269 T const da = geometry::detail::determinant<T> in side_value()
280 T const result1 = geometry::detail::determinant<T> in side_value()
292 T const result2 = d * geometry::detail::determinant<T> in side_value()
/third_party/weston/tests/
Dmatrix-test.c73 determinant(const struct weston_matrix *m) in determinant() function
232 det = determinant(&m); in test()
397 printf("det = %g\n\n", determinant(&M)); in main()
410 det = determinant(&M); in main()
/third_party/boost/boost/gil/image_processing/
Dhessian.hpp65 auto determinant = ddxx_i * ddyy_i - dxdy_i * dxdy_i; in compute_hessian_responses() local
66 dst(x, y).at(std::integral_constant<int, 0>{}) = determinant; in compute_hessian_responses()
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dmatrix_utils.h175 T determinant() const in determinant() function
235 return at(0, 0) * Matrix<T>(minorMatrices[0], 3).determinant() - in determinant()
236 at(0, 1) * Matrix<T>(minorMatrices[1], 3).determinant() + in determinant()
237 at(0, 2) * Matrix<T>(minorMatrices[2], 3).determinant() - in determinant()
238 at(0, 3) * Matrix<T>(minorMatrices[3], 3).determinant(); in determinant()
334 T det = determinant(); in inverse()
/third_party/skia/third_party/externals/angle2/src/common/
Dmatrix_utils.h176 T determinant() const in determinant() function
236 return at(0, 0) * Matrix<T>(minorMatrices[0], 3).determinant() - in determinant()
237 at(0, 1) * Matrix<T>(minorMatrices[1], 3).determinant() + in determinant()
238 at(0, 2) * Matrix<T>(minorMatrices[2], 3).determinant() - in determinant()
239 at(0, 3) * Matrix<T>(minorMatrices[3], 3).determinant(); in determinant()
335 T det = determinant(); in inverse()
/third_party/vk-gl-cts/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()

1234567