Searched refs:mat2 (Results 1 - 25 of 41) sorted by relevance

12

/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
H A Dmat2.js25 * @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 t
[all...]
/external/eigen/doc/snippets/
H A DTutorial_AdvancedInitialization_ThreeWays.cpp9 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/trace-viewer/third_party/gl-matrix/spec/gl-matrix/
H A Dmat2-spec.js23 describe("mat2", function() {
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); });
89 beforeEach(function() { result = mat2.invert(matA, matA); });
98 beforeEach(function() { result = mat2
[all...]
/external/eigen/test/
H A Dproduct_large.cpp56 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());
/external/eigen/test/eigen2/
H A Deigen2_product_large.cpp40 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/jmonkeyengine/engine/src/test/jme3test/helloworld/
H A DHelloNode.java67 Material mat2 = new Material(assetManager,
69 mat2.setColor("Color", ColorRGBA.Red);
70 red.setMaterial(mat2);
/external/jmonkeyengine/engine/src/test/jme3test/conversion/
H A DTestMipMapGen.java80 Material mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
81 mat2.setTexture("ColorMap", texCustomMip);
86 quad2.setMaterial(mat2);
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
H A DTestCcd.java62 private Material mat2; field in class:TestCcd
93 mat2 = new Material(getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md");
94 mat2.getAdditionalRenderState().setWireframe(true);
95 mat2.setColor("Color", ColorRGBA.Red);
142 bulletg.setMaterial(mat2);
H A DTestCollisionShapeFactory.java58 private Material mat2; field in class:TestCollisionShapeFactory
78 attachRandomGeometry(node2, mat2);
128 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
129 mat2.setColor("Color", ColorRGBA.Red);
H A DTestBrickTower.java79 Material mat2; field in class:TestBrickTower
133 bulletg.setMaterial(mat2);
200 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
204 mat2.setTexture("ColorMap", tex2);
H A DTestBrickWall.java69 Material mat2; field in class:TestBrickWall
122 bulletg.setMaterial(mat2);
173 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
177 mat2.setTexture("ColorMap", tex2);
H A DTestBoneRagdoll.java111 Material mat2 = new Material(getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md");
112 mat2.getAdditionalRenderState().setWireframe(true);
113 mat2.setColor("Color", ColorRGBA.Green);
114 mat2.getAdditionalRenderState().setDepthTest(false);
115 skeletonDebug.setMaterial(mat2);
H A DPhysicsTestHelper.java183 Material mat2 = new Material(app.getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md");
187 mat2.setTexture("ColorMap", tex2);
190 bulletg.setMaterial(mat2);
H A DTestRagdollCharacter.java144 Material mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
148 mat2.setTexture("ColorMap", tex);
156 reBoxg.setMaterial(mat2);
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/
H A DTestBillboard.java62 Material mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
63 mat2.setColor("Color", ColorRGBA.Yellow);
64 g3.setMaterial(mat2);
/external/opencv/cxcore/src/
H A Dcxnorm.cpp980 CvMat stub2, *mat2 = (CvMat*)imgA; local
987 mat1 = mat2;
988 mat2 = 0;
991 is_relative = mat2 && (normType & CV_RELATIVE);
1009 if( CV_IS_MAT(mat1) && (!mat2 || CV_IS_MAT(mat2)) && !mask )
1011 if( mat2 )
1013 if( !CV_ARE_TYPES_EQ( mat1, mat2 ))
1016 if( !CV_ARE_SIZES_EQ( mat1, mat2 ))
1019 mat2_flag = mat2
[all...]
/external/chromium_org/third_party/qcms/src/
H A Dtransform-sse2.c65 const __m128 mat2 = _mm_load_ps(mat[2]); local
102 vec_b = _mm_mul_ps(vec_b, mat2);
134 vec_b = _mm_mul_ps(vec_b, mat2);
179 const __m128 mat2 = _mm_load_ps(mat[2]); local
218 vec_b = _mm_mul_ps(vec_b, mat2);
254 vec_b = _mm_mul_ps(vec_b, mat2);
H A Dtransform-sse1.c65 const __m128 mat2 = _mm_load_ps(mat[2]); local
102 vec_b = _mm_mul_ps(vec_b, mat2);
136 vec_b = _mm_mul_ps(vec_b, mat2);
185 const __m128 mat2 = _mm_load_ps(mat[2]); local
224 vec_b = _mm_mul_ps(vec_b, mat2);
262 vec_b = _mm_mul_ps(vec_b, mat2);
/external/jmonkeyengine/engine/src/test/jme3test/effect/
H A DTestSoftParticles.java58 Material mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
59 mat2.setColor("Color", ColorRGBA.DarkGray);
60 geom2.setMaterial(mat2);
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/glsl/
H A Dinverse.glsl24 mat2 inverse(mat2 m)
26 mat2 adj;
/external/mesa3d/src/glsl/builtins/glsl/
H A Dinverse.glsl24 mat2 inverse(mat2 m)
26 mat2 adj;
/external/jmonkeyengine/engine/src/test/jme3test/batching/
H A DTestBatchNodeCluster.java63 Material mat2; field in class:TestBatchNodeCluster
85 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
86 mat2.setColor("Color", ColorRGBA.White);
87 mat2.setColor("GlowColor", ColorRGBA.Red.mult(10));
151 box.setMaterial(mat2);
H A DTestBatchNodeTower.java83 Material mat2; field in class:TestBatchNodeTower
147 bulletg.setMaterial(mat2);
214 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
218 mat2.setTexture("ColorMap", tex2);
/external/openfst/src/include/fst/
H A Dintersect.h40 M *mat1 = 0, M *mat2 = 0,
42 : ComposeFstOptions<A, M, F, T>(opts, mat1, mat2, filt, sttable) { }
/external/opencv/cv/src/
H A Dcvaccum.cpp595 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
[all...]

Completed in 1387 milliseconds

12