/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMatrixTest.java | 63 final Matrix matrix = new Matrix(); in set_shouldAddOpsToMatrix() local 64 matrix.setScale(1, 1); in set_shouldAddOpsToMatrix() 65 matrix.preScale(2, 2, 2, 2); in set_shouldAddOpsToMatrix() 66 matrix.postScale(3, 3, 3, 3); in set_shouldAddOpsToMatrix() 68 final ShadowMatrix shadow = shadowOf(matrix); in set_shouldAddOpsToMatrix() 76 final Matrix matrix = new Matrix(); in setScale_shouldAddOpsToMatrix() local 77 matrix.setScale(1, 2, 3, 4); in setScale_shouldAddOpsToMatrix() 79 final ShadowMatrix shadow = shadowOf(matrix); in setScale_shouldAddOpsToMatrix() 111 final Matrix matrix = new Matrix(); in testIsIdentity() local 112 assertThat(matrix.isIdentity()) in testIsIdentity() [all …]
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/ |
D | example_test.cc | 38 std::vector<SparseFloatFeatureColumn<float>> matrix; in TEST_F() local 39 matrix.resize(6); in TEST_F() 40 matrix[0].SetDimension(3); in TEST_F() 41 matrix[1].SetDimension(3); in TEST_F() 42 matrix[2].SetDimension(3); in TEST_F() 43 matrix[3].SetDimension(3); in TEST_F() 44 matrix[4].SetDimension(1); in TEST_F() 45 matrix[5].SetDimension(1); in TEST_F() 47 matrix[0].Add(1, 0.4f); in TEST_F() 48 matrix[0].Add(2, 0.3f); in TEST_F() [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.matType.int.frag.out | 9 0:25 move second child to first child ( temp 1X1 matrix of int) 10 0:25 'r00' ( temp 1X1 matrix of int) 11 0:25 transpose ( temp 1X1 matrix of int) 12 0:25 'i1x1' ( temp 1X1 matrix of int) 14 0:26 move second child to first child ( temp 1X2 matrix of int) 15 0:26 'r01' ( temp 1X2 matrix of int) 16 0:26 transpose ( temp 1X2 matrix of int) 17 0:26 'i2x1' ( temp 2X1 matrix of int) 19 0:27 move second child to first child ( temp 1X3 matrix of int) 20 0:27 'r02' ( temp 1X3 matrix of int) [all …]
|
D | hlsl.type.type.conversion.all.frag.out | 2 ERROR: 0:88: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 2-component vector o… 3 ERROR: 0:89: '=' : cannot convert from ' const 2X3 matrix of float' to ' temp 2-component vector o… 4 ERROR: 0:90: '=' : cannot convert from ' const 2X4 matrix of float' to ' temp 2-component vector o… 5 ERROR: 0:91: '=' : cannot convert from ' const 3X2 matrix of float' to ' temp 2-component vector o… 6 ERROR: 0:92: '=' : cannot convert from ' const 3X3 matrix of float' to ' temp 2-component vector o… 7 ERROR: 0:93: '=' : cannot convert from ' const 3X4 matrix of float' to ' temp 2-component vector o… 8 ERROR: 0:94: '=' : cannot convert from ' const 4X2 matrix of float' to ' temp 2-component vector o… 9 ERROR: 0:95: '=' : cannot convert from ' const 4X3 matrix of float' to ' temp 2-component vector o… 10 ERROR: 0:96: '=' : cannot convert from ' const 4X4 matrix of float' to ' temp 2-component vector o… 12 ERROR: 0:98: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 3-component vector o… [all …]
|
D | matrix2.frag.out | 12 0:21 move second child to first child ( temp 3X4 matrix of float) 13 0:21 'm34' ( temp 3X4 matrix of float) 14 0:21 outer product ( global 3X4 matrix of float) 17 0:23 add second child into first child ( temp 3X4 matrix of float) 18 0:23 'm34' ( temp 3X4 matrix of float) 41 0:26 vector-times-matrix ( temp 3-component vector of float) 43 0:26 'm34' ( temp 3X4 matrix of float) 46 0:28 matrix scale second child into first child ( temp 3X4 matrix of float) 47 0:28 'm34' ( temp 3X4 matrix of float) 53 0:30 move second child to first child ( temp 4X4 matrix of float) [all …]
|
D | hlsl.matType.bool.frag.out | 9 0:25 move second child to first child ( temp 1X1 matrix of bool) 10 0:25 'r00' ( temp 1X1 matrix of bool) 11 0:25 transpose ( temp 1X1 matrix of bool) 12 0:25 'b1x1' ( temp 1X1 matrix of bool) 14 0:26 move second child to first child ( temp 1X2 matrix of bool) 15 0:26 'r01' ( temp 1X2 matrix of bool) 16 0:26 transpose ( temp 1X2 matrix of bool) 17 0:26 'b2x1' ( temp 2X1 matrix of bool) 19 0:27 move second child to first child ( temp 1X3 matrix of bool) 20 0:27 'r02' ( temp 1X3 matrix of bool) [all …]
|
D | hlsl.matpack-pragma.frag.out | 17 0:31 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of flo… 18 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 19 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 27 0:31 mat2: direct index for structure (layout( column_major) temp 4X4 matrix of … 28 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 29 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 37 0:31 mat3: direct index for structure (layout( column_major) temp 4X4 matrix of fl… 38 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 39 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 47 0:32 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of float) [all …]
|
D | hlsl.mul-truncate.frag.out | 2 WARNING: 0:24: '' : mul() matrix size mismatch 3 WARNING: 0:25: '' : mul() matrix size mismatch 4 WARNING: 0:28: '' : mul() matrix size mismatch 5 WARNING: 0:29: '' : mul() matrix size mismatch 6 WARNING: 0:32: '' : mul() matrix size mismatch 7 WARNING: 0:33: '' : mul() matrix size mismatch 8 WARNING: 0:34: '' : mul() matrix size mismatch 9 WARNING: 0:35: '' : mul() matrix size mismatch 22 …matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major … 27 …matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major … [all …]
|
D | hlsl.type.type.conversion.valid.frag.out | 64 0:27 move second child to first child ( temp 2X2 matrix of float) 65 0:27 'var52' ( temp 2X2 matrix of float) 72 0:28 move second child to first child ( temp 2X2 matrix of float) 73 0:28 'var55' ( temp 2X2 matrix of float) 80 0:29 move second child to first child ( temp 2X2 matrix of float) 81 0:29 'var56' ( temp 2X2 matrix of float) 88 0:30 move second child to first child ( temp 2X3 matrix of float) 89 0:30 'var65' ( temp 2X3 matrix of float) 98 0:31 move second child to first child ( temp 2X3 matrix of float) 99 0:31 'var70' ( temp 2X3 matrix of float) [all …]
|
D | hlsl.intrinsics.vert.out | 680 0:331 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; ( temp 2X2 matrix of float) 682 0:331 'inF0' ( in 2X2 matrix of float) 683 0:331 'inF1' ( in 2X2 matrix of float) 684 0:331 'inF2' ( in 2X2 matrix of float) 687 0:333 Convert float to bool ( temp 2X2 matrix of bool) 688 0:333 'inF0' ( in 2X2 matrix of float) 689 0:333 Absolute value ( temp 2X2 matrix of float) 690 0:333 'inF0' ( in 2X2 matrix of float) 691 0:333 arc cosine ( temp 2X2 matrix of float) 692 0:333 'inF0' ( in 2X2 matrix of float) [all …]
|
D | hlsl.matNx1.frag.out | 9 0:13 move second child to first child ( temp 1X1 matrix of float) 10 0:13 'r00' ( temp 1X1 matrix of float) 11 0:13 transpose ( temp 1X1 matrix of float) 12 0:13 'f1x1' ( temp 1X1 matrix of float) 14 0:14 move second child to first child ( temp 1X2 matrix of float) 15 0:14 'r01' ( temp 1X2 matrix of float) 16 0:14 transpose ( temp 1X2 matrix of float) 17 0:14 'f2x1' ( temp 2X1 matrix of float) 19 0:15 move second child to first child ( temp 1X3 matrix of float) 20 0:15 'r02' ( temp 1X3 matrix of float) [all …]
|
D | hlsl.intrinsics.frag.out | 1593 0:401 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; ( temp 2X2 matrix of float) 1595 0:401 'inF0' ( in 2X2 matrix of float) 1596 0:401 'inF1' ( in 2X2 matrix of float) 1597 0:401 'inF2' ( in 2X2 matrix of float) 1603 0:403 Convert float to bool ( temp 2X2 matrix of bool) 1604 0:403 'inF0' ( in 2X2 matrix of float) 1606 0:403 move second child to first child ( temp 2X2 matrix of float) 1607 0:403 'r001' ( temp 2X2 matrix of float) 1608 0:403 Absolute value ( temp 2X2 matrix of float) 1609 0:403 'inF0' ( in 2X2 matrix of float) [all …]
|
/external/pdfium/fxbarcode/qrcode/ |
D | BC_QRCoderMatrixUtil.cpp | 78 void CBC_QRCoderMatrixUtil::ClearMatrix(CBC_CommonByteMatrix* matrix, in ClearMatrix() argument 80 if (!matrix) { in ClearMatrix() 84 matrix->clear((uint8_t)-1); in ClearMatrix() 91 CBC_CommonByteMatrix* matrix, in BuildMatrix() argument 93 if (!matrix) { in BuildMatrix() 97 ClearMatrix(matrix, e); in BuildMatrix() 100 EmbedBasicPatterns(version, matrix, e); in BuildMatrix() 103 EmbedTypeInfo(ecLevel, maskPattern, matrix, e); in BuildMatrix() 106 MaybeEmbedVersionInfo(version, matrix, e); in BuildMatrix() 109 EmbedDataBits(dataBits, maskPattern, matrix, e); in BuildMatrix() [all …]
|
/external/eigen/Eigen/src/LU/ |
D | InverseImpl.h | 26 static inline void run(const MatrixType& matrix, ResultType& result) in run() 28 result = matrix.partialPivLu().inverse(); in run() 43 static inline void run(const MatrixType& matrix, ResultType& result) 46 internal::evaluator<MatrixType> matrixEval(matrix); 56 const MatrixType& matrix, 64 determinant = matrix.coeff(0,0); 77 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; [all …]
|
/external/tensorflow/tensorflow/python/ops/linalg/ |
D | linalg_impl.py | 64 def logdet(matrix, name=None): argument 89 with ops.name_scope(name, 'logdet', [matrix]): 90 chol = gen_linalg_ops.cholesky(matrix) 97 def adjoint(matrix, name=None): argument 119 with ops.name_scope(name, 'adjoint', [matrix]): 120 matrix = ops.convert_to_tensor(matrix, name='matrix') 121 return array_ops.matrix_transpose(matrix, conjugate=True) 126 def _matrix_exp_pade3(matrix): argument 129 b = [constant_op.constant(x, matrix.dtype) for x in b] 130 ident = linalg_ops.eye(array_ops.shape(matrix)[-2], [all …]
|
/external/autotest/client/deps/webgl_mpd/src/resources/ |
D | J3DIMath.js | 147 var matrix; 150 matrix = arguments[0].$matrix; 152 this.$matrix.m11 = matrix.m11; 153 this.$matrix.m12 = matrix.m12; 154 this.$matrix.m13 = matrix.m13; 155 this.$matrix.m14 = matrix.m14; 157 this.$matrix.m21 = matrix.m21; 158 this.$matrix.m22 = matrix.m22; 159 this.$matrix.m23 = matrix.m23; 160 this.$matrix.m24 = matrix.m24; [all …]
|
/external/libtextclassifier/lang_id/common/ |
D | embedding-network-params.h | 102 Matrix matrix; in GetEmbeddingMatrix() local 103 matrix.rows = embeddings_num_rows(i); in GetEmbeddingMatrix() 104 matrix.cols = embeddings_num_cols(i); in GetEmbeddingMatrix() 105 matrix.elements = embeddings_weights(i); in GetEmbeddingMatrix() 106 matrix.quant_type = embeddings_quant_type(i); in GetEmbeddingMatrix() 107 matrix.quant_scales = embeddings_quant_scales(i); in GetEmbeddingMatrix() 108 return matrix; in GetEmbeddingMatrix() 117 Matrix matrix; in GetHiddenLayerMatrix() local 118 matrix.rows = hidden_num_rows(i); in GetHiddenLayerMatrix() 119 matrix.cols = hidden_num_cols(i); in GetHiddenLayerMatrix() [all …]
|
/external/skqp/docs/ |
D | SkMatrix_Reference.bmh | 11 Matrix holds a 3 by 3 matrix for transforming coordinates. This allows mapping 20 Matrix includes a hidden variable that classifies the type of matrix to 64 SkMatrix matrix = SkMatrix::MakeTrans(64, 48); 67 canvas->concat(matrix); 136 auto debugster = [](const char* prefix, const SkMatrix& matrix) -> void { 138 typeMask += SkMatrix::kIdentity_Mask == matrix.getType() ? "kIdentity_Mask " : ""; 139 typeMask += SkMatrix::kTranslate_Mask & matrix.getType() ? "kTranslate_Mask " : ""; 140 typeMask += SkMatrix::kScale_Mask & matrix.getType() ? "kScale_Mask " : ""; 141 typeMask += SkMatrix::kAffine_Mask & matrix.getType() ? "kAffine_Mask " : ""; 142 typeMask += SkMatrix::kPerspective_Mask & matrix.getType() ? "kPerspective_Mask" : ""; [all …]
|
/external/skia/docs/ |
D | SkMatrix_Reference.bmh | 11 Matrix holds a 3 by 3 matrix for transforming coordinates. This allows mapping 20 Matrix includes a hidden variable that classifies the type of matrix to 64 SkMatrix matrix = SkMatrix::MakeTrans(64, 48); 67 canvas->concat(matrix); 135 auto debugster = [](const char* prefix, const SkMatrix& matrix) -> void { 137 typeMask += SkMatrix::kIdentity_Mask == matrix.getType() ? "kIdentity_Mask " : ""; 138 typeMask += SkMatrix::kTranslate_Mask & matrix.getType() ? "kTranslate_Mask " : ""; 139 typeMask += SkMatrix::kScale_Mask & matrix.getType() ? "kScale_Mask " : ""; 140 typeMask += SkMatrix::kAffine_Mask & matrix.getType() ? "kAffine_Mask " : ""; 141 typeMask += SkMatrix::kPerspective_Mask & matrix.getType() ? "kPerspective_Mask" : ""; [all …]
|
/external/eigen/bench/btl/data/ |
D | action_settings.txt | 1 aat ; "{/*1.5 A x A^T}" ; "matrix size" ; 4:5000 2 ata ; "{/*1.5 A^T x A}" ; "matrix size" ; 4:5000 3 atv ; "{/*1.5 matrix^T x vector}" ; "matrix size" ; 4:5000 6 matrix_matrix ; "{/*1.5 matrix matrix product}" ; "matrix size" ; 4:5000 7 matrix_vector ; "{/*1.5 matrix vector product}" ; "matrix size" ; 4:5000 8 trmm ; "{/*1.5 triangular matrix matrix product}" ; "matrix size" ; 4:5000 10 trisolve_matrix ; "{/*1.5 triangular solver - matrix (M = inv(L) M)}" ; "size" ; 4:5000 11 cholesky ; "{/*1.5 Cholesky decomposition}" ; "matrix size" ; 4:5000 12 complete_lu_decomp ; "{/*1.5 Complete LU decomposition}" ; "matrix size" ; 4:5000 13 partial_lu_decomp ; "{/*1.5 Partial LU decomposition}" ; "matrix size" ; 4:5000 [all …]
|
/external/eigen/test/ |
D | geo_transformations.cpp | 50 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity()); in non_projective_only() 69 VERIFY((t0 * t1).matrix().isIdentity(test_precision<Scalar>())); in non_projective_only() 72 VERIFY_IS_APPROX(t1.matrix(), t0.matrix()); in non_projective_only() 178 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity()); in transformations() 179 t0.matrix().setZero(); in transformations() 181 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity()); in transformations() 193 VERIFY((t0 * t1).matrix().isIdentity(test_precision<Scalar>())); in transformations() 196 VERIFY_IS_APPROX(t1.matrix(), t0.matrix()); in transformations() 200 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations() 203 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations() [all …]
|
D | corners.cpp | 13 VERIFY_IS_EQUAL(matrix.A, matrix.B); \ 25 MatrixType matrix = MatrixType::Random(rows,cols); in corners() local 48 MatrixType matrix = MatrixType::Random(); in corners_fixedsize() local 60 VERIFY_IS_EQUAL((matrix.template topLeftCorner<r,c>()), (matrix.template block<r,c>(0,0))); in corners_fixedsize() 61 VERIFY_IS_EQUAL((matrix.template topRightCorner<r,c>()), (matrix.template block<r,c>(0,cols-c))); in corners_fixedsize() 62 …VERIFY_IS_EQUAL((matrix.template bottomLeftCorner<r,c>()), (matrix.template block<r,c>(rows-r,0))); in corners_fixedsize() 63 …VERIFY_IS_EQUAL((matrix.template bottomRightCorner<r,c>()), (matrix.template block<r,c>(rows-r,col… in corners_fixedsize() 65 …VERIFY_IS_EQUAL((matrix.template topLeftCorner<r,c>()), (matrix.template topLeftCorner<r,Dynamic>(… in corners_fixedsize() 66 …VERIFY_IS_EQUAL((matrix.template topRightCorner<r,c>()), (matrix.template topRightCorner<r,Dynamic… in corners_fixedsize() 67 …VERIFY_IS_EQUAL((matrix.template bottomLeftCorner<r,c>()), (matrix.template bottomLeftCorner<r,Dyn… in corners_fixedsize() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/linalg/ |
D | linear_operator_full_matrix_test.py | 43 matrix = linear_operator_test_util.random_positive_definite_matrix( 46 lin_op_matrix = matrix 49 lin_op_matrix = array_ops.placeholder_with_default(matrix, shape=None) 58 return operator, matrix 62 matrix = [[1., 0.], [1., 11.]] 64 matrix, 81 matrix = math_ops.matmul(tril, tril, transpose_b=True).eval() 82 operator = linalg.LinearOperatorFullMatrix(matrix) 85 cond = np.linalg.cond(matrix) 92 matrix = [[1., 1.], [1., 1.]] [all …]
|
/external/libtextclassifier/lang_id/common/flatbuffers/ |
D | embedding-network-params-from-flatbuffer.cc | 52 bool VerifyQuantizationScales(EmbeddingNetworkParams::Matrix matrix, in VerifyQuantizationScales() argument 54 if (matrix.quant_scales == nullptr) { in VerifyQuantizationScales() 56 << static_cast<int>(matrix.quant_type) in VerifyQuantizationScales() 60 bool valid_scales = IsMemoryRangeValid(matrix.quant_scales, in VerifyQuantizationScales() 61 matrix.rows * sizeof(float16), bytes); in VerifyQuantizationScales() 73 bool VerifyMatrix(EmbeddingNetworkParams::Matrix matrix, StringPiece bytes) { in VerifyMatrix() argument 74 if ((matrix.rows < 0) || (matrix.cols < 0)) { in VerifyMatrix() 75 SAFTM_LOG(ERROR) << "Wrong matrix geometry: " << matrix.rows << " x " in VerifyMatrix() 76 << matrix.cols; in VerifyMatrix() 80 const int num_elements = matrix.rows * matrix.cols; in VerifyMatrix() [all …]
|
/external/libopus/src/ |
D | mapping_matrix.c | 57 opus_int16 *mapping_matrix_get_data(const MappingMatrix *matrix) in mapping_matrix_get_data() argument 60 return (opus_int16*)(void*)((char*)matrix + align(sizeof(MappingMatrix))); in mapping_matrix_get_data() 63 void mapping_matrix_init(MappingMatrix * const matrix, in mapping_matrix_init() argument 74 matrix->rows = rows; in mapping_matrix_init() 75 matrix->cols = cols; in mapping_matrix_init() 76 matrix->gain = gain; in mapping_matrix_init() 77 ptr = mapping_matrix_get_data(matrix); in mapping_matrix_init() 86 const MappingMatrix *matrix, in mapping_matrix_multiply_channel_in_float() argument 98 celt_assert(input_rows <= matrix->cols && output_rows <= matrix->rows); in mapping_matrix_multiply_channel_in_float() 100 matrix_data = mapping_matrix_get_data(matrix); in mapping_matrix_multiply_channel_in_float() [all …]
|