/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_exponential_op_test.py | 72 def _makeBatch(self, matrix1, matrix2): 74 [np.expand_dims(matrix1, 0), 81 matrix1 = np.array([[1., 2.], [3., 4.]]) 83 self._verifyExponentialReal(matrix1) 86 self._verifyExponentialReal(self._makeBatch(matrix1, matrix2)) 88 matrix1 = matrix1.astype(np.complex64) 89 matrix1 += 1j * matrix1 92 self._verifyExponentialComplex(matrix1) [all...] |
matrix_logarithm_op_test.py | 51 def _makeBatch(self, matrix1, matrix2): 53 [np.expand_dims(matrix1, 0), 60 matrix1 = np.array([[1., 2.], [3., 4.]]) 62 matrix1 = matrix1.astype(np.complex64) 63 matrix1 += 1j * matrix1 66 self._verifyLogarithmComplex(matrix1) 69 self._verifyLogarithmComplex(self._makeBatch(matrix1, matrix2)) 73 matrix1 = np.array([[2., 1.], [1., 2.]] [all...] |
matrix_inverse_op_test.py | 60 def _makeBatch(self, matrix1, matrix2): 62 [np.expand_dims(matrix1, 0), 69 matrix1 = np.array([[1., 2.], [3., 4.]]) 71 self._verifyInverseReal(matrix1) 74 self._verifyInverseReal(self._makeBatch(matrix1, matrix2)) 76 matrix1 = matrix1.astype(np.complex64) 77 matrix1 += 1j * matrix1 80 self._verifyInverseComplex(matrix1) [all...] |
cholesky_op_test.py | 179 matrix1 = random_ops.random_normal([5, 5], seed=42) 181 matrix1 = math_ops.matmul(matrix1, matrix1, adjoint_a=True) 183 c1 = linalg_ops.cholesky(matrix1)
|
self_adjoint_eig_op_test.py | 56 matrix1 = random_ops.random_normal([5, 5], seed=42) 59 e1, v1 = linalg_ops.self_adjoint_eig(matrix1) 63 e1 = linalg_ops.self_adjoint_eigvals(matrix1)
|
svd_op_test.py | 57 matrix1 = random_ops.random_normal([5, 5], seed=42) 61 matrix1, compute_uv=compute_uv_, full_matrices=full_matrices_) 67 matrix1, compute_uv=compute_uv_, full_matrices=full_matrices_)
|
determinant_op_test.py | 153 matrix1 = random_ops.random_normal([5, 5], seed=42) 155 det1 = linalg_ops.matrix_determinant(matrix1)
|
qr_op_test.py | 58 matrix1 = random_ops.random_normal([rows_, cols_], seed=42) 60 q1, r1 = linalg_ops.qr(matrix1, full_matrices=full_matrices_)
|
basic_gpu_test.py | 243 matrix1 = variables.Variable( 244 random_ops.truncated_normal([1024, 1]), name='matrix1') 247 x1 = math_ops.multiply(data, matrix1, name='x1') 248 x3 = math_ops.matmul(x1, math_ops.matmul(matrix2, matrix1))
|
/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...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowMatrixTest.java | 87 final Matrix matrix1 = new Matrix(); local 88 matrix1.setScale(1, 2); 92 matrix2.set(matrix1); 100 final Matrix matrix1 = new Matrix(); local 101 matrix1.setScale(1, 2); 104 matrix2.set(matrix1); 181 final Matrix matrix1 = new Matrix(); local 182 matrix1.postScale(2.0f, 2.0f); 183 matrix1.postTranslate(1.0f, 2.0f); 184 matrix1.postRotate(45.0f) 218 final Matrix matrix1 = new Matrix(); local 233 final Matrix matrix1 = new Matrix(); local 259 final Matrix matrix1 = new Matrix(); local 277 final Matrix matrix1 = new Matrix(); local 373 final Matrix matrix1 = new Matrix(); local 391 final Matrix matrix1 = new Matrix(); local [all...] |
ShadowOpenGLMatrixTest.java | 337 float[] matrix1 = new float[]{ local 357 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")
|
/frameworks/ml/nn/runtime/test/ |
TestTrivialModel.cpp | 33 const Matrix3x4 matrix1 = {{1.f, 2.f, 3.f, 4.f}, {5.f, 6.f, 7.f, 8.f}, {9.f, 10.f, 11.f, 12.f}}; member in class:__anon46144::TrivialTest 122 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); 139 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); 150 ASSERT_EQ(execution3.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); 151 ASSERT_EQ(execution3.setInput(1, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); 182 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); 214 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR);
|
TestMemory.h | 42 const Matrix3x4 matrix1 = {{1.f, 2.f, 3.f, 4.f}, {5.f, 6.f, 7.f, 8.f}, {9.f, 10.f, 11.f, 12.f}}; member in namespace:__anon46138
|
TestMemory.cpp | 85 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR);
|
TestMemoryInternal.cpp | 142 memcpy(inputData + offsetForMatrix1, matrix1, sizeof(Matrix3x4));
|
/external/pdfium/core/fxge/agg/ |
fx_agg_driver.cpp | 1344 CFX_Matrix matrix1; local [all...] |
/external/tensorflow/tensorflow/compiler/xla/tests/ |
dot_operation_test.cc | 473 auto matrix1 = builder.ConstantR2<float>({{1.0, 2.0}, {3.0, 4.0}}); local 475 auto matrix12 = builder.Dot(matrix1, matrix2); 476 auto matrix21 = builder.Dot(matrix2, matrix1);
|
/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):
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d2d1helper.h | 466 D2D1FORCEINLINE D2D1_MATRIX_3X2_F operator*(const D2D1_MATRIX_3X2_F &matrix1, const D2D1_MATRIX_3X2_F &matrix2) { 468 r.SetProduct(*D2D1::Matrix3x2F::ReinterpretBaseType(&matrix1), *D2D1::Matrix3x2F::ReinterpretBaseType(&matrix2));
|