/external/eigen/test/eigen2/ |
eigen2_determinant.cpp | 53 CALL_SUBTEST_1( determinant(Matrix<float, 1, 1>()) ); 54 CALL_SUBTEST_2( determinant(Matrix<double, 2, 2>()) ); 55 CALL_SUBTEST_3( determinant(Matrix<double, 3, 3>()) ); 56 CALL_SUBTEST_4( determinant(Matrix<double, 4, 4>()) ); 57 CALL_SUBTEST_5( determinant(Matrix<std::complex<double>, 10, 10>()) );
|
eigen2_nomalloc.cpp | 28 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 37 identity = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> 39 square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> 60 CALL_SUBTEST_1( nomalloc(Matrix<float, 1, 1>()) ); 62 CALL_SUBTEST_3( nomalloc(Matrix<float,32,32>()) );
|
eigen2_swap.cpp | 20 struct other_matrix_type<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > 22 typedef Matrix<_Scalar, _Rows, _Cols, _Options^RowMajor, _MaxRows, _MaxCols> type; 34 // construct 3 matrix guaranteed to be distinct 57 // test swapping matrix with expression 71 // test assertion on mismatching size -- matrix case
|
/external/eigen/test/ |
swap.cpp | 20 struct other_matrix_type<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > 22 typedef Matrix<_Scalar, _Rows, _Cols, _Options^RowMajor, _MaxRows, _MaxCols> type; 34 // construct 3 matrix guaranteed to be distinct 57 // test swapping matrix with expression 71 // test assertion on mismatching size -- matrix case
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
MatrixSquareRoot.h | 16 * \brief Class for computing matrix square roots of upper quasi-triangular matrices. 17 * \tparam MatrixType type of the argument of the matrix square root, 18 * expected to be an instantiation of the Matrix class template. 21 * matrix stored in the upper Hessenberg part of the matrix passed to 33 * \param[in] A upper quasi-triangular matrix whose square root 45 /** \brief Compute the matrix square root 87 // pre: T is quasi-upper-triangular and sqrtT is a zero matrix of the same size 142 Matrix<Scalar,2,2> block = T.template block<2,2>(i,i); 143 EigenSolver<Matrix<Scalar,2,2> > es(block) [all...] |
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
fdjac1.h | 8 Matrix< Scalar, Dynamic, 1 > &x, 9 Matrix< Scalar, Dynamic, 1 > &fvec, 10 Matrix< Scalar, Dynamic, Dynamic > &fjac, 31 Matrix< Scalar, Dynamic, 1 > wa1(n); 32 Matrix< Scalar, Dynamic, 1 > wa2(n);
|
/external/skia/src/animator/ |
SkDraw3D.cpp | 55 SkMatrix matrix; local 56 fCamera.patchToMatrix(patch->fPatch, &matrix); 57 matrix.preTranslate(hackWidth / 2, -hackHeight / 2); 58 matrix.postTranslate(hackWidth / 2, hackHeight / 2); 59 maker.fCanvas->concat(matrix);
|
/frameworks/native/include/private/gui/ |
LayerState.h | 63 matrix.dsdx = matrix.dtdy = 1.0f; 64 matrix.dsdy = matrix.dtdx = 0.0f; 89 matrix22_t matrix; member in struct:android::layer_state_t
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImagePoint.java | 22 import android.graphics.Matrix; 68 Matrix originalToScreen = getImageToScreenMatrix(false); 69 Matrix originalRotateToScreen = getImageToScreenMatrix(true); 79 FilterPoint candidate, Canvas canvas, Matrix originalToScreen, 80 Matrix originalRotateToScreen, Paint paint);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/include/cloog/ |
matrix.h | 8 /* The CloogMatrix structure is equivalent to the PolyLib Matrix data structure 11 * The whole matrix is stored in memory row after row at the p_Init address. p 14 * the matrix. Each row corresponds to a constraint. The first element of each 41 cloog_int_t ** p; /* Array of pointers to the matrix rows. */ 42 cloog_int_t * p_Init; /* Matrix rows contiguously in memory. */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/include/cloog/ |
matrix.h | 8 /* The CloogMatrix structure is equivalent to the PolyLib Matrix data structure 11 * The whole matrix is stored in memory row after row at the p_Init address. p 14 * the matrix. Each row corresponds to a constraint. The first element of each 41 cloog_int_t ** p; /* Array of pointers to the matrix rows. */ 42 cloog_int_t * p_Init; /* Matrix rows contiguously in memory. */
|
/external/deqp/modules/gles3/functional/ |
es3fShaderMatrixTests.cpp | 21 * \brief Shader matrix arithmetic tests. 32 * + matrix source 624 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T, Rows, Cols>& b) 626 tcu::Matrix<T, Rows, Cols> retVal; 638 tcu::Matrix<T, Cols, Rows> transpose (const tcu::Matrix<T, Rows, Cols>& mat) 640 tcu::Matrix<T, Cols, Rows> retVal; 652 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>& b [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
MatrixStack.java | 19 import android.opengl.Matrix; 25 * A matrix stack, similar to OpenGL ES's internal matrix stack. 44 Matrix.frustumM(mMatrix, mTop, left, right, bottom, top, near, far); 55 Matrix.setIdentityM(mMatrix, mTop); 80 Matrix.multiplyMM(mMatrix, mTop, mTemp, 0, m, offset); 104 Matrix.orthoM(mMatrix, mTop, left, right, bottom, top, near, far); 127 Matrix.setRotateM(mTemp, 0, angle, x, y, z); 129 Matrix.multiplyMM(mMatrix, mTop, mTemp, MATRIX_SIZE, mTemp, 0); 137 Matrix.scaleM(mMatrix, mTop, x, y, z) [all...] |
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
MyGLRenderer.java | 23 import android.opengl.Matrix; 41 // mMVPMatrix is an abbreviation for "Model View Projection Matrix" 66 // Set the camera position (View matrix) 67 Matrix.setLookAtM(mViewMatrix, 0, 0, 0, -3, 0f, 0f, 0f, 0f, 1.0f, 0.0f); 70 Matrix.multiplyMM(mMVPMatrix, 0, mProjectionMatrix, 0, mViewMatrix, 0); 82 Matrix.setRotateM(mRotationMatrix, 0, mAngle, 0, 0, 1.0f); 84 // Combine the rotation matrix with the projection and camera view 86 // for the matrix multiplication product to be correct. 87 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0); 101 // this projection matrix is applied to object coordinate [all...] |
/external/ceres-solver/internal/ceres/ |
block_random_access_matrix.h | 41 // A matrix implementing the BlockRandomAccessMatrix interface is a 42 // matrix whose rows and columns are divided into blocks. For example 43 // the matrix A: 57 // user is accessing the matrix concurrently, it is his responsibility 61 // There is no requirement that all cells be present, i.e. the matrix 66 // form a dense submatrix of a larger dense matrix. Like everywhere 104 // a CellInfo with a pointer to the dense matrix containing it, 105 // otherwise return NULL. The dense matrix containing this cell has 107 // (row, col) within this matrix. 119 // Zero out the values of the array. The structure of the matrix [all...] |
dense_normal_cholesky_solver.cc | 74 ConstColMajorMatrixRef Aref = A->matrix(); 75 Matrix lhs(num_cols, num_cols); 83 // same matrix being multiplied with itself and that the product is 92 lhs += D.array().square().matrix().asDiagonal(); 99 Eigen::LLT<Matrix, Eigen::Upper> llt = 123 // Temporarily append a diagonal block to the A matrix, but undo 124 // it before returning the matrix to the user. 129 Matrix lhs(num_cols, num_cols); 135 // matrix is the same as the number of rows. 145 // Undo the modifications to the matrix A [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/math/ |
m_matrix.h | 28 * Defines basic structures for matrix-handling. 44 * \name Symbolic names to some of the entries in the matrix 46 * These are handy for the viewport mapping, which is expressed as a matrix. 63 MATRIX_GENERAL, /**< general 4x4 matrix */ 64 MATRIX_IDENTITY, /**< identity matrix */ 66 MATRIX_PERSPECTIVE, /**< perspective projection matrix */ 73 * Matrix type to represent 4x4 transformation matrices. 76 GLfloat *m; /**< 16 matrix elements (16-byte aligned) */ 169 * Transform a point (column vector) by a matrix: Q = M * P 186 * Transform a normal (row vector) by a matrix: [NX NY NZ] = N * MA [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkPictureStateTree.cpp | 102 void SkPictureStateTree::Iterator::setCurrentMatrix(const SkMatrix* matrix) { 103 SkASSERT(NULL != matrix); 105 if (matrix == fCurrentMatrix) { 109 // The matrix is in recording space, but we also inherit 110 // a playback matrix from out target canvas. 111 SkMatrix m = *matrix; 114 fCurrentMatrix = matrix; 169 // restore() may change the matrix, so we need to reapply. 174 // restore() may change the matrix, so we need to reapply. 188 // restore() may change the matrix, so we need to reapply [all...] |
/external/chromium_org/third_party/skia/tests/ |
RoundRectTest.cpp | 385 // Called for a matrix that should cause SkRRect::transform to fail. 387 const SkMatrix& matrix) { 395 bool success = orig.transform(matrix, &dst); 420 // The identity matrix will duplicate the rrect. 426 SkMatrix matrix; local 427 matrix.reset(); 428 matrix.setSkewX(SkIntToScalar(2)); 429 assert_transform_failure(reporter, orig, matrix); 431 matrix.reset(); 432 matrix.setSkewY(SkIntToScalar(3)) [all...] |
/external/mesa3d/src/mesa/math/ |
m_matrix.h | 28 * Defines basic structures for matrix-handling. 44 * \name Symbolic names to some of the entries in the matrix 46 * These are handy for the viewport mapping, which is expressed as a matrix. 63 MATRIX_GENERAL, /**< general 4x4 matrix */ 64 MATRIX_IDENTITY, /**< identity matrix */ 66 MATRIX_PERSPECTIVE, /**< perspective projection matrix */ 73 * Matrix type to represent 4x4 transformation matrices. 76 GLfloat *m; /**< 16 matrix elements (16-byte aligned) */ 169 * Transform a point (column vector) by a matrix: Q = M * P 186 * Transform a normal (row vector) by a matrix: [NX NY NZ] = N * MA [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
MovieHeaderBox.java | 42 private long[] matrix = new long[]{0x00010000, 0, 0, 0, 0x00010000, 0, 0, 0, 0x40000000}; field in class:MovieHeaderBox 84 return matrix; 121 matrix = new long[9]; 123 matrix[i] = IsoTypeReader.readUInt32(content); 151 for (int i = 0; i < matrix.length; i++) { 153 result.append("matrix").append(i).append("=").append(matrix[i]); 184 IsoTypeWriter.writeUInt32(byteBuffer, matrix[i]); 223 public void setMatrix(long[] matrix) { 224 this.matrix = matrix [all...] |
TrackHeaderBox.java | 46 private long[] matrix = new long[]{0x00010000, 0, 0, 0, 0x00010000, 0, 0, 0, 0x40000000}; field in class:TrackHeaderBox 85 return matrix; 129 matrix = new long[9]; 131 matrix[i] = IsoTypeReader.readUInt32(content); 159 IsoTypeWriter.writeUInt32(byteBuffer, matrix[i]); 181 for (int i = 0; i < matrix.length; i++) { 183 result.append("matrix").append(i).append("=").append(matrix[i]); 221 public void setMatrix(long[] matrix) { 222 this.matrix = matrix [all...] |
/external/pixman/test/ |
matrix-test.c | 105 /* random shift for the matrix */ 108 ti.matrix[j][k] >>= prng_rand_n (30); 113 /* affine matrix */ 114 ti.matrix[2][0] = 0; 115 ti.matrix[2][1] = 0; 116 ti.matrix[2][2] = pixman_fixed_1; 125 is_affine = (ti.matrix[2][0] == 0 && ti.matrix[2][1] == 0 && 126 ti.matrix[2][2] == pixman_fixed_1 && 144 tf.m[j][k] = pixman_fixed_to_float128 (ti.matrix[j][k]) [all...] |
/external/skia/src/core/ |
SkPictureStateTree.cpp | 102 void SkPictureStateTree::Iterator::setCurrentMatrix(const SkMatrix* matrix) { 103 SkASSERT(NULL != matrix); 105 if (matrix == fCurrentMatrix) { 109 // The matrix is in recording space, but we also inherit 110 // a playback matrix from out target canvas. 111 SkMatrix m = *matrix; 114 fCurrentMatrix = matrix; 169 // restore() may change the matrix, so we need to reapply. 174 // restore() may change the matrix, so we need to reapply. 188 // restore() may change the matrix, so we need to reapply [all...] |
/external/skia/tests/ |
RoundRectTest.cpp | 385 // Called for a matrix that should cause SkRRect::transform to fail. 387 const SkMatrix& matrix) { 395 bool success = orig.transform(matrix, &dst); 420 // The identity matrix will duplicate the rrect. 426 SkMatrix matrix; local 427 matrix.reset(); 428 matrix.setSkewX(SkIntToScalar(2)); 429 assert_transform_failure(reporter, orig, matrix); 431 matrix.reset(); 432 matrix.setSkewY(SkIntToScalar(3)) [all...] |