/external/vixl/examples/ |
neon-matrix-multiply.cc | 62 // mat2 -> x2 117 float mat1[kLength], mat2[kLength], output[kLength]; local 132 mat2[0] = 1.0f; mat2[4] = 11.24f; mat2[ 8] = 21.00f; mat2[12] = 21.31f; 133 mat2[1] = 2.0f; mat2[5] = 2.24f; mat2[ 9] = 8.56f; mat2[13] = 52.03f [all...] |
/external/eigen/doc/snippets/ |
Tutorial_AdvancedInitialization_ThreeWays.cpp | 9 MatrixXd mat2(size, size); 10 mat2.topLeftCorner(size/2, size/2).setZero(); 11 mat2.topRightCorner(size/2, size/2).setIdentity(); 12 mat2.bottomLeftCorner(size/2, size/2).setIdentity(); 13 mat2.bottomRightCorner(size/2, size/2).setZero(); 14 std::cout << mat2 << std::endl << std::endl;
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/ |
mat2-spec.js | 21 describe("mat2", function() { 22 var mat2 = require("../../src/gl-matrix/mat2.js"); 41 beforeEach(function() { result = mat2.create(); }); 46 beforeEach(function() { result = mat2.clone(matA); }); 51 beforeEach(function() { result = mat2.copy(out, matA); }); 57 beforeEach(function() { result = mat2.identity(out); }); 64 beforeEach(function() { result = mat2.transpose(out, matA); }); 72 beforeEach(function() { result = mat2.transpose(matA, matA); }); 81 beforeEach(function() { result = mat2.invert(out, matA); }) [all...] |
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/ |
mat2.js | 25 * @name mat2 27 var mat2 = {}; 30 * Creates a new identity mat2 32 * @returns {mat2} a new 2x2 matrix 34 mat2.create = function() { 44 * Creates a new mat2 initialized with values from an existing matrix 46 * @param {mat2} a matrix to clone 47 * @returns {mat2} a new 2x2 matrix 49 mat2.clone = function(a) { 59 * Copy the values from one mat2 to anothe [all...] |
/external/eigen/test/ |
product_large.cpp | 56 MatrixXf mat2(32,32); mat2.setRandom(); 57 MatrixXf r1 = mat1.row(2)*mat2.transpose(); 58 VERIFY_IS_APPROX(r1, (mat1.row(2)*mat2.transpose()).eval()); 60 MatrixXf r2 = mat1.row(2)*mat2; 61 VERIFY_IS_APPROX(r2, (mat1.row(2)*mat2).eval());
|
ref.cpp | 106 mat2 = mat1, local 140 mat2.row(i).array() += 1; 141 VERIFY_IS_EQUAL(mat1, mat2); 143 mat2.row(i) = v2.real().transpose() * mat3; 144 VERIFY_IS_APPROX(mat1, mat2);
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/ |
gl-matrix.js | 30 exports.mat2 = require("./gl-matrix/mat2.js");
|
/external/eigen/test/eigen2/ |
eigen2_product_large.cpp | 40 MatrixXf mat2(32,10); mat2.setRandom(); 41 MatrixXf result = mat1.row(2)*mat2.transpose(); 42 VERIFY_IS_APPROX(result, (mat1.row(2)*mat2.transpose()).eval());
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
MatrixJNITest.java | 30 Matrix4 mat2 = new Matrix4();
local 37 mat2.setToRotation(1, 0, 0, 45);
59 mat2.set(mat1);
61 Matrix4.inv(mat2.val);
62 check(mat1, mat2);
65 mat1.mul(mat2);
66 Matrix4.mul(mat3.val, mat2.val);
133 private void check (Matrix4 mat1, Matrix4 mat2) {
135 if (mat1.val[i] != mat2.val[i]) throw new GdxRuntimeException("matrices not equal");
|
Affine2Test.java | 40 Matrix3 mat2 = new Matrix3(); local 46 checkEqual(mat1, mat2.idt()); 89 mat1.idt().scale(scl).rotate(rot).translate(trn).mul(mat2.set(afn2.setToShearing(shear))); 102 mat1.set(afn2.setToShearing(shear)).trn(trn).mulLeft(mat2.setToRotation(rot)).mulLeft(mat2.setToScaling(scl));
|
/external/vixl/test/examples/ |
test-examples.cc | 259 float mat1[kLength], mat2[kLength], expected[kLength], output[kLength]; local 268 mat2[0] = 1.0f; mat2[4] = 11.24f; mat2[ 8] = 21.00f; mat2[12] = 21.31f; 269 mat2[1] = 2.0f; mat2[5] = 2.24f; mat2[ 9] = 8.56f; mat2[13] = 52.03f; 270 mat2[2] = 3.0f; mat2[6] = 51.00f; mat2[10] = 21.00f; mat2[14] = 33.11f [all...] |
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
matrixop.h | 14 // result = mat1 * mat2 16 Matrix4x4 mat1, Matrix4x4 mat2);
|
matrixop.c | 20 void Matrix4x4_Multiply(Matrix4x4 result, Matrix4x4 mat1, Matrix4x4 mat2) 29 tmp[i*4 + j] += mat1[i*4 + k] * mat2[k*4 + j];
|
/external/opencv3/modules/ts/include/opencv2/ts/ |
ocl_test.hpp | 97 #define EXPECT_MAT_NEAR(mat1, mat2, eps) \ 100 ASSERT_EQ(mat1.type(), mat2.type()); \ 101 ASSERT_EQ(mat1.size(), mat2.size()); \ 102 EXPECT_LE(TestUtils::checkNorm2(mat1, mat2), eps) \ 106 #define EXPECT_MAT_NEAR_RELATIVE(mat1, mat2, eps) \ 109 ASSERT_EQ(mat1.type(), mat2.type()); \ 110 ASSERT_EQ(mat1.size(), mat2.size()); \ 111 EXPECT_LE(TestUtils::checkNormRelative(mat1, mat2), eps) \ 115 #define EXPECT_MAT_N_DIFF(mat1, mat2, num) \ 118 ASSERT_EQ(mat1.type(), mat2.type()); [all...] |
cuda_test.hpp | 156 #define EXPECT_MAT_SIMILAR(mat1, mat2, eps) \ 158 ASSERT_EQ(mat1.type(), mat2.type()); \ 159 ASSERT_EQ(mat1.size(), mat2.size()); \ 160 EXPECT_LE(checkSimilarity(mat1, mat2), eps); \ 162 #define ASSERT_MAT_SIMILAR(mat1, mat2, eps) \ 164 ASSERT_EQ(mat1.type(), mat2.type()); \ 165 ASSERT_EQ(mat1.size(), mat2.size()); \ 166 ASSERT_LE(checkSimilarity(mat1, mat2), eps); \
|
/external/opencv/cxcore/src/ |
cxnorm.cpp | 980 CvMat stub2, *mat2 = (CvMat*)imgA; local [all...] |
/external/autotest/client/cros/ |
ec.py | 375 mat2 = re.match(mat2_re, ln) 376 if mat2: 377 flash_dict['dev_major'] = int(mat2.group(1)) 378 flash_dict['dev_minor'] = int(mat2.group(2)) 379 flash_dict['rw_hash'] = mat2.group(3) 380 flash_dict['image_status'] = mat2.group(4)
|
/external/mesa3d/src/glsl/builtins/glsl/ |
inverse.glsl | 24 mat2 inverse(mat2 m) 26 mat2 adj;
|
/external/opencv3/modules/video/test/ |
test_ecc.cpp | 55 double computeRMS(const Mat& mat1, const Mat& mat2); 88 double CV_ECC_BaseTest::computeRMS(const Mat& mat1, const Mat& mat2){ 90 CV_Assert(mat1.rows == mat2.rows); 91 CV_Assert(mat1.cols == mat2.cols); 94 subtract(mat1, mat2, errorMat);
|
/external/opencv3/modules/cudaarithm/test/ |
test_element_operations.cpp | 81 cv::Mat mat2 = randomMat(size, stype); local 88 cv::cuda::add(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); 99 cv::cuda::add(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, cv::cuda::GpuMat(), depth.second); 102 cv::add(mat1, mat2, dst_gold, cv::noArray(), depth.second); 142 cv::Mat mat2 = randomMat(size, stype); local 150 cv::cuda::add(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); 161 cv::cuda::add(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, loadMat(mask, useRoi), depth.second); 164 cv::add(mat1, mat2, dst_gold, mask, depth.second); 384 cv::Mat mat2 = randomMat(size, stype); local 391 cv::cuda::subtract(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second) 445 cv::Mat mat2 = randomMat(size, stype); local 687 cv::Mat mat2 = randomMat(size, stype); local 716 cv::Mat mat2 = randomMat(size, stype); local 772 cv::Mat mat2 = randomMat(size, CV_32FC1); local 809 cv::Mat mat2 = randomMat(size, CV_32FC1); local 1054 cv::Mat mat2 = randomMat(size, stype, 1.0, 255.0); local 1083 cv::Mat mat2 = randomMat(size, stype, 1.0, 255.0); local 1139 cv::Mat mat2 = randomMat(size, CV_32FC1, 1.0, 255.0); local 1176 cv::Mat mat2 = randomMat(size, CV_32FC1, 1.0, 255.0); local [all...] |
/external/opencv/cv/src/ |
cvaccum.cpp | 595 CvMat stub2, *mat2 = (CvMat*)arrB; local 606 CV_CALL( mat2 = cvGetMat( mat2, &stub2, &coi2 )); 612 if( !CV_ARE_CNS_EQ( mat1, mat2 ) || !CV_ARE_CNS_EQ( mat1, sum )) 618 if( !CV_ARE_SIZES_EQ( mat1, sum ) || !CV_ARE_SIZES_EQ( mat2, sum )) 625 mat2_step = mat2->step; 637 if( CV_IS_MAT_CONT( mat1->type & mat2->type & sum->type )) 644 IPPI_CALL( func( mat1->data.ptr, mat1_step, mat2->data.ptr, mat2_step, 664 if( CV_IS_MAT_CONT( mat1->type & mat2->type & sum->type & mask->type )) 671 IPPI_CALL( func( mat1->data.ptr, mat1_step, mat2->data.ptr, mat2_step [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/include/isl/ |
mat.h | 57 __isl_take isl_mat *mat2); 105 int isl_mat_is_equal(__isl_keep isl_mat *mat1, __isl_keep isl_mat *mat2);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/isl/ |
mat.h | 57 __isl_take isl_mat *mat2); 105 int isl_mat_is_equal(__isl_keep isl_mat *mat1, __isl_keep isl_mat *mat2);
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
OldMatcherTest.java | 208 Matcher mat2 = pat.matcher(testString2); local 213 assertTrue("Should find given pattern in 2 string", mat2.lookingAt()); 241 Matcher mat2 = pat2.matcher(testString); local 246 mat2.find(i); 247 assertEquals(testString.substring(i, i + length), mat2.group(1));
|
/external/pdfium/xfa/src/fdp/src/fde/ |
fde_gdidevice.cpp | 155 MAT2 mat2;
local 186 *(long*)(&mat2.eM11) = (long)(ma * 65536);
187 *(long*)(&mat2.eM21) = (long)(mb * 65536);
188 *(long*)(&mat2.eM12) = (long)(mc * 65536);
189 *(long*)(&mat2.eM22) = (long)(md * 65536);
191 &mat2, gm, NULL, 0);
200 pGdiFont->GetGlyphDIBits(pCharPos->m_GlyphIndex, argb, &mat2, gm,
|