/external/eigen/Eigen/src/CholmodSupport/ |
CholmodSupport.h | 48 /** Wraps the Eigen sparse matrix \a mat into a Cholmod sparse matrix object. 105 /** Returns a view of the Eigen sparse matrix \a mat as Cholmod sparse matrix. 110 cholmod_sparse res = viewAsCholmod(mat.matrix().const_cast_derived()); 118 /** Returns a view of the Eigen \b dense matrix \a mat as Cholmod dense matrix. 139 /** Returns a view of the Cholmod sparse matrix \a cm as an Eigen sparse matrix. 179 CholmodBase(const MatrixType& matrix) [all...] |
/external/eigen/Eigen/src/SparseCore/ |
SparsePermutation.h | 48 permut_sparsematrix_product_retval(const PermutationType& perm, const MatrixType& matrix) 49 : m_permutation(perm), m_matrix(matrix) 60 Matrix<Index,Dynamic,1> sizes(m_matrix.outerSize()); 80 Matrix<Index,Dynamic,1> sizes(tmp.outerSize()); 108 /** \returns the matrix with the permutation applied to the columns 112 operator*(const SparseMatrixBase<SparseDerived>& matrix, const PermutationBase<PermDerived>& perm) 114 return internal::permut_sparsematrix_product_retval<PermutationBase<PermDerived>, SparseDerived, OnTheRight, false>(perm, matrix.derived()); 117 /** \returns the matrix with the permutation applied to the rows 121 operator*( const PermutationBase<PermDerived>& perm, const SparseMatrixBase<SparseDerived>& matrix) 123 return internal::permut_sparsematrix_product_retval<PermutationBase<PermDerived>, SparseDerived, OnTheLeft, false>(perm, matrix.derived()) [all...] |
/external/eigen/blas/fortran/ |
ctbmv.f | 13 * CTBMV performs one of the matrix-vector operations 18 * upper or lower triangular band matrix, with ( k + 1 ) diagonals. 24 * On entry, UPLO specifies whether the matrix is an upper or 25 * lower triangular matrix as follows: 27 * UPLO = 'U' or 'u' A is an upper triangular matrix. 29 * UPLO = 'L' or 'l' A is a lower triangular matrix. 57 * On entry, N specifies the order of the matrix A. 63 * super-diagonals of the matrix A. 65 * sub-diagonals of the matrix A. 72 * band part of the matrix of coefficients, supplied column b [all...] |
dtbmv.f | 13 * DTBMV performs one of the matrix-vector operations 18 * upper or lower triangular band matrix, with ( k + 1 ) diagonals. 24 * On entry, UPLO specifies whether the matrix is an upper or 25 * lower triangular matrix as follows: 27 * UPLO = 'U' or 'u' A is an upper triangular matrix. 29 * UPLO = 'L' or 'l' A is a lower triangular matrix. 57 * On entry, N specifies the order of the matrix A. 63 * super-diagonals of the matrix A. 65 * sub-diagonals of the matrix A. 72 * band part of the matrix of coefficients, supplied column b [all...] |
stbmv.f | 13 * STBMV performs one of the matrix-vector operations 18 * upper or lower triangular band matrix, with ( k + 1 ) diagonals. 24 * On entry, UPLO specifies whether the matrix is an upper or 25 * lower triangular matrix as follows: 27 * UPLO = 'U' or 'u' A is an upper triangular matrix. 29 * UPLO = 'L' or 'l' A is a lower triangular matrix. 57 * On entry, N specifies the order of the matrix A. 63 * super-diagonals of the matrix A. 65 * sub-diagonals of the matrix A. 72 * band part of the matrix of coefficients, supplied column b [all...] |
ztbmv.f | 13 * ZTBMV performs one of the matrix-vector operations 18 * upper or lower triangular band matrix, with ( k + 1 ) diagonals. 24 * On entry, UPLO specifies whether the matrix is an upper or 25 * lower triangular matrix as follows: 27 * UPLO = 'U' or 'u' A is an upper triangular matrix. 29 * UPLO = 'L' or 'l' A is a lower triangular matrix. 57 * On entry, N specifies the order of the matrix A. 63 * super-diagonals of the matrix A. 65 * sub-diagonals of the matrix A. 72 * band part of the matrix of coefficients, supplied column b [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/skia/src/gpu/effects/ |
GrBicubicEffect.cpp | 138 const SkMatrix &matrix, 140 : INHERITED(texture, matrix, GrTextureParams(tileModes, GrTextureParams::kNone_FilterMode)) 148 const SkMatrix &matrix, 150 : INHERITED(texture, matrix, 194 bool GrBicubicEffect::ShouldUseBicubic(const SkMatrix& matrix, 196 if (matrix.isIdentity()) { 202 if (!matrix.getMinMaxScales(scales) || scales[0] < SK_Scalar1) { 208 // At this point if scales[1] == SK_Scalar1 then the matrix doesn't do any scaling. 210 if (matrix.rectStaysRect() && SkScalarIsInt(matrix.getTranslateX()) & [all...] |
/frameworks/base/core/java/android/transition/ |
ChangeImageTransform.java | 22 import android.graphics.Matrix; 34 * This Transition captures an ImageView's matrix before and after the 45 private static final String PROPNAME_MATRIX = "android:changeImageTransform:matrix"; 53 private static TypeEvaluator<Matrix> NULL_MATRIX_EVALUATOR = new TypeEvaluator<Matrix>() { 55 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { 60 private static Property<ImageView, Matrix> ANIMATED_TRANSFORM_PROPERTY 61 = new Property<ImageView, Matrix>(Matrix.class, "animatedTransform") 98 Matrix matrix; local [all...] |
TransitionUtils.java | 24 import android.graphics.Matrix; 89 Matrix matrix = new Matrix(); local 90 matrix.setTranslate(-parent.getScrollX(), -parent.getScrollY()); 91 view.transformMatrixToGlobal(matrix); 92 sceneRoot.transformMatrixToLocal(matrix); 94 matrix.mapRect(bounds); 102 Bitmap bitmap = createViewBitmap(view, matrix, bounds); 143 * Creates a Bitmap of the given view, using the Matrix matrix to transform to the loca [all...] |
/frameworks/base/libs/hwui/ |
CanvasState.cpp | 162 // Matrix 165 void CanvasState::getMatrix(SkMatrix* matrix) const { 166 mSnapshot->transform->copyTo(*matrix); 185 void CanvasState::setMatrix(const SkMatrix& matrix) { 186 mSnapshot->transform->load(matrix); 189 void CanvasState::setMatrix(const Matrix4& matrix) { 190 *(mSnapshot->transform) = matrix; 193 void CanvasState::concatMatrix(const SkMatrix& matrix) { 194 mat4 transform(matrix); 198 void CanvasState::concatMatrix(const Matrix4& matrix) { [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
path.c | 32 #include "matrix.h" 64 struct matrix matrix; member in struct:path::__anon19465 69 struct matrix matrix; member in struct:path::__anon19466 292 struct matrix *matrix) 298 matrix_map_point(matrix, x0, y0, &x0, &y0); 360 static struct polygon_array * path_get_fill_polygons(struct path *p, struct matrix *matrix) 812 struct matrix *matrix; member in struct:transform_data [all...] |
/external/skia/src/gpu/gl/ |
GrGLPathRendering.cpp | 84 // we don't use the model view matrix. 194 const SkMatrix& matrix) { 198 coefficients[0] = SkScalarToFloat(matrix[SkMatrix::kMScaleX]); 199 coefficients[1] = SkScalarToFloat(matrix[SkMatrix::kMSkewX]); 200 coefficients[2] = SkScalarToFloat(matrix[SkMatrix::kMTransX]); 203 coefficients[3] = SkScalarToFloat(matrix[SkMatrix::kMSkewY]); 204 coefficients[4] = SkScalarToFloat(matrix[SkMatrix::kMScaleY]); 205 coefficients[5] = SkScalarToFloat(matrix[SkMatrix::kMTransY]); 209 coefficients[6] = SkScalarToFloat(matrix[SkMatrix::kMPersp0]); 210 coefficients[7] = SkScalarToFloat(matrix[SkMatrix::kMPersp1]) [all...] |
/external/ceres-solver/internal/ceres/ |
compressed_row_sparse_matrix.cc | 201 void CompressedRowSparseMatrix::ToDenseMatrix(Matrix* dense_matrix) const { 236 << "Cannot append a matrix with row blocks to one without and vice versa." 237 << "This matrix has : " << row_blocks_.size() << " row blocks." 238 << "The matrix being appended has: " << m.row_blocks().size() 246 // Copy the contents of m into this matrix. 276 void CompressedRowSparseMatrix::ToCRSMatrix(CRSMatrix* matrix) const { 277 matrix->num_rows = num_rows_; 278 matrix->num_cols = num_cols_; 279 matrix->rows = rows_; 280 matrix->cols = cols_ 326 CompressedRowSparseMatrix* matrix = local 433 CompressedRowSparseMatrix* matrix = local [all...] |
/external/eigen/Eigen/src/QR/ |
ColPivHouseholderQR.h | 20 * \brief Householder rank-revealing QR decomposition of a matrix with column-pivoting 22 * \param MatrixType the type of the matrix of which we are computing the QR decomposition 24 * This class performs a rank-revealing QR decomposition of a matrix \b A into matrices \b P, \b Q and \b R 29 * by using Householder transformations. Here, \b P is a permutation matrix, \b Q a unitary matrix and \b R an 30 * upper triangular matrix. 52 typedef Matrix<Scalar, RowsAtCompileTime, RowsAtCompileTime, Options, MaxRowsAtCompileTime, MaxRowsAtCompileTime> MatrixQType; 98 /** \brief Constructs a QR factorization from a given matrix 100 * This constructor computes the QR factorization of the matrix \a matrix by callin [all...] |
FullPivHouseholderQR.h | 32 * \brief Householder rank-revealing QR decomposition of a matrix with full pivoting 34 * \param MatrixType the type of the matrix of which we are computing the QR decomposition 36 * This class performs a rank-revealing QR decomposition of a matrix \b A into matrices \b P, \b Q and \b R 41 * by using Householder transformations. Here, \b P is a permutation matrix, \b Q a unitary matrix and \b R an 42 * upper triangular matrix. 66 typedef Matrix<Index, 1, 104 /** \brief Constructs a QR factorization from a given matrix 106 * This constructor computes the QR factorization of the matrix \a matrix by callin [all...] |
HouseholderQR.h | 22 * \brief Householder QR decomposition of a matrix 24 * \param MatrixType the type of the matrix of which we are computing the QR decomposition 26 * This class performs a QR decomposition of a matrix \b A into matrices \b Q and \b R 31 * by using Householder transformations. Here, \b Q a unitary matrix and \b R an upper triangular matrix. 57 typedef Matrix<Scalar, RowsAtCompileTime, RowsAtCompileTime, (MatrixType::Flags&RowMajorBit) ? RowMajor : ColMajor, MaxRowsAtCompileTime, MaxRowsAtCompileTime> MatrixQType; 82 /** \brief Constructs a QR factorization from a given matrix 84 * This constructor computes the QR factorization of the matrix \a matrix by calling 88 * HouseholderQR<MatrixType> qr(matrix.rows(), matrix.cols()) [all...] |
/external/eigen/Eigen/src/Core/ |
Fuzzy.h | 36 return x.matrix() == y.matrix(); 54 return x.matrix() == Derived::Zero(x.rows(), x.cols()).matrix(); 72 return x.matrix() == Derived::Zero(x.rows(), x.cols()).matrix(); 89 * to check whether \c *this is approximately equal to the zero matrix or vector. 90 * Indeed, \c isApprox(zero) returns false unless \c *this itself is exactly the zero matrix 115 * of a reference matrix of same dimensions.
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
mixer.c | 372 float matrix[9]; local 376 matrix[0] = -1.0f; matrix[1] = -1.0f; matrix[2] = -1.0f; 377 matrix[3] = -1.0f; matrix[4] = 8.0f; matrix[5] = -1.0f; 378 matrix[6] = -1.0f; matrix[7] = -1.0f; matrix[8] = -1.0f [all...] |
/external/autotest/tko/ |
test.cgi | 3 Further display the tests in a matrix of the form tests X machines 47 matrix = [header_row] 64 matrix.append(row) 65 display.print_table(matrix)
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/collision/ |
Ray.java | 58 /** Multiplies the ray by the given matrix. Use this to transform a ray into another coordinate system.
60 * @param matrix The matrix
62 public Ray mul (Matrix4 matrix) {
64 tmp.mul(matrix);
65 origin.mul(matrix);
|
/external/pdfium/xfa/src/fxfa/src/app/ |
xfa_rendercontext.cpp | 29 const CFX_Matrix& matrix,
33 m_matrix = matrix;
38 mtRes.SetReverse(matrix);
|
/external/skia/samplecode/ |
SampleCamera.cpp | 39 SkMatrix matrix; local 40 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); 45 &matrix);
|
SampleDash.cpp | 27 SkMatrix matrix; local 28 matrix.setScale(SkIntToScalar(width), SK_Scalar1); 31 SkShader::kClamp_TileMode, &matrix);
|