/external/ceres-solver/internal/ceres/ |
rotation_test.cc | 150 // double matrix[9]; 151 // EXPECT_THAT(matrix, IsOrthonormal()); 154 *result_listener << "Null matrix"; 183 *result_listener << "Null matrix"; 370 // Transforms a zero axis/angle to a rotation matrix. 373 double matrix[9]; local 375 AngleAxisToRotationMatrix(axis_angle, matrix); 376 EXPECT_THAT(matrix, IsOrthonormal()); 377 EXPECT_THAT(matrix, IsNear3x3Matrix(expected)); 382 double matrix[9] local 392 double matrix[9]; local 407 double matrix[9]; local 420 double matrix[9]; local 504 double matrix[9]; local 539 double matrix[9]; local 572 double matrix[9]; local [all...] |
partitioned_matrix_view.h | 33 // have access to the two parts of the matrix as linear operators 52 // Given generalized bi-partite matrix A = [E F], with the same block 59 // block structure of the matrix does not satisfy the requirements of 78 // Create and return the block diagonal of the matrix E'E. 81 // Create and return the block diagonal of the matrix F'F. Caller 85 // Compute the block diagonal of the matrix E'E and store it in 86 // block_diagonal. The matrix block_diagonal is expected to have a 93 // Compute the block diagonal of the matrix F'F and store it in 94 // block_diagonal. The matrix block_diagonal is expected to have a 109 const BlockSparseMatrix& matrix); [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/math/ |
Matrix4.java | 21 /** Encapsulates a <a href="http://en.wikipedia.org/wiki/Row-major_order#Column-major_order">column major</a> 4 by 4 matrix. Like
78 /** Constructs an identity matrix */
86 /** Constructs a matrix from the given matrix.
88 * @param matrix The matrix to copy. (This matrix is not modified) */
89 public Matrix4 (Matrix4 matrix) {
90 this.set(matrix);
93 /** Constructs a matrix from the given float array. The array must have at least 16 elements; the first 16 will be copied. [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
vgu.c | 30 #include "matrix.h" 364 VGfloat * matrix) 366 struct matrix mat; 368 if (!matrix || !is_aligned(matrix)) 381 memcpy(matrix, mat.m, sizeof(VGfloat) * 9); 390 VGfloat * matrix) 392 struct matrix mat; 394 if (!matrix || !is_aligned(matrix)) [all...] |
/external/skia/src/core/ |
SkColorMatrixFilterRowMajor255.cpp | 116 // apply matrix 157 SkScalar matrix[20]; local 158 if (buffer.readScalarArray(matrix, 20)) { 159 return new SkColorMatrixFilterRowMajor255(matrix); 164 bool SkColorMatrixFilterRowMajor255::asColorMatrix(SkScalar matrix[20]) const { 165 if (matrix) { 166 memcpy(matrix, fMatrix, 20 * sizeof(SkScalar)); 175 // To detect if we need to apply clamping after applying a matrix, we check if 197 static bool needs_clamping(const SkScalar matrix[20]) { 198 return component_needs_clamping(matrix) [all...] |
SkDrawProcs.h | 19 * the matrix is <= 1.0, then this returns true, and sets coverage (simulating 23 inline bool SkDrawTreatAsHairline(const SkPaint& paint, const SkMatrix& matrix, 39 return SkDrawTreatAAStrokeAsHairline(strokeWidth, matrix, coverage);
|
SkLocalMatrixImageFilter.cpp | 48 bool SkLocalMatrixImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& matrix, 50 return this->getInput(0)->filterBounds(src, SkMatrix::Concat(matrix, fLocalM), dst, direction);
|
SkLocalMatrixShader.h | 56 bool onIsABitmap(SkBitmap* bitmap, SkMatrix* matrix, TileMode* mode) const override { 57 return fProxyShader->isABitmap(bitmap, matrix, mode);
|
/frameworks/base/core/jni/android/graphics/ |
Matrix.cpp | 1 /* libs/android_runtime/android/graphics/Matrix.cpp 19 #include "Matrix.h" 185 SkMatrix* matrix = reinterpret_cast<SkMatrix*>(matrixHandle); local 186 matrix->postSkew(kx, ky); 190 SkMatrix* matrix = reinterpret_cast<SkMatrix*>(matrixHandle); local 192 matrix->postConcat(*other); 196 SkMatrix* matrix = reinterpret_cast<SkMatrix*>(matrixHandle); local 202 return matrix->setRectToRect(src_, dst_, stf) ? JNI_TRUE : JNI_FALSE; 208 SkMatrix* matrix = reinterpret_cast<SkMatrix*>(matrixHandle); local 220 result = matrix->setPolyToPoly((const SkPoint*)src, (const SkPoint*)dst 229 SkMatrix* matrix = reinterpret_cast<SkMatrix*>(matrixHandle); local 238 SkMatrix* matrix = reinterpret_cast<SkMatrix*>(matrixHandle); local 257 SkMatrix* matrix = reinterpret_cast<SkMatrix*>(matrixHandle); local 266 SkMatrix* matrix = reinterpret_cast<SkMatrix*>(matrixHandle); local 272 SkMatrix* matrix = reinterpret_cast<SkMatrix*>(matrixHandle); local 285 SkMatrix* matrix = reinterpret_cast<SkMatrix*>(matrixHandle); local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
CholeskyDecompositionImpl.java | 26 * Calculates the Cholesky decomposition of a matrix. 28 * matrix A consists of a lower triangular matrix L with same size that 39 * and matrix not symmetric. */ 43 * and matrix not positive definite. */ 46 /** Row-oriented storage for L<sup>T</sup> matrix data. */ 56 * Calculates the Cholesky decomposition of the given matrix. 64 * @param matrix the matrix to decompose 65 * @exception NonSquareMatrixException if matrix is not squar [all...] |
/external/freetype/include/freetype/ |
ftglyph.h | 275 /* matrix :: A pointer to a 2x2 matrix to apply. */ 284 /* The 2x2 transformation matrix is also applied to the glyph's */ 289 FT_Matrix* matrix, 590 FT_Matrix_Invert( FT_Matrix* matrix ); variable [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/include/freetype/ |
ftglyph.h | 275 /* matrix :: A pointer to a 2x2 matrix to apply. */ 284 /* The 2x2 transformation matrix is also applied to the glyph's */ 289 FT_Matrix* matrix, 590 FT_Matrix_Invert( FT_Matrix* matrix ); variable [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page_path.cpp | 20 void CPDF_PathObject::Transform(const CFX_Matrix& matrix) { 21 m_Matrix.Concat(matrix);
|
/external/pdfium/third_party/freetype/include/freetype/ |
ftglyph.h | 275 /* matrix :: A pointer to a 2x2 matrix to apply. */ 284 /* The 2x2 transformation matrix is also applied to the glyph's */ 289 FT_Matrix* matrix, 590 FT_Matrix_Invert( FT_Matrix* matrix ); variable [all...] |
/external/pdfium/xfa/include/fwl/lightwidget/ |
theme.h | 26 FWL_ERR GetThemeMatrix(IFWL_Widget* pWidget, CFX_Matrix& matrix) override;
28 const CFX_Matrix& matrix) override;
|
/external/skia/bench/ |
DrawBitmapAABench.cpp | 15 * matrix combinations. 20 DrawBitmapAABench(bool doAA, const SkMatrix& matrix, const char name[]) 21 : fMatrix(matrix)
|
tile_analyze.py | 131 """For the given tile layout and per-tile bench values, returns a matrix of 141 Returns [sum, matrix] where sum is the total bench tile time that covers the 142 viewport, and matrix is used for visualizing the tiles. 152 matrix = [[0 for y in range(tile_cols)] for x in range(truncated_tile_rows)] 155 matrix[x][y] = values[x * tile_cols + y] 158 return [viewport_tile_sum, matrix] 160 def GetTileVisCodes(suffix, matrix): 162 visualizing the benches from the given tile config and matrix data. 167 for i in range(len(matrix[0])): 169 this_js += 'data_%s.addRows(%s);' % (suffix, str(matrix)) [all...] |
/external/skia/src/effects/ |
Sk1DPathEffect.cpp | 89 SkMatrix matrix; local 93 matrix.setSinCos(tangent.fY, tangent.fX, 0, 0); 94 matrix.preTranslate(-sx, 0); 95 matrix.postTranslate(pos.fX, pos.fY); 96 matrix.mapPoints(&dst[i], &pt, 1); 180 SkMatrix matrix; local 181 if (meas.getMatrix(distance, &matrix)) { 182 dst->addPath(fPath, matrix);
|
/external/skia/src/gpu/ |
GrPipelineBuilder.h | 81 void addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { 82 this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); 85 void addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { 86 this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); 90 const SkMatrix& matrix, 92 this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix, 97 const SkMatrix& matrix, 99 this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix,
|
GrSWMaskHelper.h | 54 bool init(const SkIRect& resultBounds, const SkMatrix* matrix, bool allowCompression = true); 82 const SkMatrix* matrix);
|
/external/skia/src/gpu/effects/ |
GrSimpleTextureEffect.cpp | 70 const SkMatrix& matrix = GrTest::TestMatrix(d->fRandom); local 71 return GrSimpleTextureEffect::Create(d->fTextures[texIdx], matrix, coordSet);
|
/frameworks/base/libs/hwui/ |
Glop.h | 21 #include "Matrix.h" 66 // offset the eventual drawing matrix by a tiny amount to 134 struct Matrix { 135 float matrix[16]; member in struct:android::uirenderer::Glop::Fill::Filter::Matrix 137 } matrix; member in union:android::uirenderer::Glop::Fill::Filter
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusmatrix.h | 4 * GDI+ Matrix class 36 class Matrix: public GdiplusBase 47 Matrix(): nativeMatrix(NULL), lastStatus(Ok) 51 Matrix(REAL m11, REAL m12, REAL m21, REAL m22, REAL dx, REAL dy): 58 Matrix(const RectF& rect, const PointF *dstplg): 64 Matrix(const Rect& rect, const Point *dstplg): 70 ~Matrix() 74 Matrix* Clone() const 80 Matrix *result = new Matrix(cloneMatrix, lastStatus) [all...] |
/prebuilts/misc/darwin-x86_64/freetype/include/freetype2/ |
ftglyph.h | 275 /* matrix :: A pointer to a 2x2 matrix to apply. */ 284 /* The 2x2 transformation matrix is also applied to the glyph's */ 289 FT_Matrix* matrix, 590 FT_Matrix_Invert( FT_Matrix* matrix ); variable [all...] |
/external/eigen/Eigen/src/LU/ |
PartialPivLU.h | 20 * \brief LU decomposition of a matrix with partial pivoting, and related features 22 * \param MatrixType the type of the matrix of which we are computing the LU decomposition 24 * This class represents a LU decomposition of a \b square \b invertible matrix, with partial pivoting: the matrix A 26 * is a permutation matrix. 29 * matrices. Thus LAPACK's dgesv and dgesvx require the matrix to be square and invertible. The present class 30 * does the same. It will assert that the matrix is square, but it won't (actually it can't) check that the 31 * matrix is invertible: it is your task to check that you only use this decomposition on invertible matrices. 41 * On the other hand, it is \b not suitable to determine whether a given matrix is invertible. 85 * \param matrix the matrix of which to compute the LU decomposition [all...] |