/external/eigen/demos/mix_eigen_and_c/ |
example.c | 15 struct C_MatrixXd *matrix1, *matrix2, *result; local 18 matrix1 = MatrixXd_new(3, 3); 19 MatrixXd_set_zero(matrix1); 20 MatrixXd_set_coeff(matrix1, 0, 1, 2.5); 21 MatrixXd_set_coeff(matrix1, 1, 0, 1.4); 22 printf("Here is matrix1:\n"); 23 MatrixXd_print(matrix1); 26 MatrixXd_multiply(matrix1, matrix1, matrix2); 27 printf("Here is matrix1*matrix1:\n") [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
matrix_square_root_op_test.py | 50 def _makeBatch(self, matrix1, matrix2): 52 [np.expand_dims(matrix1, 0), 57 def _testMatrices(self, matrix1, matrix2): 59 self._verifySquareRootReal(matrix1) 61 self._verifySquareRootReal(self._makeBatch(matrix1, matrix2)) 63 matrix1 = matrix1.astype(np.complex64) 65 matrix1 += 1j * matrix1 67 self._verifySquareRootComplex(matrix1) [all...] |
matrix_logarithm_op_test.py | 54 def _makeBatch(self, matrix1, matrix2): 56 [np.expand_dims(matrix1, 0), 64 matrix1 = np.array([[1., 2.], [3., 4.]]) 66 matrix1 = matrix1.astype(np.complex64) 67 matrix1 += 1j * matrix1 70 self._verifyLogarithmComplex(matrix1) 73 self._verifyLogarithmComplex(self._makeBatch(matrix1, matrix2)) 78 matrix1 = np.array([[2., 1.], [1., 2.]] [all...] |
matrix_inverse_op_test.py | 62 def _makeBatch(self, matrix1, matrix2): 64 [np.expand_dims(matrix1, 0), 71 matrix1 = np.array([[1., 2.], [3., 4.]]) 73 self._verifyInverseReal(matrix1) 76 self._verifyInverseReal(self._makeBatch(matrix1, matrix2)) 78 matrix1 = matrix1.astype(np.complex64) 79 matrix1 += 1j * matrix1 82 self._verifyInverseComplex(matrix1) [all...] |
matrix_exponential_op_test.py | 76 def _makeBatch(self, matrix1, matrix2): 78 [np.expand_dims(matrix1, 0), 85 matrix1 = np.array([[1., 2.], [3., 4.]]) 87 self._verifyExponentialReal(matrix1) 90 self._verifyExponentialReal(self._makeBatch(matrix1, matrix2)) 94 matrix1 = np.array([[1., 2.], [3., 4.]]) 96 matrix1 = matrix1.astype(np.complex64) 97 matrix1 += 1j * matrix1 [all...] |
cholesky_op_test.py | 187 matrix1 = random_ops.random_normal([5, 5], seed=42) 189 matrix1 = math_ops.matmul(matrix1, matrix1, adjoint_a=True) 191 c1 = linalg_ops.cholesky(matrix1)
|
self_adjoint_eig_op_test.py | 59 matrix1 = random_ops.random_normal([5, 5], seed=42) 62 e1, v1 = linalg_ops.self_adjoint_eig(matrix1) 66 e1 = linalg_ops.self_adjoint_eigvals(matrix1)
|
determinant_op_test.py | 158 matrix1 = random_ops.random_normal([5, 5], seed=42) 160 det1 = linalg_ops.matrix_determinant(matrix1)
|
basic_gpu_test.py | 245 matrix1 = variables.Variable( 246 random_ops.truncated_normal([1024, 1]), name='matrix1') 249 x1 = math_ops.multiply(data, matrix1, name='x1') 250 x3 = math_ops.matmul(x1, math_ops.matmul(matrix2, matrix1))
|
svd_op_test.py | 62 matrix1 = random_ops.random_normal([5, 5], seed=42) 66 matrix1, compute_uv=compute_uv_, full_matrices=full_matrices_) 72 matrix1, compute_uv=compute_uv_, full_matrices=full_matrices_)
|
lu_op_test.py | 219 matrix1 = random_ops.random_normal([5, 5], seed=42) 221 lu1, p1 = linalg_ops.lu(matrix1)
|
qr_op_test.py | 62 matrix1 = random_ops.random_normal([rows_, cols_], seed=42) 64 q1, r1 = linalg_ops.qr(matrix1, full_matrices=full_matrices_)
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
entropy_coding.h | 114 const int32_t matrix1[], 125 const int32_t matrix1[], 134 const int32_t matrix1[], 145 const int32_t matrix1[], 152 const int32_t matrix1[], 163 const int32_t matrix1[], 171 const int32_t matrix1[], 183 const int32_t matrix1[],
|
entropy_coding_mips.c | 18 const int32_t matrix1[], 39 const int32_t* matrix1_start = matrix1; 50 "addu %[matrix1_start], %[matrix1], $0 \n\t" 91 : [product_step] "r" (product_step), [matrix1] "r" (matrix1), 109 const int32_t* matrix1_start = matrix1; 175 const int32_t matrix1[], 194 "addu %[matrix1_ptr], %[matrix1], $0 \n\t" 245 [matrix1] "r" (matrix1), [matrix0_step] "r" (matrix0_step) [all...] |
entropy_coding_neon.c | 26 const int32_t matrix1[], 63 vshlq_s32(vld1q_s32(&matrix1[matrix1_index]), shift32x4); 81 vshl_s32(vld1_s32(&matrix1[matrix1_index]), shift32x2); 102 int32x4_t matrix1_32x4 = vdupq_n_s32(matrix1[matrix1_index] << shift); 118 int32x2_t matrix1_32x2 = vdup_n_s32(matrix1[matrix1_index] << shift); 147 vshlq_s32(vld1q_s32(&matrix1[matrix1_index]), shift32x4); 158 vshl_s32(vld1_s32(&matrix1[matrix1_index]), shift32x2); 182 matrix1[matrix1_index] << shift)); 194 const int32_t matrix1[], 208 int32x2_t matrix1_32x2 = vld1_s32(&matrix1[matrix1_index]) [all...] |
entropy_coding.c | 825 matrix1[]: matrix1 data. 838 shift: Left shift value for matrix1. 841 const int32_t matrix1[], 868 matrix1[matrix1_index] << shift)); 885 matrix1[]: A matrix in Q21 domain. 892 const int32_t matrix1[], 904 matrix1[matrix1_index])); 906 matrix1[matrix1_index + 1])); [all...] |
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
CursorAnchorInfoTest.java | 212 final Matrix matrix1 = new Matrix(); local 213 matrix1.setTranslate(10.0f, 20.0f); 271 new Builder().setMatrix(matrix1).setInsertionMarkerLocation( 274 new Builder().setMatrix(matrix1).setInsertionMarkerLocation( 280 new Builder().setMatrix(matrix1).build(), 281 new Builder().setMatrix(matrix1).build()); 283 new Builder().setMatrix(matrix1).build(), 286 new Builder().setMatrix(matrix1).build(), 295 new Builder().setMatrix(matrix1).setInsertionMarkerLocation( 299 new Builder().setMatrix(matrix1).setInsertionMarkerLocation 370 final Matrix matrix1 = new Matrix(); local [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowMatrixTest.java | 85 final Matrix matrix1 = new Matrix(); local 86 matrix1.setScale(1, 2); 90 matrix2.set(matrix1); 98 final Matrix matrix1 = new Matrix(); local 99 matrix1.setScale(1, 2); 102 matrix2.set(matrix1); 179 final Matrix matrix1 = new Matrix(); local 180 matrix1.postScale(2.0f, 2.0f); 181 matrix1.postTranslate(1.0f, 2.0f); 182 matrix1.postRotate(45.0f) 216 final Matrix matrix1 = new Matrix(); local 231 final Matrix matrix1 = new Matrix(); local 257 final Matrix matrix1 = new Matrix(); local 275 final Matrix matrix1 = new Matrix(); local 371 final Matrix matrix1 = new Matrix(); local 389 final Matrix matrix1 = new Matrix(); local [all...] |
ShadowOpenGLMatrixTest.java | 336 float[] matrix1 = new float[]{ local 356 Matrix.multiplyMM(output, 0, matrix1, 0, matrix2, 0);
|
/external/tensorflow/tensorflow/contrib/stat_summarizer/python/ |
stat_summarizer_test.py | 34 matrix1 = constant_op.constant([[3., 3.]], name=r"m1") 36 product = math_ops.matmul(matrix1, matrix2, name=r"product")
|
/external/tensorflow/tensorflow/contrib/constrained_optimization/python/ |
swap_regret_optimizer_test.py | 97 matrix1 = np.matrix([[0.6, 0.1, 0.1], [0.0, 0.6, 0.9], [0.4, 0.3, 0.0]]) 103 standard_ops.constant(matrix1))) 108 # Check that eigenvector1 and eigenvector2 are eigenvectors of matrix1 and 110 matrix_eigenvector1 = np.tensordot(matrix1, eigenvector1, axes=1)
|
/external/pdfium/core/fxge/agg/ |
fx_agg_driver.cpp | 1344 CFX_Matrix matrix1; local [all...] |
/external/autotest/client/tests/iozone/ |
postprocessing.py | 62 def compare_matrices(matrix1, matrix2, treshold=0.05): 66 @param matrix1: Reference Matrix with numeric data 77 for line1, line2 in zip(matrix1, matrix2):
|
/external/tensorflow/tensorflow/python/kernel_tests/linalg/ |
linear_operator_test.py | 279 matrix1 = array_ops.placeholder(shape=[2, 3], dtype=dtypes.float32) 283 operator1 = LinearOperatorMatmulSolve(matrix1, is_square=False)
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
dot_operation_test.cc | 530 auto matrix1 = local 534 auto matrix12 = Dot(matrix1, matrix2); 535 auto matrix21 = Dot(matrix2, matrix1); [all...] |