/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
Rotation2D.h | 24 * conversion from/to a 2x2 rotation matrix. Moreover this class aims to provide a similar 47 typedef Matrix<Scalar,2,1> Vector2; 48 typedef Matrix<Scalar,2,2> Matrix2; 121 /** Set \c *this from a 2x2 rotation matrix \a mat. 123 * from the rotation matrix. 134 /** Constructs and \returns an equivalent 2x2 rotation matrix.
|
Scaling.h | 38 typedef Matrix<Scalar,Dim,1> VectorType; 39 /** corresponding linear transformation matrix type */ 40 typedef Matrix<Scalar,Dim,Dim> LinearMatrixType; 87 /** Concatenates a scaling and a linear transformation matrix */ 92 /** Concatenates a linear transformation matrix and a scaling */ 151 res.matrix().setZero();
|
/external/eigen/Eigen/src/Geometry/ |
Rotation2D.h | 25 * conversion from/to a 2x2 rotation matrix. Moreover this class aims to provide a similar 52 typedef Matrix<Scalar,2,1> Vector2; 53 typedef Matrix<Scalar,2,2> Matrix2; 128 /** Set \c *this from a 2x2 rotation matrix \a mat. 130 * from the rotation matrix. 142 /** Constructs and \returns an equivalent 2x2 rotation matrix.
|
/external/eigen/Eigen/src/MetisSupport/ |
MetisSupport.h | 16 * If A is the original matrix and Ap is the permuted matrix, 26 typedef Matrix<Index,Dynamic,1> IndexVector; 33 // Get the transpose of the input matrix 107 // First, symmetrize the matrix graph. 122 //NOTE: If Ap is the permuted matrix then perm and iperm vectors are defined as follows
|
/external/eigen/bench/ |
BenchSparseUtil.h | 23 typedef Matrix<Scalar,Dynamic,Dynamic> DenseMatrix; 24 typedef Matrix<Scalar,Dynamic,1> DenseVector; 86 typedef mtl::compressed2D<Scalar, mtl::matrix::parameters<mtl::tag::col_major> > MtlSparse; 87 typedef mtl::compressed2D<Scalar, mtl::matrix::parameters<mtl::tag::row_major> > MtlSparseRowMajor; 90 mtl::matrix::inserter<MtlSparse> ins(dst); 118 #include <boost/numeric/ublas/matrix.hpp>
|
/external/eigen/bench/spbench/ |
spbenchstyle.h | 28 <TH>Matrix</TH> <TH>N</TH> <TH> NNZ</TH> <TH> Sym</TH> <TH> SPD</TH> <TH> </TH>\n \ 42 <TH rowspan='4'> <xsl:value-of select='MATRIX/NAME' /> </TH>\n \ 43 <TD rowspan='4'> <xsl:value-of select='MATRIX/SIZE' /> </TD>\n \ 44 <TD rowspan='4'> <xsl:value-of select='MATRIX/ENTRIES' /> </TD>\n \ 45 <TD rowspan='4'> <xsl:value-of select='MATRIX/SYMMETRY' /> </TD>\n \ 46 <TD rowspan='4'> <xsl:value-of select='MATRIX/POSDEF' /> </TD>\n \
|
/external/eigen/doc/ |
TutorialMapClass.dox | 12 Occasionally you may have a pre-defined array of numbers that you want to use within %Eigen as a vector or matrix. While one option is to make a copy of the data, most commonly you probably want to re-use this memory as an %Eigen type. Fortunately, this is very easy with the Map class. 18 Map<Matrix<typename Scalar, int RowsAtCompileTime, int ColsAtCompileTime> > 22 To construct a Map variable, you need two other pieces of information: a pointer to the region of memory defining the array of coefficients, and the desired shape of the matrix or vector. For example, to define a matrix of \c float with sizes determined at compile time, you might do the following: 30 where \c pi is an \c int \c *. In this case the size does not have to be passed to the constructor, because it is already specified by the Matrix/Array type. 75 Map<Matrix3f> A(NULL); // don't try to use this matrix yet!
|
/external/eigen/test/eigen2/ |
eigen2_eigensolver.cpp | 27 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 28 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, 1> RealVectorType; 49 typename Gsl::Matrix gEvec=0, gSymmA=0, gSymmB=0; 110 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 111 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, 1> RealVectorType; 135 // very important to test a 3x3 matrix since we provide a special path for it
|
product.h | 29 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> RowVectorType; 30 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, 1> ColVectorType; 31 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> RowSquareMatrixType; 32 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, MatrixType::ColsAtCompileTime> ColSquareMatrixType; 33 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime, 114 // test submatrix and matrix/vector product
|
/external/eigen/test/ |
lu.cpp | 46 typedef Matrix<typename MatrixType::Scalar, ColsAtCompileTime, ColsAtCompileTime> 48 typedef Matrix<typename MatrixType::Scalar, RowsAtCompileTime, RowsAtCompileTime> 53 // The image of the zero matrix should consist of a single (zero) column vector 176 CALL_SUBTEST_2( (lu_non_invertible<Matrix<double, 4, 6> >()) ); 177 CALL_SUBTEST_2( (lu_verify_assert<Matrix<double, 4, 6> >()) ); 197 CALL_SUBTEST_7(( lu_non_invertible<Matrix<float,Dynamic,16> >() ));
|
product.h | 27 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> RowVectorType; 28 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, 1> ColVectorType; 29 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> RowSquareMatrixType; 30 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, MatrixType::ColsAtCompileTime> ColSquareMatrixType; 31 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime, 119 // test submatrix and matrix/vector product
|
product_trmm.cpp | 17 typedef Matrix<Scalar,Dynamic,Dynamic,TriOrder> TriMatrix; 18 typedef Matrix<Scalar,Dynamic,OtherCols,OtherCols==1?ColMajor:OtherOrder> OnTheRight; 19 typedef Matrix<Scalar,OtherCols,Dynamic,OtherCols==1?RowMajor:OtherOrder> OnTheLeft; 21 typedef Matrix<Scalar,Dynamic,OtherCols,OtherCols==1?ColMajor:ResOrder> ResXS; 22 typedef Matrix<Scalar,OtherCols,Dynamic,OtherCols==1?RowMajor:ResOrder> ResSX; 60 // TODO check with sub-matrix expressions ?
|
product_trmv.cpp | 17 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 32 // check with a column-major matrix 48 // check with a row-major matrix 78 CALL_SUBTEST_1( trmv(Matrix<float, 1, 1>()) ); 79 CALL_SUBTEST_2( trmv(Matrix<float, 2, 2>()) ); 86 CALL_SUBTEST_6( trmv(Matrix<float,Dynamic,Dynamic,RowMajor>(s, s)) );
|
/external/skia/include/gpu/ |
GrEffectStage.h | 74 * @param matrix The transformation from the old coord system in which geometry is specified 77 void localCoordChange(const SkMatrix& matrix) { 79 fCoordChangeMatrix.preConcat(matrix); 82 fCoordChangeMatrix = matrix; 175 // ignore the coordinate change matrix since there are 200 * Gets the matrix representing all changes of coordinate system since the GrEffect was
|
/external/skia/samplecode/ |
SampleStrokePath.cpp | 37 SkMatrix matrix; local 38 matrix.setRectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit); 39 canvas->concat(matrix); 81 SkMatrix matrix; local 83 matrix.setScale(scale, scale); 84 path->transform(matrix);
|
/external/skia/src/effects/ |
SkColorFilterImageFilter.cpp | 29 // To detect if we need to apply clamping after applying a matrix, we check if 51 bool matrix_needs_clamping(SkScalar matrix[20]) { 52 return component_needs_clamping(matrix) 53 || component_needs_clamping(matrix+5) 54 || component_needs_clamping(matrix+10) 55 || component_needs_clamping(matrix+15);
|
/external/skia/src/gpu/gl/ |
GrGLProgram.h | 89 * The GrDrawState's view matrix along with the aspects of the render target determine the 90 * matrix sent to GL. The size of the render target affects the GL matrix because we must 108 * Gets a matrix that goes from local coords to Skia's device coordinates. 115 * Gets a matrix that goes from local coordinates to GL normalized device coords. 183 // Helper for setData() that sets the view matrix and loads the render target height uniform
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
omxVCM4P10_GetVLCInfo.c | 28 * coefficient matrix. The results are returned in an OMXVCM4P10VLCInfo 33 * pSrcCoeff - pointer to the transform coefficient matrix. 8-byte 35 * pScanMatrix - pointer to the scan order definition matrix. For a luma 36 * block the scan matrix should follow [ISO14496-10] section 8.5.4, 38 * 10, 7, 11, 14, 15. For a chroma block, the scan matrix should 43 * transform coefficient matrix, pSrcCoeff. The value should be 16
|
/frameworks/base/core/java/android/view/ |
HardwareLayer.java | 20 import android.graphics.Matrix; 115 * @param matrix The transform to apply to the layer. 117 public void setTransform(Matrix matrix) { 118 nSetTransform(mFinalizer.get(), matrix.native_instance); 149 private static native void nSetTransform(long layerUpdater, long matrix);
|
/packages/apps/Camera2/src/com/android/camera/ |
CaptureModuleUI.java | 20 import android.graphics.Matrix; 113 // itself out again, which will then trigger a transform matrix update. 184 public Matrix getPreviewTransform(Matrix m) { 259 Matrix m = new Matrix();
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ThumbnailLoadTask.java | 24 import android.graphics.Matrix; 134 final Matrix matrix = new Matrix(); local 135 matrix.postRotate(orientation); 137 originalBitmap.getHeight(), matrix, true);
|
/frameworks/base/docs/html/reference/renderscript/ |
rs__matrix_8rsh.html | 78 <div class="textblock"><p>Matrix functions. </p> 85 <li>RenderScript uses column-based vectors. Transforming a vector is done by postmultiplying the vector, e.g. <em>(matrix * vector)</em>, as provided by <a class="el" href="rs__matrix_8rsh.html#a4d9a8bb7c3f5d67b14fa349bdd531d13">rsMatrixMultiply</a>.</li> 88 <li>To create a transformation matrix that performs two transformations at once, multiply the two source matrices, with the first transformation as the right argument. E.g. to create a transformation matrix that applies the transformation <em>s1</em> followed by <em>s2</em>, call rsMatrixLoadMultiply(&combined, &s2, &s1). This derives from <em>s2 * (s1 * v)</em>, which is <em>(s2 * s1) * v</em>.</li> 91 <li>We have two style of functions to create transformation matrices: rsMatrixLoad<em>Transformation</em> and rsMatrix<em>Transformation</em>. The former style simply stores the transformation matrix in the first argument. The latter modifies a pre-existing transformation matrix so that the new transformation happens first. E.g. if you call <a class="el" href="rs__matrix_8rsh.html#a4df5f9b5bb6044f3c3426f2f58b94405">rsMatrixTranslate</a> on a matrix that already does a scaling, the resulting matrix when applied to a vector will first do the translation then the scaling. </li> 126 <p>Returns one element of a matrix.</p> 129 <tr><td class="paramname">m</td><td>The matrix to extract the element from. </td></tr [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapProcState.cpp | 38 // true iff the matrix contains, at most, scale and translate elements 44 * For the purposes of drawing bitmaps, if a matrix is "almost" translate 47 static bool just_trans_clamp(const SkMatrix& matrix, const SkBitmap& bitmap) { 48 SkASSERT(matrix_only_scale_translate(matrix)); 50 if (matrix.getType() & SkMatrix::kScale_Mask) { 57 matrix.mapPoints(SkTCast<SkPoint*>(&dst), 64 // phase (in pixel space) that any translate in the matrix might impart. 73 static bool just_trans_general(const SkMatrix& matrix) { 74 SkASSERT(matrix_only_scale_translate(matrix)); 76 if (matrix.getType() & SkMatrix::kScale_Mask) [all...] |
/external/skia/src/core/ |
SkBitmapProcState.cpp | 38 // true iff the matrix contains, at most, scale and translate elements 44 * For the purposes of drawing bitmaps, if a matrix is "almost" translate 47 static bool just_trans_clamp(const SkMatrix& matrix, const SkBitmap& bitmap) { 48 SkASSERT(matrix_only_scale_translate(matrix)); 50 if (matrix.getType() & SkMatrix::kScale_Mask) { 57 matrix.mapPoints(SkTCast<SkPoint*>(&dst), 64 // phase (in pixel space) that any translate in the matrix might impart. 73 static bool just_trans_general(const SkMatrix& matrix) { 74 SkASSERT(matrix_only_scale_translate(matrix)); 76 if (matrix.getType() & SkMatrix::kScale_Mask) [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
glsl_types.h | 113 * \name Vector and matrix element counts 120 unsigned matrix_columns:3; /**< 1, 2, 3, or 4 matrix columns. */ 185 * If the type is a numeric or boolean scalar, vector, or matrix type, 195 * If the type is a numeric or boolean scalar, vector, or matrix, or an 216 * Get the instance of a built-in scalar, vector, or matrix type 235 * Query the total number of scalars that make up a scalar, vector or matrix 300 * Query whether or not a type is a scalar (non-vector and non-matrix). 321 * Query whether or not a type is a matrix 413 * Query the full type of a matrix row 416 * If the type is not a matrix, \c glsl_type::error_type is returned [all...] |