/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/spec/gl-matrix/ |
D | mat2-spec.js | 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); }); 89 beforeEach(function() { result = mat2.invert(matA, matA); }); 98 beforeEach(function() { result = mat2.adjoint(out, matA); }); [all …]
|
/external/vixl/examples/ |
D | neon-matrix-multiply.cc | 117 float mat1[kLength], mat2[kLength], output[kLength]; in main() local 132 mat2[0] = 1.0f; mat2[4] = 11.24f; mat2[ 8] = 21.00f; mat2[12] = 21.31f; in main() 133 mat2[1] = 2.0f; mat2[5] = 2.24f; mat2[ 9] = 8.56f; mat2[13] = 52.03f; in main() 134 mat2[2] = 3.0f; mat2[6] = 51.00f; mat2[10] = 21.00f; mat2[14] = 33.11f; in main() 135 mat2[3] = 4.0f; mat2[7] = 0.00f; mat2[11] = 84.00f; mat2[15] = 1.97f; in main() 140 simulator.set_xreg(2, reinterpret_cast<uintptr_t>(mat2)); in main() 149 mat2[i], mat2[4+i], mat2[8+i], mat2[12+i], in main()
|
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/src/gl-matrix/ |
D | mat2.js | 27 var mat2 = {}; variable 34 mat2.create = function() { 49 mat2.clone = function(a) { 65 mat2.copy = function(out, a) { 79 mat2.identity = function(out) { 94 mat2.transpose = function(out, a) { 117 mat2.invert = function(out, a) { 143 mat2.adjoint = function(out, a) { 160 mat2.determinant = function (a) { 172 mat2.multiply = function (out, a, b) { [all …]
|
/external/eigen/doc/snippets/ |
D | 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/opencv/cxcore/src/ |
D | cxnorm.cpp | 980 CvMat stub2, *mat2 = (CvMat*)imgA; in cvNorm() local 987 mat1 = mat2; in cvNorm() 988 mat2 = 0; in cvNorm() 991 is_relative = mat2 && (normType & CV_RELATIVE); in cvNorm() 1009 if( CV_IS_MAT(mat1) && (!mat2 || CV_IS_MAT(mat2)) && !mask ) in cvNorm() 1011 if( mat2 ) in cvNorm() 1013 if( !CV_ARE_TYPES_EQ( mat1, mat2 )) in cvNorm() 1016 if( !CV_ARE_SIZES_EQ( mat1, mat2 )) in cvNorm() 1019 mat2_flag = mat2->type; in cvNorm() 1038 if( !mat2 || is_relative ) in cvNorm() [all …]
|
/external/eigen/test/ |
D | product_large.cpp | 56 MatrixXf mat2(32,32); mat2.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/deqp/data/gles2/shaders/ |
D | conversions.test | 3188 …mat2 out0 = [ mat2(0.0, 0.0, 0.0, 0.0) | mat2(1.0, 0.0, 0.0, 1.0) | mat2(2.0, 0.0, 0.0, 2.0) | mat… 3200 out0 = mat2(in0); 3254 …mat2 out0 = [ mat2(0.0, 0.0, 0.0, 0.0) | mat2(1.0, 0.0, 0.0, 1.0) | mat2(2.0, 0.0, 0.0, 2.0) | mat… 3266 out0 = mat2(in0); 3320 output mat2 out0 = [ mat2(1.0, 0.0, 0.0, 1.0) | mat2(0.0, 0.0, 0.0, 0.0) ]; 3332 out0 = mat2(in0); 3390 output mat2 out0 = [ mat2(1.0, 0.0, 0.0, 1.0) | mat2(6.5, 32.0, 12.5, 0.0208333333333) ]; 3402 out0 = mat2(in0); 3456 output mat2 out0 = [ mat2(1.0, 0.0, 0.0, 1.0) | mat2(6.5, 32.0, 12.5, 0.03125) ]; 3468 out0 = mat2(in0); [all …]
|
/external/vixl/test/examples/ |
D | test-examples.cc | 259 float mat1[kLength], mat2[kLength], expected[kLength], output[kLength]; in TEST() local 268 mat2[0] = 1.0f; mat2[4] = 11.24f; mat2[ 8] = 21.00f; mat2[12] = 21.31f; in TEST() 269 mat2[1] = 2.0f; mat2[5] = 2.24f; mat2[ 9] = 8.56f; mat2[13] = 52.03f; in TEST() 270 mat2[2] = 3.0f; mat2[6] = 51.00f; mat2[10] = 21.00f; mat2[14] = 33.11f; in TEST() 271 mat2[3] = 4.0f; mat2[7] = 0.00f; mat2[11] = 84.00f; mat2[15] = 1.97f; in TEST() 273 MatrixMultiplyC(expected, mat1, mat2); in TEST() 278 simulator.set_xreg(2, reinterpret_cast<uintptr_t>(mat2)); in TEST()
|
/external/eigen/test/eigen2/ |
D | eigen2_product_large.cpp | 40 MatrixXf mat2(32,10); mat2.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/deqp/data/gles3/shaders/ |
D | conversions.test | 6271 …mat2 out0 = [ mat2(0.0, 0.0, 0.0, 0.0) | mat2(1.0, 0.0, 0.0, 1.0) | mat2(2.0, 0.0, 0.0, 2.0) | mat… 6284 out0 = mat2(in0); 6487 …mat2 out0 = [ mat2(0.0, 0.0, 0.0, 0.0) | mat2(1.0, 0.0, 0.0, 1.0) | mat2(2.0, 0.0, 0.0, 2.0) | mat… 6500 out0 = mat2(in0); 6703 …mat2 out0 = [ mat2(0.0, 0.0, 0.0, 0.0) | mat2(2.0, 0.0, 0.0, 2.0) | mat2(3.0, 0.0, 0.0, 3.0) | mat… 6716 out0 = mat2(in0); 6919 output mat2 out0 = [ mat2(1.0, 0.0, 0.0, 1.0) | mat2(0.0, 0.0, 0.0, 0.0) ]; 6932 out0 = mat2(in0); 7139 output mat2 out0 = [ mat2(1.0, 0.0, 0.0, 1.0) | mat2(6.5, 32.0, 12.5, 0.0208333333333) ]; 7152 out0 = mat2(in0); [all …]
|
/external/deqp/data/gles31/shaders/ |
D | linkage_tessellation_varying_types.test | 219 case mat2 221 desc "varying of type mat2" 225 …mat2 in0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 226 …mat2 out0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 231 out mediump mat2 vtx_var; 241 in mediump mat2 vtx_var[]; 242 out mediump mat2 tc_out[]; 252 in mediump mat2 tc_out[]; 253 out mediump mat2 te_out; 264 in mat2 te_out;
|
D | linkage_geometry_varying_types.test | 191 case mat2 193 desc "varying of type mat2" 197 …mat2 in0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 198 …mat2 out0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 203 out mediump mat2 vtx_var; 213 in mediump mat2 vtx_var[]; 214 out mediump mat2 geo_var; 229 in mat2 geo_var;
|
D | linkage_tessellation_geometry_varying_types.test | 283 case mat2 285 desc "varying of type mat2" 290 …mat2 in0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 291 …mat2 out0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 296 out mediump mat2 vtx_var; 306 in mediump mat2 vtx_var[]; 307 out mediump mat2 tc_out[]; 317 in mediump mat2 tc_out[]; 318 out mediump mat2 te_out; 328 in mediump mat2 te_out[]; [all …]
|
D | linkage_tessellation_uniform_types.test | 211 case mat2 213 desc "uniform of type mat2" 217 uniform mat2 val0 = [ mat2(-1.25, 1.25, -9.5, -12.2) ]; 218 uniform mat2 val1 = [ mat2(1.0, 1.5, 2.5, -1.0) ]; 219 output mat2 out0 = [ mat2(0.75, 4.25, -4.5, -14.2) ]; 232 out mediump mat2 tc_out[]; 242 in mediump mat2 tc_out[]; 243 out mediump mat2 te_out; 254 in mat2 te_out;
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
D | TestCcd.java | 62 private Material mat2; field in TestCcd 93 mat2 = new Material(getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md"); in simpleInitApp() 94 mat2.getAdditionalRenderState().setWireframe(true); in simpleInitApp() 95 mat2.setColor("Color", ColorRGBA.Red); in simpleInitApp() 142 bulletg.setMaterial(mat2); in onAction()
|
D | TestCollisionShapeFactory.java | 58 private Material mat2; field in TestCollisionShapeFactory 78 attachRandomGeometry(node2, mat2); in simpleInitApp() 128 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in createMaterial() 129 mat2.setColor("Color", ColorRGBA.Red); in createMaterial()
|
D | TestBoneRagdoll.java | 111 Material mat2 = new Material(getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md"); in simpleInitApp() local 112 mat2.getAdditionalRenderState().setWireframe(true); in simpleInitApp() 113 mat2.setColor("Color", ColorRGBA.Green); in simpleInitApp() 114 mat2.getAdditionalRenderState().setDepthTest(false); in simpleInitApp() 115 skeletonDebug.setMaterial(mat2); in simpleInitApp()
|
D | TestBrickWall.java | 69 Material mat2; field in TestBrickWall 122 bulletg.setMaterial(mat2); 173 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in initMaterial() 177 mat2.setTexture("ColorMap", tex2); in initMaterial()
|
D | TestBrickTower.java | 79 Material mat2; field in TestBrickTower 133 bulletg.setMaterial(mat2); 200 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in initMaterial() 204 mat2.setTexture("ColorMap", tex2); in initMaterial()
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
D | HelloNode.java | 67 Material mat2 = new Material(assetManager, in simpleInitApp() local 69 mat2.setColor("Color", ColorRGBA.Red); in simpleInitApp() 70 red.setMaterial(mat2); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/test/jme3test/conversion/ |
D | TestMipMapGen.java | 80 Material mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in simpleInitApp() local 81 mat2.setTexture("ColorMap", texCustomMip); in simpleInitApp() 86 quad2.setMaterial(mat2); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/ |
D | TestBillboard.java | 62 Material mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in simpleInitApp() local 63 mat2.setColor("Color", ColorRGBA.Yellow); in simpleInitApp() 64 g3.setMaterial(mat2); in simpleInitApp()
|
/external/eigen/doc/ |
D | QuickReference.dox | 322 mat3 = mat1 + mat2; mat3 += mat1; 323 mat3 = mat1 - mat2; mat3 -= mat1;\endcode 334 mat3 = mat1 * mat2; mat3 *= mat1; \endcode 338 mat1 = mat2.transpose(); mat1.transposeInPlace(); 339 mat1 = mat2.adjoint(); mat1.adjointInPlace(); 371 mat1.cwiseMin(mat2) 372 mat1.cwiseMax(mat2) 376 mat1.cwiseProduct(mat2) 377 mat1.cwiseQuotient(mat2)\endcode 379 mat1.array().min(mat2.array()) [all …]
|
/external/jmonkeyengine/engine/src/test/jme3test/effect/ |
D | TestSoftParticles.java | 58 Material mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in simpleInitApp() local 59 mat2.setColor("Color", ColorRGBA.DarkGray); in simpleInitApp() 60 geom2.setMaterial(mat2); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/test/jme3test/batching/ |
D | TestBatchNodeCluster.java | 63 Material mat2; field in TestBatchNodeCluster 85 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); in simpleInitApp() 86 mat2.setColor("Color", ColorRGBA.White); in simpleInitApp() 87 mat2.setColor("GlowColor", ColorRGBA.Red.mult(10)); in simpleInitApp() 151 box.setMaterial(mat2); in randomGenerator()
|