/external/eigen/unsupported/Eigen/src/Skyline/ |
SkylineInplaceLU.h | 19 * \brief Inplace LU decomposition of a skyline matrix and associated features 21 * \param MatrixType the type of the matrix of which we are computing the LU factorization 34 /** Creates a LU object and compute the respective factorization of \a matrix using 36 SkylineInplaceLU(MatrixType& matrix, int flags = 0) 37 : /*m_matrix(matrix.rows(), matrix.cols()),*/ m_flags(flags), m_status(0), m_lu(matrix) { 92 /** \returns the lower triangular matrix L */ 95 /** \returns the upper triangular matrix U */ 130 //Lower matrix Columns updat [all...] |
/external/skia/src/core/ |
SkMatrixClipStateMgr.h | 20 // The SkMatrixClipStateMgr collapses the matrix/clip state of an SkPicture into 21 // a series of save/restore blocks of consistent matrix clip state, e.g.: 48 // and matrix calls sent to SkCanvas in order to track the current matrix/clip 85 void preConcat(const SkMatrix& matrix) { 87 fMatrix.preConcat(matrix); 90 void setMatrix(const SkMatrix& matrix) { 92 fMatrix = matrix; 308 void concat(const SkMatrix& matrix) { 310 fCurMCState->fMatrixInfo->preConcat(matrix); [all...] |
SkDraw.cpp | 47 SkAutoBlitterChoose(const SkBitmap& device, const SkMatrix& matrix, 49 fBlitter = SkBlitter::Choose(device, matrix, paint, &fAllocator, 56 void choose(const SkBitmap& device, const SkMatrix& matrix, 59 fBlitter = SkBlitter::Choose(device, matrix, paint, &fAllocator); 305 bool init(SkCanvas::PointMode, const SkPaint&, const SkMatrix* matrix, 410 // square procs (strokeWidth > 0 but matrix is square-scale (sx == sy) 448 const SkMatrix* matrix, const SkRasterClip* rc) { 462 matrix->rectStaysRect() && SkCanvas::kPoints_PointMode == mode) { 463 SkScalar sx = matrix->get(SkMatrix::kMScaleX); 464 SkScalar sy = matrix->get(SkMatrix::kMScaleY) 564 const SkMatrix* matrix = fMatrix; local 807 const SkMatrix& matrix = *fMatrix; local 1007 const SkMatrix* matrix = fMatrix; local 1233 SkMatrix matrix; local 1317 SkMatrix matrix; local 1385 SkMatrix matrix; local 1652 SkMatrix matrix; local 2331 SkMatrix matrix; local [all...] |
/external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/ |
mat3-spec.js | 62 it("should return a 9 element array initialized to a 3x3 identity matrix", function() { expect(result).toBeEqualish(identity); }); 83 describe("with a separate output matrix", function() { 103 describe("when matA is the output matrix", function() { 118 describe("with a separate output matrix", function() { 138 describe("when matA is the output matrix", function() { 153 describe("with a separate output matrix", function() { 173 describe("when matA is the output matrix", function() { 196 describe("with a separate output matrix", function() { 223 describe("when matA is the output matrix", function() { 243 describe("when matB is the output matrix", function() [all...] |
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrBicubicEffect.cpp | 130 const SkMatrix &matrix, 132 : INHERITED(texture, matrix, GrTextureParams(tileModes, GrTextureParams::kNone_FilterMode)) 139 const SkMatrix &matrix, 141 : INHERITED(texture, matrix, GrTextureParams(SkShader::kClamp_TileMode, 183 bool GrBicubicEffect::ShouldUseBicubic(const SkMatrix& matrix, 185 if (matrix.isIdentity()) { 191 if (!matrix.getMinMaxScales(scales) || scales[0] < SK_Scalar1) { 197 // At this point if scales[1] == SK_Scalar1 then the matrix doesn't do any scaling. 199 if (matrix.rectStaysRect() && SkScalarIsInt(matrix.getTranslateX()) & [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkLuaCanvas.cpp | 109 void SkLuaCanvas::didConcat(const SkMatrix& matrix) { 110 switch (matrix.getType()) { 113 lua.pushScalar(matrix.getTranslateX(), "dx"); 114 lua.pushScalar(matrix.getTranslateY(), "dy"); 119 lua.pushScalar(matrix.getScaleX(), "sx"); 120 lua.pushScalar(matrix.getScaleY(), "sy"); 127 // lua.pushMatrix(matrix); 132 this->INHERITED::didConcat(matrix); 135 void SkLuaCanvas::didSetMatrix(const SkMatrix& matrix) { 136 this->INHERITED::didSetMatrix(matrix); [all...] |
/external/eigen/Eigen/src/Core/ |
Map.h | 19 * \brief A matrix or vector expression mapping an existing array of data. 21 * \tparam PlainObjectType the equivalent matrix type of the mapped data 28 * This class represents a matrix or vector expression mapping an existing array of data. 34 * Here's an example of simply mapping a contiguous array as a \ref TopicStorageOrders "column-major" matrix: 47 * as a column-major matrix, 'outer stride' means the pointer increment between two consecutive columns. 157 /** Constructor in the dynamic-size matrix case. 160 * \param nbRows the number of rows of the matrix expression 161 * \param nbCols the number of columns of the matrix expression 184 inline Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> 185 ::Matrix(const Scalar *data [all...] |
/external/eigen/doc/ |
TopicLinearAlgebraDecompositions.dox | 5 This page presents a catalogue of the dense matrix decompositions offered by Eigen. 19 <th>Requirements on the matrix</th> 229 <li><a name="note1">\b 1: </a>There exist two variants of the LDLT algorithm. Eigen's one produces a pure diagonal D matrix, and therefore it cannot handle indefinite matrices, unlike Lapack's one which produces a block diagonal D matrix.</li> 238 <dd>For a real matrix, selfadjoint is a synonym for symmetric. For a complex matrix, selfadjoint is a synonym for \em hermitian. 239 More generally, a matrix \f$ A \f$ is selfadjoint if and only if it is equal to its adjoint \f$ A^* \f$. The adjoint is also called the \em conjugate \em transpose. </dd> 241 <dd>A selfadjoint matrix \f$ A \f$ is positive definite if \f$ v^* A v > 0 \f$ for any non zero vector \f$ v \f$. 244 <dd>A selfadjoint matrix \f$ A \f$ is positive semi-definite if \f$ v^* A v \ge 0 \f$ for any non zero vector \f$ v \f$. 250 <dd>Means the algorithm can take advantage of multicore processors via OpenMP. "Implicit" means the algortihm itself is not parallelized, but that it relies on parallelized matrix-matrix product rountines.</dd [all...] |
/external/skia/src/gpu/effects/ |
GrBicubicEffect.cpp | 130 const SkMatrix &matrix, 132 : INHERITED(texture, matrix, GrTextureParams(tileModes, GrTextureParams::kNone_FilterMode)) 139 const SkMatrix &matrix, 141 : INHERITED(texture, matrix, GrTextureParams(SkShader::kClamp_TileMode, 183 bool GrBicubicEffect::ShouldUseBicubic(const SkMatrix& matrix, 185 if (matrix.isIdentity()) { 191 if (!matrix.getMinMaxScales(scales) || scales[0] < SK_Scalar1) { 197 // At this point if scales[1] == SK_Scalar1 then the matrix doesn't do any scaling. 199 if (matrix.rectStaysRect() && SkScalarIsInt(matrix.getTranslateX()) & [all...] |
/external/skia/src/utils/ |
SkLuaCanvas.cpp | 109 void SkLuaCanvas::didConcat(const SkMatrix& matrix) { 110 switch (matrix.getType()) { 113 lua.pushScalar(matrix.getTranslateX(), "dx"); 114 lua.pushScalar(matrix.getTranslateY(), "dy"); 119 lua.pushScalar(matrix.getScaleX(), "sx"); 120 lua.pushScalar(matrix.getScaleY(), "sy"); 127 // lua.pushMatrix(matrix); 132 this->INHERITED::didConcat(matrix); 135 void SkLuaCanvas::didSetMatrix(const SkMatrix& matrix) { 136 this->INHERITED::didSetMatrix(matrix); [all...] |
/frameworks/base/libs/hwui/ |
StatefulBaseRenderer.cpp | 109 // Matrix 112 void StatefulBaseRenderer::getMatrix(SkMatrix* matrix) const { 113 mSnapshot->transform->copyTo(*matrix); 132 void StatefulBaseRenderer::setMatrix(const SkMatrix& matrix) { 133 mSnapshot->transform->load(matrix); 136 void StatefulBaseRenderer::setMatrix(const Matrix4& matrix) { 137 mSnapshot->transform->load(matrix); 140 void StatefulBaseRenderer::concatMatrix(const SkMatrix& matrix) { 141 mat4 transform(matrix); 145 void StatefulBaseRenderer::concatMatrix(const Matrix4& matrix) { [all...] |
/frameworks/base/rs/java/android/renderscript/ |
ProgramVertexFixedFunction.java | 127 * Specifies whether texture matrix calculations are to be added 256 * Sets the modelview matrix in the fixed function matrix buffer 258 * @param m modelview matrix 267 * Sets the projection matrix in the fixed function matrix buffer 269 * @param m projection matrix 278 * Sets the texture matrix in the fixed function matrix buffer. 279 * Texture matrix must be enabled in th [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
TextDecoratorUi.java | 23 import android.graphics.Matrix; 119 private static final RectF getIndicatorBoundsInScreenCoordinates(final Matrix matrix, 132 matrix.mapRect(indicatorBounds); 137 public void layoutUi(final Matrix matrix, final RectF composingTextBounds, 139 RectF indicatorBoundsInScreenCoordinates = getIndicatorBoundsInScreenCoordinates(matrix, 144 indicatorBoundsInScreenCoordinates = getIndicatorBoundsInScreenCoordinates(matrix, 151 matrix.mapRect(hitAreaBoundsInScreenCoordinates, composingTextBounds); 191 private final Matrix mMatrix = new Matrix() [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...] |
block_random_access_sparse_matrix_test.cc | 88 Matrix::Ones(blocks[row_block_id], blocks[col_block_id]); 91 const TripletSparseMatrix* tsm = m.matrix(); 95 Matrix dense; 101 EXPECT_NEAR((dense.block(0, 0, 3, 3) - Matrix::Ones(3, 3)).norm(), 105 EXPECT_NEAR((dense.block(3, 3, 4, 4) - 2 * 2 * Matrix::Ones(4, 4)).norm(), 109 EXPECT_NEAR((dense.block(3, 3 + 4, 4, 5) - 2 * 3 * Matrix::Ones(4, 5)).norm(), 113 EXPECT_NEAR((dense.block(3 + 4, 0, 5, 3) - 3 * 1 * Matrix::Ones(5, 3)).norm(), 117 // There is nothing else in the matrix besides these four blocks.
|
dogleg_strategy.h | 74 Matrix subspace_basis() const { return subspace_basis_; } 76 Matrix subspace_B() const { return subspace_B_; } 79 typedef Eigen::Matrix<double, 2, 1, Eigen::DontAlign> Vector2d; 80 typedef Eigen::Matrix<double, 2, 2, Eigen::DontAlign> Matrix2d; 104 // mu is used to scale the diagonal matrix used to make the 134 // user has recomputed the Jacobian matrix and new Gauss-Newton 138 // user wants to solve the trust region problem with the same matrix 157 Matrix subspace_basis_;
|
/external/chromium_org/third_party/skia/include/core/ |
SkShader.h | 43 * Returns the local matrix. 48 * Returns true if the local matrix is not an identity matrix. 54 * Set the shader's local matrix. 55 * @param localM The shader's new local matrix. 60 * Reset the shader's local matrix to identity. 131 ContextRec(const SkBitmap& device, const SkPaint& paint, const SkMatrix& matrix) 134 , fMatrix(&matrix) 139 const SkMatrix* fMatrix; // the current matrix in the canvas 140 const SkMatrix* fLocalMatrix; // optional local matrix [all...] |
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
MatrixExponential.h | 19 * \brief Class for computing the matrix exponential. 21 * expected to be an instantiation of the Matrix class template. 33 * \param[in] M matrix whose exponential is to be computed. 37 /** \brief Computes the matrix exponential. 39 * \param[out] result the matrix exponential of \p M in the constructor. 55 * \param[in] A Argument of matrix exponential 64 * \param[in] A Argument of matrix exponential 73 * \param[in] A Argument of matrix exponential 82 * \param[in] A Argument of matrix exponential 91 * \param[in] A Argument of matrix exponentia [all...] |
MatrixPower.h | 148 * If the 0 eigenvalues are semisimple, they can form a 0 matrix at the 258 * \brief Class for computing matrix powers. 261 * of the Matrix class template. 266 * Therefore, if you want to compute multiple (>= 2) matrix powers 267 * for the same matrix, using the class directly is more efficient than 292 * \param[in] A the base of the matrix power. 301 * \brief Returns the matrix power. 311 * \brief Compute the matrix power. 325 typedef Matrix<ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, MatrixType::Options, 343 Matrix<ComplexScalar, Rows, Cols, Options, MaxRows, MaxCols>& res [all...] |
/external/skia/include/core/ |
SkShader.h | 43 * Returns the local matrix. 48 * Returns true if the local matrix is not an identity matrix. 54 * Set the shader's local matrix. 55 * @param localM The shader's new local matrix. 60 * Reset the shader's local matrix to identity. 131 ContextRec(const SkBitmap& device, const SkPaint& paint, const SkMatrix& matrix) 134 , fMatrix(&matrix) 139 const SkMatrix* fMatrix; // the current matrix in the canvas 140 const SkMatrix* fLocalMatrix; // optional local matrix [all...] |
/frameworks/native/services/sensorservice/ |
mat.h | 183 // matrix*matrix 191 // matrix*vector 197 // vector*matrix 203 // matrix*scalar 208 // scalar*matrix 214 // streaming operator to set the columns of the matrix: 219 // column_builder<> stores the matrix and knows which column to set 222 mat& matrix; member in struct:android::mat::column_builder 223 column_builder(mat& matrix) : matrix(matrix) { [all...] |
/external/eigen/unsupported/Eigen/src/SVD/ |
BDCSVD.h | 33 * \param MatrixType the type of the matrix of which we are computing the SVD decomposition 60 typedef Matrix<Scalar, RowsAtCompileTime, RowsAtCompileTime, 63 typedef Matrix<Scalar, ColsAtCompileTime, ColsAtCompileTime, 69 typedef Matrix<Scalar, Dynamic, Dynamic> MatrixX; 70 typedef Matrix<RealScalar, Dynamic, Dynamic> MatrixXr; 71 typedef Matrix<RealScalar, Dynamic, 1> VectorType; 97 /** \brief Constructor performing the decomposition of given matrix. 99 * \param matrix the matrix to decompose 104 * Thin unitaries are only available if your matrix type has a Dynamic number of columns (for example MatrixXf). They also are no [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkDraw.cpp | 47 SkAutoBlitterChoose(const SkBitmap& device, const SkMatrix& matrix, 49 fBlitter = SkBlitter::Choose(device, matrix, paint, &fAllocator, 56 void choose(const SkBitmap& device, const SkMatrix& matrix, 59 fBlitter = SkBlitter::Choose(device, matrix, paint, &fAllocator); 305 bool init(SkCanvas::PointMode, const SkPaint&, const SkMatrix* matrix, 410 // square procs (strokeWidth > 0 but matrix is square-scale (sx == sy) 448 const SkMatrix* matrix, const SkRasterClip* rc) { 462 matrix->rectStaysRect() && SkCanvas::kPoints_PointMode == mode) { 463 SkScalar sx = matrix->get(SkMatrix::kMScaleX); 464 SkScalar sy = matrix->get(SkMatrix::kMScaleY) 564 const SkMatrix* matrix = fMatrix; local 807 const SkMatrix& matrix = *fMatrix; local 1007 const SkMatrix* matrix = fMatrix; local 1233 SkMatrix matrix; local 1317 SkMatrix matrix; local 1385 SkMatrix matrix; local 1652 SkMatrix matrix; local 2331 SkMatrix matrix; local [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
structs.rsh | 16 rs_matrix4x4 MATRIX; 21 rs_matrix4x4 MATRIX;
|
/external/chromium_org/cc/trees/ |
layer_tree_host_pixeltest_filters.cc | 174 SkScalar matrix[20]; local 175 memset(matrix, 0, 20 * sizeof(matrix[0])); 177 matrix[2] = matrix[6] = matrix[10] = matrix[18] = SK_Scalar1; 179 skia::AdoptRef(SkColorMatrixFilter::Create(matrix)));
|