/external/eigen/Eigen/src/Core/ |
GeneralProduct.h | 26 * We call a general matrix, a dense matrix with full storage. For instance, 31 * function which involves a matrix product, use ProductReturnType::Type. 141 * between two matrix expressions. In practice, using ProductReturnType<Lhs,Rhs>::Type 143 * which involve a matrix product. The class Product should never be 184 // instead of a 1x1 matrix ?? 186 // Cons: this could be a problem if in a meta unrolled algorithm a matrix-matrix 194 : traits<Matrix<typename scalar_product_traits<typename Lhs::Scalar, typename Rhs::Scalar>::ReturnType,1,1> > 202 public Matrix<typename internal::scalar_product_traits<typename Lhs::Scalar, typename Rhs::Scalar>::ReturnType,1 (…) [all...] |
MatrixBase.h | 21 * This class is the base that is inherited by all matrix, vector, and related expression 23 * classes for the Eigen API are Matrix, and VectorwiseOp. 26 * for all functions related to matrix inversions. 28 * \tparam Derived is the derived type, e.g. a matrix type, or an expression, etc. 31 * to take as argument any matrix, vector, or expression, just let it take a 33 * a matrix, vector, or expression \a x, prints the first row of \a x. 94 /** type of the equivalent square matrix */ 95 typedef Matrix<Scalar,EIGEN_SIZE_MAX(RowsAtCompileTime,ColsAtCompileTime), 103 /** \brief The plain matrix type corresponding to this expression. 106 * the return type of eval() is a const reference to a matrix, not a matrix! It is however guarantee 317 MatrixBase<Derived>& matrix() { return *this; } function in class:Eigen::MatrixBase 318 const MatrixBase<Derived>& matrix() const { return *this; } function in class:Eigen::MatrixBase [all...] |
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
DGMRES.h | 71 * at right of the matrix and the combination is multiplicative. 73 * \tparam _MatrixType the type of the sparse matrix A, can be a dense or a sparse matrix. 116 typedef Matrix<Scalar,Dynamic,Dynamic> DenseMatrix; 117 typedef Matrix<RealScalar,Dynamic,Dynamic> DenseRealMatrix; 118 typedef Matrix<Scalar,Dynamic,1> DenseVector; 119 typedef Matrix<RealScalar,Dynamic,1> DenseRealVector; 120 typedef Matrix<std::complex<RealScalar>, Dynamic, 1> ComplexVector; 126 /** Initialize the solver with matrix \a A for further \c Ax=b solving. 131 * \warning this class stores a reference to the matrix A as well as som [all...] |
/frameworks/base/core/java/android/app/ |
ActivityTransitionCoordinator.java | 19 import android.graphics.Matrix; 377 Matrix tempMatrix, RectF tempRect, int[] decorLoc) { 389 if (scaleType == ImageView.ScaleType.MATRIX) { 452 protected void getSharedElementParentMatrix(View view, Matrix matrix) { 455 matrix.reset(); 456 parent.transformMatrixToLocal(matrix); 464 Matrix tempMatrix = new Matrix(); 531 if (state.mScaleType == ImageView.ScaleType.MATRIX) { 683 float[] matrix = new float[9]; local [all...] |
/external/ceres-solver/internal/ceres/ |
polynomial.cc | 48 // "Balancing a Matrix for Calculation of Eigenvalues and Eigenvectors". 51 void BalanceCompanionMatrix(Matrix* companion_matrix_ptr) { 53 Matrix& companion_matrix = *companion_matrix_ptr; 54 Matrix companion_matrix_offdiagonal = companion_matrix; 60 // lower the 1-norm of the companion matrix to be accepted. 99 VLOG(3) << "Balanced companion matrix is\n" << companion_matrix; 103 Matrix* companion_matrix_ptr) { 105 Matrix& companion_matrix = *companion_matrix_ptr; 227 // Build and balance the companion matrix to the polynomial. 228 Matrix companion_matrix(degree, degree) [all...] |
schur_complement_solver.cc | 114 // Solve the system Sx = r, assuming that the matrix S is stored in a 137 Eigen::LLT<Matrix, Eigen::Upper> llt = 180 // Determine the non-zero blocks in the Schur Complement matrix, and 268 // Solve the system Sx = r, assuming that the matrix S is stored in a 292 down_cast<const BlockRandomAccessSparseMatrix*>(lhs())->matrix()); 305 // complement matrix from scratch and not rely on the 309 // Create a upper triangular symmetric matrix. 325 // Create a upper triangular symmetric matrix. 375 // Solve the system Sx = r, assuming that the matrix S is stored in a 400 down_cast<const BlockRandomAccessSparseMatrix*>(lhs())->matrix()); [all...] |
/external/chromium_org/cc/output/ |
renderer_pixeltest.cc | 803 SkScalar matrix[20]; local 805 matrix[0] = 0.213f + 0.787f * amount; 806 matrix[1] = 0.715f - 0.715f * amount; 807 matrix[2] = 1.f - (matrix[0] + matrix[1]); 808 matrix[3] = matrix[4] = 0; 809 matrix[5] = 0.213f - 0.213f * amount; 810 matrix[6] = 0.715f + 0.285f * amount 1045 SkScalar matrix[20]; local [all...] |
/external/chromium_org/third_party/skia/platform_tools/nacl/debugger/ |
index.html | 431 Current Matrix 434 <td><input type="text" id="matrix00" class="matrix" /></td> 435 <td><input type="text" id="matrix01" class="matrix" /></td> 436 <td><input type="text" id="matrix02" class="matrix" /></td> 439 <td><input type="text" id="matrix10" class="matrix" /></td> 440 <td><input type="text" id="matrix11" class="matrix" /></td> 441 <td><input type="text" id="matrix12" class="matrix" /></td> 444 <td><input type="text" id="matrix20" class="matrix" /></td> 445 <td><input type="text" id="matrix21" class="matrix" /></td> 446 <td><input type="text" id="matrix22" class="matrix" /></td [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkColorMatrixFilter.cpp | 287 // expand to 8bit components (since our matrix translate is 8bit biased 319 bool SkColorMatrixFilter::asColorMatrix(SkScalar matrix[20]) const { 320 if (matrix) { 321 memcpy(matrix, fMatrix.fMat, 20 * sizeof(SkScalar)); 333 static GrEffectRef* Create(const SkColorMatrix& matrix) { 334 AutoEffectUnref effect(SkNEW_ARGS(ColorMatrixEffect, (matrix))); 338 static const char* Name() { return "Color Matrix"; } 349 // The matrix is defined such the 4th row determines the output alpha. The first four 368 // If any relevant component of the color to be passed through the matrix is non-const 385 // result if the matrix could over/underflow for any component [all...] |
/external/eigen/blas/ |
level2_cplx_impl.h | 12 /** ZHEMV performs the matrix-vector operation 17 * A is an n by n hermitian matrix. 79 /** ZHBMV performs the matrix-vector operation 84 * A is an n by n hermitian band matrix, with k super-diagonals. 92 /** ZHPMV performs the matrix-vector operation 97 * A is an n by n hermitian matrix, supplied in packed form. 109 * n by n hermitian matrix, supplied in packed form. 160 * n by n hermitian matrix, supplied in packed form. 215 * n by n hermitian matrix. 257 matrix(a,*n,*n,*lda).diagonal().imag().setZero() [all...] |
/external/skia/platform_tools/nacl/debugger/ |
index.html | 431 Current Matrix 434 <td><input type="text" id="matrix00" class="matrix" /></td> 435 <td><input type="text" id="matrix01" class="matrix" /></td> 436 <td><input type="text" id="matrix02" class="matrix" /></td> 439 <td><input type="text" id="matrix10" class="matrix" /></td> 440 <td><input type="text" id="matrix11" class="matrix" /></td> 441 <td><input type="text" id="matrix12" class="matrix" /></td> 444 <td><input type="text" id="matrix20" class="matrix" /></td> 445 <td><input type="text" id="matrix21" class="matrix" /></td> 446 <td><input type="text" id="matrix22" class="matrix" /></td [all...] |
/external/skia/src/effects/ |
SkColorMatrixFilter.cpp | 287 // expand to 8bit components (since our matrix translate is 8bit biased 319 bool SkColorMatrixFilter::asColorMatrix(SkScalar matrix[20]) const { 320 if (matrix) { 321 memcpy(matrix, fMatrix.fMat, 20 * sizeof(SkScalar)); 333 static GrEffectRef* Create(const SkColorMatrix& matrix) { 334 AutoEffectUnref effect(SkNEW_ARGS(ColorMatrixEffect, (matrix))); 338 static const char* Name() { return "Color Matrix"; } 349 // The matrix is defined such the 4th row determines the output alpha. The first four 368 // If any relevant component of the color to be passed through the matrix is non-const 385 // result if the matrix could over/underflow for any component [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
ImageLoader.java | 26 import android.graphics.Matrix; 180 Matrix matrix = new Matrix(); local 193 matrix.setRotate(90, w / 2f, h / 2f); 196 matrix.setRotate(180, w / 2f, h / 2f); 199 matrix.setRotate(270, w / 2f, h / 2f); 202 matrix.preScale(-1, 1); 205 matrix.preScale(1, -1); 208 matrix.setRotate(90, w / 2f, h / 2f) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
ImageLoader.java | 28 import android.graphics.Matrix; 206 Matrix matrix = new Matrix(); local 219 matrix.setRotate(90, w / 2f, h / 2f); 222 matrix.setRotate(180, w / 2f, h / 2f); 225 matrix.setRotate(270, w / 2f, h / 2f); 228 matrix.preScale(-1, 1); 231 matrix.preScale(1, -1); 234 matrix.setRotate(90, w / 2f, h / 2f) [all...] |
/external/chromium_org/ppapi/api/ |
ppb_compositor_layer.idl | 136 * applies a transform matrix on the layer first, and then clips the layer 150 * Sets a transform matrix which is used to composite the layer. 154 * param[in] matrix A float array with 16 elements. The matrix is 155 * column major. The default transform matrix is an identity matrix. 160 [in] float_t[16] matrix);
|
/external/chromium_org/ppapi/cpp/ |
compositor_layer.h | 118 /// applies a transform matrix on the layer first, and then clips the layer 127 /// Sets a transform matrix which is used to composite the layer. 129 /// param[in] matrix A float array with 16 elements. The matrix is coloum 130 /// major. The default transform matrix is an identity matrix. 133 int32_t SetTransform(const float matrix[16]);
|
/external/chromium_org/skia/ext/ |
platform_device_win.cc | 131 void PlatformDevice::LoadTransformToDC(HDC dc, const SkMatrix& matrix) { 133 xf.eM11 = matrix[SkMatrix::kMScaleX]; 134 xf.eM21 = matrix[SkMatrix::kMSkewX]; 135 xf.eDx = matrix[SkMatrix::kMTransX]; 136 xf.eM12 = matrix[SkMatrix::kMSkewY]; 137 xf.eM22 = matrix[SkMatrix::kMScaleY]; 138 xf.eDy = matrix[SkMatrix::kMTransY];
|
/external/chromium_org/third_party/mesa/src/src/mesa/x86/ |
sse_normal.S | 30 * data (trans-matrix, src_vert, dst_vert) needs to be 16byte aligned ! 58 MOV_L ( ARG_MAT, EDX ) /* ptr to matrix */ 59 MOV_L ( REGOFF(MATRIX_INV, EDX), EDX) /* matrix->inv */ 120 MOV_L ( ARG_MAT, EDX ) /* ptr to matrix */ 121 MOV_L ( REGOFF(MATRIX_INV, EDX), EDX) /* matrix->inv */ 213 MOV_L ( ARG_MAT, EDX ) /* ptr to matrix */ 214 MOV_L ( REGOFF(MATRIX_INV, EDX), EDX) /* matrix->inv */
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrPathUtils.h | 54 // A 2x3 matrix that goes from the 2d space coordinates to UV space where 55 // u^2-v = 0 specifies the quad. The matrix is determined by the control 60 // Initialize the matrix from the control pts 65 * Applies the matrix to vertex positions to compute UV coords. This 110 // use tolScale = 1, otherwise set based on stretchiness of the matrix. The 155 // by mapping the lines with the inverse-transpose of the matrix used to map the points. 169 // by mapping the lines with the inverse-transpose of the matrix used to map the points.
|
/external/chromium_org/third_party/skia/src/views/ |
SkWindow.cpp | 39 void SkWindow::setMatrix(const SkMatrix& matrix) { 40 if (fMatrix != matrix) { 41 fMatrix = matrix; 46 void SkWindow::preConcat(const SkMatrix& matrix) { 48 m.setConcat(fMatrix, matrix); 52 void SkWindow::postConcat(const SkMatrix& matrix) { 54 m.setConcat(matrix, fMatrix);
|
/external/eigen/Eigen/src/Geometry/ |
AngleAxis.h | 35 * but rather to make easier the creation of other rotation (Quaternion, rotation Matrix) 60 typedef Matrix<Scalar,3,3> Matrix3; 61 typedef Matrix<Scalar,3,1> Vector3; 82 /** Constructs and initialize the angle-axis rotation from a 3x3 rotation matrix. */ 179 /** Set \c *this from a 3x3 rotation matrix \a mat. 191 * \brief Sets \c *this from a 3x3 rotation matrix. 200 /** Constructs and \returns an equivalent 3x3 rotation matrix.
|
Umeyama.h | 42 typedef Matrix<typename traits<MatrixType>::Scalar, 70 * The algorithm is based on the analysis of the covariance matrix 76 * matrix computation which has an asymptotic lower bound of \f$O(dm)\f$ when 91 * Eigen::Matrix. 108 typedef Matrix<Scalar, Dimension, 1> VectorType; 109 typedef Matrix<Scalar, Dimension, Dimension> MatrixType; 134 // Initialize the resulting transformation with an identity matrix...
|
/external/eigen/unsupported/Eigen/src/Skyline/ |
SkylineMatrixBase.h | 87 /** type of the equivalent square matrix */ 88 typedef Matrix<Scalar, EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime), 127 * i.e., the number of columns for a columns major matrix, and the number of rows otherwise */ 133 * i.e., the number of rows for a columns major matrix, and the number of cols otherwise */ 193 Matrix<Scalar, RowsAtCompileTime, ColsAtCompileTime> toDense() const { 197 /** \returns the matrix or vector obtained by evaluating this expression. 199 * Notice that in the case of a plain matrix or vector (not an expression) this function just returns
|
/external/mesa3d/src/mesa/x86/ |
sse_normal.S | 30 * data (trans-matrix, src_vert, dst_vert) needs to be 16byte aligned ! 58 MOV_L ( ARG_MAT, EDX ) /* ptr to matrix */ 59 MOV_L ( REGOFF(MATRIX_INV, EDX), EDX) /* matrix->inv */ 120 MOV_L ( ARG_MAT, EDX ) /* ptr to matrix */ 121 MOV_L ( REGOFF(MATRIX_INV, EDX), EDX) /* matrix->inv */ 213 MOV_L ( ARG_MAT, EDX ) /* ptr to matrix */ 214 MOV_L ( REGOFF(MATRIX_INV, EDX), EDX) /* matrix->inv */
|
/external/neven/Embedded/common/src/b_TensorEm/ |
CompactMat.h | 35 /** Compact Matrix 36 * This object represents a general nxm Matrix that stores its values in 38 * maximum accuracy for the given number of bits. The matrix takes sparseness 50 /* width (columns) of matrix */ 53 /* height (rows) of matrix */ 99 /* copies matrix */ 108 /** allocates matrix */
|