Home
last modified time | relevance | path

Searched refs:mat1 (Results 1 – 25 of 26) sorted by relevance

12

/external/eigen/doc/
DQuickReference.dox332 mat3 = mat1 + mat2; mat3 += mat1;
333 mat3 = mat1 - mat2; mat3 -= mat1;\endcode
337 mat3 = mat1 * s1; mat3 *= s1; mat3 = s1 * mat1;
338 mat3 = mat1 / s1; mat3 /= s1;\endcode
342 col2 = mat1 * col1;
343 row2 = row1 * mat1; row1 *= mat1;
344 mat3 = mat1 * mat2; mat3 *= mat1; \endcode
348 mat1 = mat2.transpose(); mat1.transposeInPlace();
349 mat1 = mat2.adjoint(); mat1.adjointInPlace();
381 mat1.cwiseMin(mat2)
[all …]
DI01_TopicLazyEvaluation.dox11 \code mat1 = mat2 + mat3 * (mat4 + mat5); \endcode
DAsciiQuickReference.txt62 R.col(j1).swap(mat1.col(j2)); // R(:, [j1 j2]) = R(:, [j2, j1])
/external/eigen/doc/snippets/
DTutorial_AdvancedInitialization_ThreeWays.cpp2 MatrixXd mat1(size, size);
3 mat1.topLeftCorner(size/2, size/2) = MatrixXd::Zero(size/2, size/2);
4 mat1.topRightCorner(size/2, size/2) = MatrixXd::Identity(size/2, size/2);
5 mat1.bottomLeftCorner(size/2, size/2) = MatrixXd::Identity(size/2, size/2);
6 mat1.bottomRightCorner(size/2, size/2) = MatrixXd::Zero(size/2, size/2);
7 std::cout << mat1 << std::endl << std::endl;
/external/eigen/test/
Dproduct_large.cpp55 MatrixXf mat1(10,32); mat1.setRandom(); in test_product_large() local
57 MatrixXf r1 = mat1.row(2)*mat2.transpose(); in test_product_large()
58 VERIFY_IS_APPROX(r1, (mat1.row(2)*mat2.transpose()).eval()); in test_product_large()
60 MatrixXf r2 = mat1.row(2)*mat2; in test_product_large()
61 VERIFY_IS_APPROX(r2, (mat1.row(2)*mat2).eval()); in test_product_large()
/external/eigen/test/eigen2/
Deigen2_product_large.cpp39 MatrixXf mat1(10,10); mat1.setRandom(); in test_eigen2_product_large() local
41 MatrixXf result = mat1.row(2)*mat2.transpose(); in test_eigen2_product_large()
42 VERIFY_IS_APPROX(result, (mat1.row(2)*mat2.transpose()).eval()); in test_eigen2_product_large()
/external/jmonkeyengine/engine/src/test/jme3test/collision/
DTestMousePick.java112 Material mat1 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in makeCube() local
113 mat1.setColor("Color", ColorRGBA.randomColor()); in makeCube()
114 cube.setMaterial(mat1); in makeCube()
122 Material mat1 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in makeFloor() local
123 mat1.setColor("Color", ColorRGBA.Gray); in makeFloor()
124 floor.setMaterial(mat1); in makeFloor()
/external/opencv/cxcore/src/
Dcxnorm.cpp979 CvMat stub1, *mat1 = (CvMat*)imgB; in cvNorm() local
985 if( !mat1 ) in cvNorm()
987 mat1 = mat2; in cvNorm()
1009 if( CV_IS_MAT(mat1) && (!mat2 || CV_IS_MAT(mat2)) && !mask ) in cvNorm()
1013 if( !CV_ARE_TYPES_EQ( mat1, mat2 )) in cvNorm()
1016 if( !CV_ARE_SIZES_EQ( mat1, mat2 )) in cvNorm()
1022 size = cvGetMatSize( mat1 ); in cvNorm()
1023 type = CV_MAT_TYPE(mat1->type); in cvNorm()
1027 if( CV_IS_MAT_CONT( mat1->type & mat2_flag )) in cvNorm()
1035 const float* src1data = mat1->data.fl; in cvNorm()
[all …]
Dcxcopy.cpp712 CvSparseMat* mat1 = (CvSparseMat*)mat; in cvSetZero() local
713 cvClearSet( mat1->heap ); in cvSetZero()
714 if( mat1->hashtable ) in cvSetZero()
715 memset( mat1->hashtable, 0, mat1->hashsize*sizeof(mat1->hashtable[0])); in cvSetZero()
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/
DHelloPicking.java130 Material mat1 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in makeCube() local
131 mat1.setColor("Color", ColorRGBA.randomColor()); in makeCube()
132 cube.setMaterial(mat1); in makeCube()
140 Material mat1 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in makeFloor() local
141 mat1.setColor("Color", ColorRGBA.Gray); in makeFloor()
142 floor.setMaterial(mat1); in makeFloor()
DHelloNode.java59 Material mat1 = new Material(assetManager, in simpleInitApp() local
61 mat1.setColor("Color", ColorRGBA.Blue); in simpleInitApp()
62 blue.setMaterial(mat1); in simpleInitApp()
DHelloAudio.java32 Material mat1 = new Material(assetManager, in simpleInitApp() local
34 mat1.setColor("Color", ColorRGBA.Blue); in simpleInitApp()
35 player.setMaterial(mat1); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/audio/
DTestAmbient.java73 Material mat1 = new Material(assetManager, in simpleInitApp() local
75 mat1.setColor("Color", ColorRGBA.Blue); in simpleInitApp()
76 player.setMaterial(mat1); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/conversion/
DTestMipMapGen.java77 Material mat1 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in simpleInitApp() local
78 mat1.setTexture("ColorMap", tex); in simpleInitApp()
83 quad1.setMaterial(mat1); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DTestCollisionShapeFactory.java57 private Material mat1; field in TestCollisionShapeFactory
74 attachRandomGeometry(node, mat1); in simpleInitApp()
126 mat1 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in createMaterial()
127 mat1.setColor("Color", ColorRGBA.Green); in createMaterial()
/external/opencv/cv/src/
Dcvaccum.cpp594 CvMat stub1, *mat1 = (CvMat*)arrA; in cvMultiplyAcc() local
605 CV_CALL( mat1 = cvGetMat( mat1, &stub1, &coi1 )); in cvMultiplyAcc()
612 if( !CV_ARE_CNS_EQ( mat1, mat2 ) || !CV_ARE_CNS_EQ( mat1, sum )) in cvMultiplyAcc()
618 if( !CV_ARE_SIZES_EQ( mat1, sum ) || !CV_ARE_SIZES_EQ( mat2, sum )) in cvMultiplyAcc()
621 size = cvGetMatSize( mat1 ); in cvMultiplyAcc()
622 type = CV_MAT_TYPE( mat1->type ); in cvMultiplyAcc()
624 mat1_step = mat1->step; in cvMultiplyAcc()
637 if( CV_IS_MAT_CONT( mat1->type & mat2->type & sum->type )) in cvMultiplyAcc()
644 IPPI_CALL( func( mat1->data.ptr, mat1_step, mat2->data.ptr, mat2_step, in cvMultiplyAcc()
659 if( !CV_ARE_SIZES_EQ( mat1, mask )) in cvMultiplyAcc()
[all …]
Dcvhistogram.cpp513 CvSparseMat* mat1 = (CvSparseMat*)(hist1->bins); in cvCompareHist() local
518 if( mat1->heap->active_count > mat2->heap->active_count ) in cvCompareHist()
521 CV_SWAP( mat1, mat2, t ); in cvCompareHist()
527 for( node1 = cvInitSparseMatIterator( mat1, &iterator ); in cvCompareHist()
530 double v1 = *(float*)CV_NODE_VAL(mat1,node1); in cvCompareHist()
531 uchar* node2_data = cvPtrND( mat2, CV_NODE_IDX(mat1,node1), 0, 0, &node1->hashval ); in cvCompareHist()
548 if( !cvPtrND( mat1, CV_NODE_IDX(mat2,node2), 0, 0, &node2->hashval )) in cvCompareHist()
559 for( node1 = cvInitSparseMatIterator( mat1, &iterator ); in cvCompareHist()
562 double v1 = *(float*)CV_NODE_VAL(mat1,node1); in cvCompareHist()
563 uchar* node2_data = cvPtrND( mat2, CV_NODE_IDX(mat1,node1), in cvCompareHist()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/batching/
DTestBatchNodeCluster.java62 Material mat1; field in TestBatchNodeCluster
81 mat1 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in simpleInitApp()
82 mat1.setColor("Color", ColorRGBA.White); in simpleInitApp()
83 mat1.setColor("GlowColor", ColorRGBA.Blue.mult(10)); in simpleInitApp()
148 box.setMaterial(mat1); in randomGenerator()
/external/opencv/cxcore/include/
Dcxtypes.h593 #define CV_ARE_TYPES_EQ(mat1, mat2) \ argument
594 ((((mat1)->type ^ (mat2)->type) & CV_MAT_TYPE_MASK) == 0)
596 #define CV_ARE_CNS_EQ(mat1, mat2) \ argument
597 ((((mat1)->type ^ (mat2)->type) & CV_MAT_CN_MASK) == 0)
599 #define CV_ARE_DEPTHS_EQ(mat1, mat2) \ argument
600 ((((mat1)->type ^ (mat2)->type) & CV_MAT_DEPTH_MASK) == 0)
602 #define CV_ARE_SIZES_EQ(mat1, mat2) \ argument
603 ((mat1)->rows == (mat2)->rows && (mat1)->cols == (mat2)->cols)
/external/openfst/src/include/fst/
Dintersect.h40 M *mat1 = 0, M *mat2 = 0,
42 : ComposeFstOptions<A, M, F, T>(opts, mat1, mat2, filt, sttable) { }
Ddifference.h41 M *mat1 = 0, M *mat2 = 0,
43 : ComposeFstOptions<A, M, F, T>(mat1, mat2, filt, sttable) { }
Dcompose.h59 M *mat1 = 0, M *mat2 = 0,
61 : CacheOptions(opts), matcher1(mat1), matcher2(mat2), in CacheOptions()
90 M1 *mat1 = 0, M2 *mat2 = 0,
92 : CacheOptions(opts), matcher1(mat1), matcher2(mat2), in CacheOptions()
/external/clang/test/Sema/
Darray-init.c253 const Matrix mat1 = { in test_matrix() local
/external/eigen/Eigen/src/IterativeLinearSolvers/
DIncompleteLUT.h224 SparseMatrix<Scalar,ColMajor, Index> mat1 = amat; in analyzePattern() local
229 SparseMatrix<Scalar,ColMajor, Index> AtA = mat2 + mat1; in analyzePattern()
/external/mesa3d/src/glsl/
DREADME121 optimizations ((color * 1.0 == color) and ((mat1 * mat2) * vec == mat1

12