/external/skqp/gm/ |
D | drawimageset.cpp | 98 SkMatrix matrices[4]; in onDraw() local 100 matrices[0].setRotate(30); in onDraw() 101 matrices[0].postTranslate(d / 3, 0); in onDraw() 109 SkAssertResult(matrices[1].setPolyToPoly(src, dst, 4)); in onDraw() 110 matrices[1].postTranslate(d, 50.f); in onDraw() 112 matrices[2].setRotate(-60.f); in onDraw() 113 matrices[2].postSkew(0.5f, -1.15f); in onDraw() 114 matrices[2].postScale(0.6f, 1.05f); in onDraw() 115 matrices[2].postTranslate(d, 2.6f * d); in onDraw() 121 SkAssertResult(matrices[3].setPolyToPoly(src, dst, 4)); in onDraw() [all …]
|
D | perspimages.cpp | 39 SkTDArray<SkMatrix> matrices; in onDraw() local 40 matrices.push()->setAll(1.f, 0.f, 0.f, in onDraw() 43 matrices.push()->setAll(1.f, 0.f, 0.f, in onDraw() 46 matrices[1].preSkew(0.2f, -0.1f); in onDraw() 47 matrices[1].preRotate(-65.f); in onDraw() 48 matrices[1].preScale(1.2f, .8f); in onDraw() 49 matrices[1].postTranslate(0.f, 60.f); in onDraw() 55 for (const auto& m : matrices) { in onDraw() 70 for (const auto& m : matrices) { in onDraw()
|
/external/skia/gm/ |
D | drawimageset.cpp | 118 SkMatrix matrices[4]; in onDraw() local 120 matrices[0].setRotate(30); in onDraw() 121 matrices[0].postTranslate(d / 3, 0); in onDraw() 129 SkAssertResult(matrices[1].setPolyToPoly(src, dst, 4)); in onDraw() 130 matrices[1].postTranslate(d, 50.f); in onDraw() 132 matrices[2].setRotate(-60.f); in onDraw() 133 matrices[2].postSkew(0.5f, -1.15f); in onDraw() 134 matrices[2].postScale(0.6f, 1.05f); in onDraw() 135 matrices[2].postTranslate(d, 2.6f * d); in onDraw() 141 SkAssertResult(matrices[3].setPolyToPoly(src, dst, 4)); in onDraw() [all …]
|
D | perspimages.cpp | 47 SkTDArray<SkMatrix> matrices; in onDraw() local 48 matrices.push()->setAll(1.f, 0.f, 0.f, in onDraw() 51 matrices.push()->setAll(1.f, 0.f, 0.f, in onDraw() 54 matrices[1].preSkew(0.2f, -0.1f); in onDraw() 55 matrices[1].preRotate(-65.f); in onDraw() 56 matrices[1].preScale(1.2f, .8f); in onDraw() 57 matrices[1].postTranslate(0.f, 60.f); in onDraw() 63 for (const auto& m : matrices) { in onDraw() 78 for (const auto& m : matrices) { in onDraw()
|
D | circulararcs.cpp | 280 SkTArray<SkMatrix> matrices; variable 281 matrices.push_back().setRotate(kRadius, kRadius, 45.f); 282 matrices.push_back(SkMatrix::I()); 283 matrices.push_back().setAll(-1, 0, 2*kRadius, 286 matrices.push_back().setAll( 1, 0, 0, 289 matrices.push_back().setAll( 1, 0, 0, 292 matrices.push_back().setAll( 0, -1, 2*kRadius, 295 matrices.push_back().setAll( 0, -1, 2*kRadius, 298 matrices.push_back().setAll( 0, 1, 0, 301 matrices.push_back().setAll( 0, 1, 0, [all …]
|
D | blurrect.cpp | 516 std::vector<SkMatrix> matrices; local 518 matrices.push_back(SkMatrix::RotateDeg(4.f, c)); 520 matrices.push_back(SkMatrix::RotateDeg(63.f, c)); 522 matrices.push_back(SkMatrix::RotateDeg(30.f, c)); 523 matrices.back().preScale(1.1f, .5f); 525 matrices.push_back(SkMatrix::RotateDeg(147.f, c)); 526 matrices.back().preScale(3.f, .1f); 532 matrices.push_back(SkMatrix::Concat(mirror, matrices.back())); 534 matrices.push_back(SkMatrix::RotateDeg(197.f, c)); 535 matrices.back().preSkew(.3f, -.5f); [all …]
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_TridiagonalMatMul.pbtxt | 8 tri-diagonal matrices to the left of multiplication. Last element is ignored. 15 matrices to the left of multiplication. 22 matrices to the left of multiplication. First element is ignored. 28 Tensor of shape `[..., M, N]`, representing MxN matrices to the right of 40 Calculates product of two matrices, where left matrix is a tridiagonal matrix.
|
D | api_def_MatrixTriangularSolve.pbtxt | 24 Boolean indicating whether the innermost matrices in `matrix` are 39 …summary: "Solves systems of linear equations with upper or lower triangular matrices by backsubsti… 43 square matrices. If `lower` is `True` then the strictly upper triangular part 50 `True` then the innermost matrices in `output` satisfy matrix equations 52 If `adjoint` is `False` then the strictly then the innermost matrices in
|
D | api_def_Qr.pbtxt | 7 form matrices of size `[M, N]`. Let `P` be the minimum of `M` and `N`. 32 summary: "Computes the QR decompositions of one or more matrices." 43 # q is a tensor of orthonormal matrices. 44 # r is a tensor of upper triangular matrices.
|
D | api_def_Cholesky.pbtxt | 15 summary: "Computes the Cholesky decomposition of one or more square matrices." 18 form square matrices. 27 **Note**: The gradient computation on GPU is faster for large matrices but
|
/external/tensorflow/tensorflow/python/kernel_tests/linalg/ |
D | linear_operator_composition_test.py | 59 matrices = [ 63 matrices = [ 69 lin_op_matrices = matrices 74 matrix, shape=None) for matrix in matrices] 82 matmul_order_list = list(reversed(matrices)) 166 matrices = [ 172 lin_op_matrices = matrices 177 matrix, shape=None) for matrix in matrices] 182 matmul_order_list = list(reversed(matrices))
|
D | linear_operator_block_diag_test.py | 97 matrices = [ 103 lin_op_matrices = matrices 108 matrix, shape=None) for matrix in matrices] 124 matrices = linear_operator_util.broadcast_matrix_batch_dims(matrices) 126 block_diag_dense = _block_diag_dense(expected_shape, matrices) 250 matrices = [] 252 matrices.append(variables_module.Variable( 259 is_positive_definite=True) for matrix in matrices],
|
D | linear_operator_block_lower_triangular_test.py | 105 matrices = [] 116 matrices.append(row) 118 lin_op_matrices = matrices 123 matrix, shape=None) for matrix in row] for row in matrices] 139 [op for row in matrices for op in row]) # pylint: disable=g-complex-comprehension 140 matrices = [broadcasted_matrices[i * (i + 1) // 2:(i + 1) * (i + 2) // 2] 141 for i in range(len(matrices))] 144 expected_shape, matrices)
|
D | linear_operator_kronecker_test.py | 112 matrices = [ 118 lin_op_matrices = matrices 122 array_ops.placeholder_with_default(m, shape=None) for m in matrices] 132 matrices = linear_operator_util.broadcast_matrix_batch_dims(matrices) 134 kronecker_dense = _kronecker_dense(matrices)
|
/external/skia/src/gpu/ |
D | GrUniformDataManager.h | 47 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 48 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 49 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 64 const float matrices[]) const;
|
/external/skia/src/gpu/gl/ |
D | GrGLProgramDataManager.h | 72 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 73 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 74 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 90 const float matrices[]) const;
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlPipelineStateDataManager.h | 47 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 48 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 49 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 72 const float matrices[]) const;
|
/external/skqp/src/gpu/vk/ |
D | GrVkPipelineStateDataManager.h | 49 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 50 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 51 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 76 const float matrices[]) const;
|
/external/skqp/src/gpu/gl/ |
D | GrGLProgramDataManager.h | 74 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 75 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 76 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 107 const float matrices[]) const;
|
/external/skqp/tests/ |
D | GrCCPRTest.cpp | 363 void drawPathsAndFlush(CCPRPathDrawer& ccpr, const SkMatrix* matrices, int numMatrices) { in drawPathsAndFlush() argument 366 ccpr.drawPath(fPaths[i], matrices[i % numMatrices]); in drawPathsAndFlush() 378 ccpr.drawPath(fPaths[idx], matrices[idx % numMatrices]); in drawPathsAndFlush() 498 SkMatrix matrices[3] = { in onRun() local 505 this->drawPathsAndFlush(ccpr, matrices, 3); in onRun() 521 this->drawPathsAndFlush(ccpr, matrices, 2); in onRun() 527 this->drawPathsAndFlush(ccpr, matrices, 2); in onRun() 532 this->drawPathsAndFlush(ccpr, matrices, 2); in onRun() 538 matrices[1].postTranslate(SkScalarFloorToInt(kCanvasSize * -.25f), in onRun() 541 this->drawPathsAndFlush(ccpr, matrices, 2); in onRun() [all …]
|
/external/eigen/doc/ |
D | TutorialArrayClass.dox | 59 …overloaded to provide write and read access to the coefficients of an array, just as with matrices. 76 Adding and subtracting two arrays is the same as for matrices. 94 … course you can multiply an array by a scalar, this works in the same way as matrices. Where arrays 95 are fundamentally different from matrices, is when you multiply two together. Matrices interpret 133 apply Matrix operations on arrays, or Array operations on matrices. Thus, if you need to do linear … 134 operations such as matrix multiplication, then you should use matrices; if you need to do coefficie… 137 access to all operations regardless of the choice of declaring objects as arrays or as matrices. 147 Mixing matrices and arrays in an expression is forbidden with Eigen. For instance, you cannot add a… 148 array directly; the operands of a \c + operator should either both be matrices or both be arrays. H… 156 <tt>result = m.array() * n.array()</tt> takes two matrices \c m and \c n, converts them both to an … [all …]
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLProgramDataManager.h | 52 virtual void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const = 0; 53 virtual void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const = 0; 54 virtual void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | cholesky_op_test.py | 82 matrices = np.random.rand(10, 5, 5).astype(dtype) 84 matrices[i] = np.dot(matrices[i].T, matrices[i]) 85 self._verifyCholesky(matrices, atol=1e-4)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | cholesky_op_test.py | 134 matrices = np.random.rand(10, 5, 5) 137 matrices[i] = np.dot(matrices[i].T, matrices[i]) 138 self._verifyCholesky(matrices) 141 matrices = np.random.rand(10, 5, 5) + 1j * np.random.rand(10, 5, 5) 144 matrices[i] = np.dot(matrices[i].T.conj(), matrices[i]) 145 self._verifyCholesky(matrices)
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLProgramDataManager.h | 52 virtual void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const = 0; 53 virtual void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const = 0; 54 virtual void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
|