/external/eigen/doc/snippets/ |
MatrixBase_identity.cpp | 1 cout << Matrix<double, 3, 4>::Identity() << endl;
|
ComplexSchur_matrixU.cpp | 2 cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl; 4 cout << "The unitary matrix U is:" << endl << schurOfA.matrixU() << endl;
|
Tridiagonalization_decomposeInPlace.cpp | 3 cout << "Here is a random symmetric 5x5 matrix:" << endl << A << endl << endl; 8 cout << "The orthogonal matrix Q is:" << endl << A << endl; 9 cout << "The diagonal of the tridiagonal matrix T is:" << endl << diag << endl; 10 cout << "The subdiagonal of the tridiagonal matrix T is:" << endl << subdiag << endl;
|
Tutorial_Map_rowmajor.cpp | 3 cout << "Column-major:\n" << Map<Matrix<int,2,4> >(array) << endl; 4 cout << "Row-major:\n" << Map<Matrix<int,2,4,RowMajor> >(array) << endl; 6 Map<Matrix<int,2,4>, Unaligned, Stride<1,4> >(array) << endl;
|
tut_arithmetic_transpose_conjugate.cpp | 2 cout << "Here is the matrix a\n" << a << endl; 4 cout << "Here is the matrix a^T\n" << a.transpose() << endl; 10 cout << "Here is the matrix a^*\n" << a.adjoint() << endl;
|
FullPivLU_solve.cpp | 0 Matrix<float,2,3> m = Matrix<float,2,3>::Random(); 3 cout << "Here is the matrix m:" << endl << m << endl; 4 cout << "Here is the matrix y:" << endl << y << endl; 5 Matrix<float,3,2> x = m.fullPivLu().solve(y);
|
/external/eigen/bench/btl/data/ |
action_settings.txt | 1 aat ; "{/*1.5 A x A^T}" ; "matrix size" ; 4:3000 2 ata ; "{/*1.5 A^T x A}" ; "matrix size" ; 4:3000 3 atv ; "{/*1.5 matrix^T x vector}" ; "matrix size" ; 4:3000 6 matrix_matrix ; "{/*1.5 matrix matrix product}" ; "matrix size" ; 4:3000 7 matrix_vector ; "{/*1.5 matrix vector product}" ; "matrix size" ; 4:3000 8 trmm ; "{/*1.5 triangular matrix matrix product}" ; "matrix size" ; 4:300 [all...] |
/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
Matrix.h | 17 class Matrix { 21 Matrix(); 22 Matrix(const Matrix& src); 24 bool equals(const Matrix& src); 25 // Loads this matrix with the identity matrix. 27 // Loads this matrix with the data from src. 28 void loadWith(const Matrix& src); 29 // Translates this matrix by the given amounts [all...] |
TransformationNode.cpp | 16 TransformationNode::TransformationNode(Matrix* matrix) : 17 mMatrix(matrix) { 24 void TransformationNode::before(Program& program, Matrix& model, Matrix& view, 25 Matrix& projection) { 26 // Save the current Matrix. 32 void TransformationNode::after(Program& program, Matrix& model, Matrix& view, 33 Matrix& projection) [all...] |
TransformationNode.h | 17 #include "Matrix.h" 23 TransformationNode(Matrix* matrix); 26 virtual void before(Program& program, Matrix& model, Matrix& view, 27 Matrix& projection); 28 virtual void after(Program& program, Matrix& model, Matrix& view, 29 Matrix& projection); 31 Matrix mSavedModelMatrix [all...] |
Program.h | 17 #include "Matrix.h" 25 virtual void before(Matrix& model, Matrix& view, Matrix& projection); 26 virtual void after(Matrix& model, Matrix& view, Matrix& projection);
|
ProgramNode.h | 17 #include "Matrix.h" 25 void drawProgram(Matrix& model, Matrix& view, Matrix& projection); 27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection); 28 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection) [all...] |
SceneGraphNode.h | 18 #include "Matrix.h" 27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0; 28 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0; 29 void draw(Program& program, Matrix& model, Matrix& view, Matrix& projection) [all...] |
Program.cpp | 21 void Program::before(Matrix& model, Matrix& view, Matrix& projection) { 25 void Program::after(Matrix& model, Matrix& view, Matrix& projection) {
|
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/ |
README.chromium | 1 Name: gl-matrix 2 Short Name: gl-matrix 3 URL: https://github.com/toji/gl-matrix 12 Matrix math in javascript
|
bower.json | 2 "name": "gl-matrix", 8 "description": "Javascript Matrix and Vector library for High Performance WebGL apps", 9 "main": "dist/gl-matrix-min.js", 23 "matrix",
|
/external/ceres-solver/internal/ceres/ |
incomplete_lq_factorization_test.cc | 58 CompressedRowSparseMatrix matrix(1, 1, 1); 59 matrix.mutable_rows()[0] = 0; 60 matrix.mutable_rows()[1] = 1; 61 matrix.mutable_cols()[0] = 0; 62 matrix.mutable_values()[0] = 2; 65 IncompleteLQFactorization(matrix, 1, 0.0, 1, 0.0)); 66 ExpectMatricesAreEqual(matrix, *l, 1e-16); 83 CompressedRowSparseMatrix matrix(10, 10, 100); 84 int* rows = matrix.mutable_rows(); 85 int* cols = matrix.mutable_cols() [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowColorMatrixColorFilter.java | 11 private ColorMatrix matrix; field in class:ShadowColorMatrixColorFilter 14 public void __constructor__(ColorMatrix matrix) { 15 this.matrix = matrix; 20 this.matrix = new ColorMatrix(array); 25 return "ColorMatrixColorFilter<" + matrix + ">";
|
/external/eigen/unsupported/test/ |
bdcsvd.cpp | 107 // test of Dynamic defined Matrix (42, 42) of float 108 CALL_SUBTEST_11(( bdcsvd_verify_assert<Matrix<float,Dynamic,Dynamic> > 109 (Matrix<float,Dynamic,Dynamic>(42,42)) )); 110 CALL_SUBTEST_11(( compare_bdc_jacobi<Matrix<float,Dynamic,Dynamic> > 111 (Matrix<float,Dynamic,Dynamic>(42,42), 0) )); 112 CALL_SUBTEST_11(( bdcsvd<Matrix<float,Dynamic,Dynamic> > 113 (Matrix<float,Dynamic,Dynamic>(42,42)) )); 115 // test of Dynamic defined Matrix (50, 50) of double 116 CALL_SUBTEST_13(( bdcsvd_verify_assert<Matrix<double,Dynamic,Dynamic> > 117 (Matrix<double,Dynamic,Dynamic>(50,50)) )) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
Transform3dActivity.java | 25 import android.graphics.Matrix; 41 private Matrix mMatrix; 48 mMatrix = new Matrix(); 61 final Matrix matrix = mMatrix; local 63 rotate(centerX, centerY, camera, matrix, 32.0f); 64 drawBitmap(canvas, centerX, centerY, 0.0f, matrix); 66 rotate(centerX, centerY, camera, matrix, 12.0f); 67 drawBitmap(canvas, centerX, centerY, -mBitmap1.getWidth(), matrix); 69 rotate(centerX, centerY, camera, matrix, 52.0f) [all...] |
/external/eigen/test/ |
corners.cpp | 13 VERIFY_IS_EQUAL(matrix.A, matrix.B); \ 25 MatrixType matrix = MatrixType::Random(rows,cols); local 48 MatrixType matrix = MatrixType::Random(); local 60 VERIFY_IS_EQUAL((matrix.template topLeftCorner<r,c>()), (matrix.template block<r,c>(0,0))); 61 VERIFY_IS_EQUAL((matrix.template topRightCorner<r,c>()), (matrix.template block<r,c>(0,cols-c))); 62 VERIFY_IS_EQUAL((matrix.template bottomLeftCorner<r,c>()), (matrix.template block<r,c>(rows-r,0))) [all...] |
/external/deqp/framework/common/ |
tcuMatrix.hpp | 23 * \brief Templatized matrix class. 33 // Templated matrix class. 35 class Matrix 48 Matrix (void); 49 explicit Matrix (const T& src); 50 explicit Matrix (const T src[Rows*Cols]); 51 Matrix (const Vector<T, Rows>& src); 52 Matrix (const Matrix<T, Rows, Cols>& src); 53 ~Matrix (void) 122 namespace matrix namespace in namespace:tcu [all...] |
/cts/suite/cts/deviceTests/opengl/test/ |
MatrixTest.cpp | 20 #include "Matrix.h" 35 Matrix m1; 36 Matrix m2; 42 Matrix* clone = new Matrix(m1); 49 // Create an identity matrix. 50 Matrix m; 57 checkValues(m.mData, expected, Matrix::MATRIX_SIZE); 61 // Create a matrix. 62 Matrix m1 [all...] |
/frameworks/base/graphics/java/android/graphics/ |
ColorMatrixColorFilter.java | 20 * A color filter that transforms colors through a 4x5 color matrix. This filter 29 * Create a color filter that transforms colors through a 4x5 color matrix. 31 * @param matrix 4x5 matrix used to transform colors. It is copied into 32 * the filter, so changes made to the matrix after the filter 35 public ColorMatrixColorFilter(ColorMatrix matrix) { 36 mMatrix.set(matrix); 41 * Create a color filter that transforms colors through a 4x5 color matrix. 44 * matrix. The first 20 entries of the array are copied into 57 * value is never null. Modifying the returned matrix does not hav [all...] |
/external/opencv/cxcore/include/ |
cxcore.hpp | 213 CvMatrix() : matrix(0) {} 215 { matrix = cvCreateMat( rows, cols, type ); } 219 { matrix = cvInitMatHeader( hdr, rows, cols, type, data, step ); } 224 { matrix = cvCreateMatHeader( rows, cols, type ); 225 cvSetData( matrix, data, step ); } 228 { matrix = m; } 232 matrix = m.matrix; 236 CvMatrix( const char* filename, const char* matname=0, int color=-1 ) : matrix(0) 239 CvMatrix( CvFileStorage* fs, const char* mapname, const char* matname ) : matrix(0 348 CvMat* matrix; member in class:CvMatrix [all...] |