Home
last modified time | relevance | path

Searched refs:matrix2 (Results 1 – 25 of 27) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMatrixTest.java88 final Matrix matrix2 = new Matrix(); in set_shouldOverrideValues() local
89 matrix2.setScale(3, 4); in set_shouldOverrideValues()
90 matrix2.set(matrix1); in set_shouldOverrideValues()
92 final ShadowMatrix shadow = shadowOf(matrix2); in set_shouldOverrideValues()
101 final Matrix matrix2 = new Matrix(); in set_whenNull_shouldReset() local
102 matrix2.set(matrix1); in set_whenNull_shouldReset()
103 matrix2.set(null); in set_whenNull_shouldReset()
105 final ShadowMatrix shadow = shadowOf(matrix2); in set_whenNull_shouldReset()
184 final Matrix matrix2 = new Matrix(); in testSet() local
185 matrix2.set(matrix1); in testSet()
[all …]
DShadowOpenGLMatrixTest.java342 float[] matrix2 = new float[]{ in testMultiplyMM() local
356 Matrix.multiplyMM(output, 0, matrix1, 0, matrix2, 0); in testMultiplyMM()
/external/tensorflow/tensorflow/python/kernel_tests/
Dmatrix_square_root_op_test.py50 def _makeBatch(self, matrix1, matrix2): argument
53 np.expand_dims(matrix2, 0)])
57 def _testMatrices(self, matrix1, matrix2): argument
60 self._verifySquareRootReal(matrix2)
61 self._verifySquareRootReal(self._makeBatch(matrix1, matrix2))
64 matrix2 = matrix2.astype(np.complex64)
66 matrix2 += 1j * matrix2
68 self._verifySquareRootComplex(matrix2)
69 self._verifySquareRootComplex(self._makeBatch(matrix1, matrix2))
73 matrix2 = np.array([[3., -1.], [-1., 3.]])
[all …]
Dmatrix_inverse_op_test.py62 def _makeBatch(self, matrix1, matrix2): argument
65 np.expand_dims(matrix2, 0)])
72 matrix2 = np.array([[1., 3.], [3., 5.]])
74 self._verifyInverseReal(matrix2)
76 self._verifyInverseReal(self._makeBatch(matrix1, matrix2))
80 matrix2 = matrix2.astype(np.complex64)
81 matrix2 += 1j * matrix2
83 self._verifyInverseComplex(matrix2)
85 self._verifyInverseComplex(self._makeBatch(matrix1, matrix2))
90 matrix2 = np.array([[3., -1.], [-1., 3.]])
[all …]
Dmatrix_exponential_op_test.py76 def _makeBatch(self, matrix1, matrix2): argument
79 np.expand_dims(matrix2, 0)])
86 matrix2 = np.array([[1., 3.], [3., 5.]])
88 self._verifyExponentialReal(matrix2)
90 self._verifyExponentialReal(self._makeBatch(matrix1, matrix2))
95 matrix2 = np.array([[1., 3.], [3., 5.]])
98 matrix2 = matrix2.astype(np.complex64)
99 matrix2 += 1j * matrix2
101 self._verifyExponentialComplex(matrix2)
103 self._verifyExponentialComplex(self._makeBatch(matrix1, matrix2))
[all …]
Dmatrix_logarithm_op_test.py54 def _makeBatch(self, matrix1, matrix2): argument
57 np.expand_dims(matrix2, 0)])
65 matrix2 = np.array([[1., 3.], [3., 5.]])
68 matrix2 = matrix2.astype(np.complex64)
69 matrix2 += 1j * matrix2
71 self._verifyLogarithmComplex(matrix2)
73 self._verifyLogarithmComplex(self._makeBatch(matrix1, matrix2))
79 matrix2 = np.array([[3., -1.], [-1., 3.]])
82 matrix2 = matrix2.astype(np.complex64)
83 matrix2 += 1j * matrix2
[all …]
Dcholesky_op_test.py188 matrix2 = random_ops.random_normal([5, 5], seed=42)
190 matrix2 = math_ops.matmul(matrix2, matrix2, adjoint_a=True)
192 c2 = linalg_ops.cholesky(matrix2)
Dself_adjoint_eig_op_test.py60 matrix2 = random_ops.random_normal([5, 5], seed=42)
63 e2, v2 = linalg_ops.self_adjoint_eig(matrix2)
67 e2 = linalg_ops.self_adjoint_eigvals(matrix2)
Ddeterminant_op_test.py159 matrix2 = random_ops.random_normal([5, 5], seed=42)
161 det2 = linalg_ops.matrix_determinant(matrix2)
Dsvd_op_test.py63 matrix2 = random_ops.random_normal([5, 5], seed=42)
68 matrix2, compute_uv=compute_uv_, full_matrices=full_matrices_)
74 matrix2, compute_uv=compute_uv_, full_matrices=full_matrices_)
Dqr_op_test.py63 matrix2 = random_ops.random_normal([rows_, cols_], seed=42)
65 q2, r2 = linalg_ops.qr(matrix2, full_matrices=full_matrices_)
Dlu_op_test.py220 matrix2 = random_ops.random_normal([5, 5], seed=42)
222 lu2, p2 = linalg_ops.lu(matrix2)
Dbasic_gpu_test.py247 matrix2 = variables.Variable(
250 x3 = math_ops.matmul(x1, math_ops.matmul(matrix2, matrix1))
/external/eigen/demos/mix_eigen_and_c/
Dexample.c15 struct C_MatrixXd *matrix1, *matrix2, *result; in demo_MatrixXd() local
25 matrix2 = MatrixXd_new(3, 3); in demo_MatrixXd()
26 MatrixXd_multiply(matrix1, matrix1, matrix2); in demo_MatrixXd()
28 MatrixXd_print(matrix2); in demo_MatrixXd()
31 MatrixXd_delete(matrix2); in demo_MatrixXd()
/external/eigen/doc/
DTopicLazyEvaluation.dox27 \code matrix1 = matrix2 + matrix3; \endcode
31 \code matrix1 = (matrix2 + matrix3).eval(); \endcode
35 \code matrix1 = -matrix2 + matrix3 + 5 * matrix4; \endcode
47 \code matrix1.noalias() = matrix2 * matrix2; \endcode
49 Here, since we know that matrix2 is not the same matrix as matrix1, we know that lazy evaluation is…
53 \code matrix1 = matrix2 + matrix3 * matrix4; \endcode
59 \code matrix1 = matrix2 * (matrix3 + matrix4); \endcode
/external/pdfium/core/fxge/skia/
Dfx_skia_device_unittest.cpp55 CFX_Matrix matrix2; in CommonTest() local
56 matrix2.Translate(1, 0); in CommonTest()
86 driver->DrawPath(&path2, &matrix2, &graphState, 0xFF112233, 0, in CommonTest()
89 driver->DrawDeviceText(SK_ARRAY_COUNT(charPos), charPos, &font, &matrix2, in CommonTest()
/external/tensorflow/tensorflow/contrib/constrained_optimization/python/
Dswap_regret_optimizer_test.py98 matrix2 = np.matrix([[0.4, 0.4, 0.2], [0.2, 0.1, 0.5], [0.4, 0.5, 0.3]])
106 standard_ops.constant(matrix2)))
111 matrix_eigenvector2 = np.tensordot(matrix2, eigenvector2, axes=1)
/external/tensorflow/tensorflow/contrib/stat_summarizer/python/
Dstat_summarizer_test.py35 matrix2 = constant_op.constant([[2.], [2.]], name=r"m2")
36 product = math_ops.matmul(matrix1, matrix2, name=r"product")
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dlinear_operator_test.py280 matrix2 = array_ops.placeholder(shape=[3, 2], dtype=dtypes.float32)
284 operator2 = LinearOperatorMatmulSolve(matrix2, is_square=False)
/external/autotest/client/tests/iozone/
Dpostprocessing.py62 def compare_matrices(matrix1, matrix2, treshold=0.05): argument
77 for line1, line2 in zip(matrix1, matrix2):
/external/deqp-deps/glslang/Test/baseResults/
Dspv.matrix2.frag.out1 spv.matrix2.frag
/external/skqp/docs/
DSkMatrix_Reference.bmh1428 SkMatrix matrix, matrix2;
1432 matrix2.setPolyToPoly(perspect, bitmapBounds, 4);
1433 matrix.setConcat(matrix, matrix2);
1623 SkMatrix matrix, matrix2;
1627 matrix2.setPolyToPoly(perspect, bitmapBounds, 4);
1628 matrix.preConcat(matrix2);
2962 SkMatrix matrix, matrix2;
2966 matrix2.setPolyToPoly(perspect, bitmapBounds, 4);
2967 SkMatrix concat = SkMatrix::Concat(matrix, matrix2);
/external/skia/docs/
DSkMatrix_Reference.bmh1410 SkMatrix matrix, matrix2;
1414 matrix2.setPolyToPoly(perspect, bitmapBounds, 4);
1415 matrix.setConcat(matrix, matrix2);
1605 SkMatrix matrix, matrix2;
1609 matrix2.setPolyToPoly(perspect, bitmapBounds, 4);
1610 matrix.preConcat(matrix2);
2942 SkMatrix matrix, matrix2;
2946 matrix2.setPolyToPoly(perspect, bitmapBounds, 4);
2947 SkMatrix concat = SkMatrix::Concat(matrix, matrix2);
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp1345 CFX_Matrix matrix2; in DrawPath() local
1349 matrix2 = CFX_Matrix( in DrawPath()
1354 matrix1.Concat(matrix2.GetInverse()); in DrawPath()
1363 RasterizeStroke(&rasterizer, &path_data.m_PathData, &matrix2, pGraphState, in DrawPath()
/external/tensorflow/tensorflow/compiler/xla/tests/
Ddot_operation_test.cc532 auto matrix2 = in XLA_TYPED_TEST() local
534 auto matrix12 = Dot(matrix1, matrix2); in XLA_TYPED_TEST()
535 auto matrix21 = Dot(matrix2, matrix1); in XLA_TYPED_TEST()

12