HomeSort by relevance Sort by last modified time
    Searched full:matrix (Results 576 - 600 of 4077) sorted by null

<<21222324252627282930>>

  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Matrix_Delegate.java 25 import android.graphics.Matrix.ScaleToFit;
31 * Delegate implementing the native methods of android.graphics.Matrix
33 * Through the layoutlib_create tool, the original native methods of Matrix have been replaced
38 * it and the original Matrix class.
61 * Returns an {@link AffineTransform} matching the given Matrix.
63 public static AffineTransform getAffineTransform(Matrix m) {
72 public static boolean hasPerspective(Matrix m) {
82 * Sets the content of the matrix with the content of another matrix.
84 public void set(Matrix_Delegate matrix) {
    [all...]
  /external/eigen/Eigen/src/Core/
PermutationMatrix.h 25 * This class is the base class for all expressions representing a permutation matrix,
27 * The convention followed here is that if \f$ \sigma \f$ is a permutation, the corresponding permutation matrix
36 * operator* to multiply any kind of permutation object with any kind of matrix expression (MatrixBase)
71 typedef Matrix<Scalar,RowsAtCompileTime,ColsAtCompileTime,0,MaxRowsAtCompileTime,MaxColsAtCompileTime>
113 /** \returns the size of a side of the respective square matrix, i.e., the number of indices */
126 /** \returns a Matrix object initialized from this permutation matrix. Notice that it
127 * is inefficient to return this Matrix object by value. For efficiency, favor using
128 * the Matrix constructor taking EigenBase objects.
147 /** Sets *this to be the identity permutation matrix */
    [all...]
SelfAdjointView.h 19 * \brief Expression of a selfadjoint matrix from a triangular part of a dense matrix
21 * \param MatrixType the type of the dense matrix storing the coefficients
24 * This class is an expression of a sefladjoint matrix from a triangular part of a matrix
62 /** \brief The type of coefficients in this matrix */
72 inline SelfAdjointView(MatrixType& matrix) : m_matrix(matrix)
104 /** Efficient self-adjoint matrix times vector/matrix product *
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
path.c 32 #include "matrix.h"
64 struct matrix matrix; member in struct:path::__anon17834
69 struct matrix matrix; member in struct:path::__anon17835
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/mesa3d/src/gallium/state_trackers/vega/
path.c 32 #include "matrix.h"
64 struct matrix matrix; member in struct:path::__anon31393
69 struct matrix matrix; member in struct:path::__anon31394
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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
vl_csc.c 41 * To calculate the color space conversion matrix csc with ProcAmp adjustments,
45 * Where cstd is a matrix corresponding to one of the color standards (BT.601, BT.709, etc)
47 * bias is a matrix corresponding to the kind of YCbCr -> RGB mapping wanted (1:1, full)
177 vl_csc_matrix *matrix)
191 assert(matrix);
206 memcpy(matrix, identity, sizeof(vl_csc_matrix));
210 (*matrix)[0][0] = c * (*cstd)[0][0];
211 (*matrix)[0][1] = c * (*cstd)[0][1] * s * cosf(h) - c * (*cstd)[0][2] * s * sinf(h);
212 (*matrix)[0][2] = c * (*cstd)[0][2] * s * cosf(h) + c * (*cstd)[0][1] * s * sinf(h);
213 (*matrix)[0][3] = (*cstd)[0][3] + (*cstd)[0][0] * (b + c * ybias)
    [all...]
  /external/chromium_org/third_party/skia/include/utils/
SkMatrix44.h 153 * Return a reference to a const identity matrix
159 kTranslate_Mask = 0x01, //!< set if the matrix has translation
160 kScale_Mask = 0x02, //!< set if the matrix has any scale != 1
161 kAffine_Mask = 0x04, //!< set if the matrix skews or rotates
162 kPerspective_Mask = 0x08 //!< set if the matrix is in perspective
166 * Returns a bitfield describing the transformations the matrix may
181 * Return true if the matrix is identity.
188 * Return true if the matrix contains translate or is identity.
195 * Return true if the matrix only contains scale or translate or is identity.
205 * get a value from the matrix. The row,col parameters work as follows
    [all...]
  /external/eigen/unsupported/Eigen/src/IterativeSolvers/
IncompleteCholesky.h 23 * \tparam _MatrixType The type of the sparse matrix. It should be a symmetric
24 * matrix. It is advised to give a row-oriented sparse matrix
25 * \tparam _UpLo The triangular part of the matrix to reference.
38 typedef Matrix<Scalar,Dynamic,1> ScalarType;
39 typedef Matrix<Index,Dynamic, 1> IndexType;
44 IncompleteCholesky(const MatrixType& matrix) : m_shift(1),m_factorizationIsOk(false)
46 compute(matrix);
57 * \c NumericalIssue if the matrix appears to be negative.
85 void compute (const MatrixType& matrix)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_csc.c 41 * To calculate the color space conversion matrix csc with ProcAmp adjustments,
45 * Where cstd is a matrix corresponding to one of the color standards (BT.601, BT.709, etc)
47 * bias is a matrix corresponding to the kind of YCbCr -> RGB mapping wanted (1:1, full)
177 vl_csc_matrix *matrix)
191 assert(matrix);
206 memcpy(matrix, identity, sizeof(vl_csc_matrix));
210 (*matrix)[0][0] = c * (*cstd)[0][0];
211 (*matrix)[0][1] = c * (*cstd)[0][1] * s * cosf(h) - c * (*cstd)[0][2] * s * sinf(h);
212 (*matrix)[0][2] = c * (*cstd)[0][2] * s * cosf(h) + c * (*cstd)[0][1] * s * sinf(h);
213 (*matrix)[0][3] = (*cstd)[0][3] + (*cstd)[0][0] * (b + c * ybias)
    [all...]
  /external/skia/include/utils/
SkMatrix44.h 153 * Return a reference to a const identity matrix
159 kTranslate_Mask = 0x01, //!< set if the matrix has translation
160 kScale_Mask = 0x02, //!< set if the matrix has any scale != 1
161 kAffine_Mask = 0x04, //!< set if the matrix skews or rotates
162 kPerspective_Mask = 0x08 //!< set if the matrix is in perspective
166 * Returns a bitfield describing the transformations the matrix may
181 * Return true if the matrix is identity.
188 * Return true if the matrix contains translate or is identity.
195 * Return true if the matrix only contains scale or translate or is identity.
205 * get a value from the matrix. The row,col parameters work as follows
    [all...]
  /cts/suite/cts/deviceTests/opengl/jni/reference/scene/glowing/
GlowingScene.cpp 76 Matrix* GlowingScene::setUpModelMatrix() {
77 return new Matrix();
80 Matrix* GlowingScene::setUpViewMatrix() {
96 // Set the view matrix.
97 return Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ);
100 Matrix* GlowingScene::setUpProjectionMatrix(float width, float height) {
101 // Create a new perspective projection matrix. The height will stay the same
111 return Matrix::newFrustum(left, right, bottom, top, near, far);
170 Matrix* transformMatrix = Matrix::newScale(mFboRatio, 1.0f, 1.0f)
    [all...]
  /external/ceres-solver/internal/ceres/
implicit_schur_complement.h 73 // matrix vector product with the Schur complement
77 // It is straightforward to see that matrix vector products with S can
80 // matrix), it can be done in terms of matrix vector products with E,
91 // num_eliminate_blocks is the number of E blocks in the matrix
94 // preconditioner indicates whether the inverse of the matrix F'F
109 // If D is null, then it is treated as a zero dimensional matrix. It
110 // is important that the matrix A have a BlockStructure object
118 // The Schur complement is a symmetric positive definite matrix,
143 void AddDiagonalAndInvert(const double* D, BlockSparseMatrix* matrix);
    [all...]
triplet_sparse_matrix.h 62 virtual void ToDenseMatrix(Matrix* dense_matrix) const;
78 // Append the matrix B at the bottom of this matrix. B should have
82 // Append the matrix B at the right of this matrix. B should have
86 // Resize the matrix. Entries which fall outside the new matrix
96 // Returns true if the entries of the matrix obey the row, column,
102 // Build a sparse diagonal matrix of size num_rows x num_rows from
104 // sparse matrix
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
WebKitCSSMatrix.idl 34 // These attributes are simple aliases for certain elements of the 4x4 matrix
61 // Multiply this matrix by secondMatrix, on the right (result = this * secondMatrix)
64 // Return the inverse of this matrix. Throw an exception if the matrix is not invertible
67 // Return this matrix translated by the passed values.
73 // Returns this matrix scaled by the passed values.
80 // Returns this matrix rotated by the passed values.
87 // Returns this matrix rotated about the passed axis by the passed angle.
95 // Returns this matrix skewed along the X axis by the passed values.
99 // Returns this matrix skewed along the Y axis by the passed values
    [all...]
  /external/chromium_org/ui/gfx/
skia_util.cc 53 flattened->set(0, SkMScalarToScalar(transform.matrix().get(0, 0)));
54 flattened->set(1, SkMScalarToScalar(transform.matrix().get(0, 1)));
55 flattened->set(2, SkMScalarToScalar(transform.matrix().get(0, 3)));
56 flattened->set(3, SkMScalarToScalar(transform.matrix().get(1, 0)));
57 flattened->set(4, SkMScalarToScalar(transform.matrix().get(1, 1)));
58 flattened->set(5, SkMScalarToScalar(transform.matrix().get(1, 3)));
59 flattened->set(6, SkMScalarToScalar(transform.matrix().get(3, 0)));
60 flattened->set(7, SkMScalarToScalar(transform.matrix().get(3, 1)));
61 flattened->set(8, SkMScalarToScalar(transform.matrix().get(3, 3)));
76 // Unscale matrix by |scale| such that the bitmap is drawn at th
    [all...]
  /external/eigen/test/
mixingtypes.cpp 30 typedef Matrix<float, SizeAtCompileType, SizeAtCompileType> Mat_f;
31 typedef Matrix<double, SizeAtCompileType, SizeAtCompileType> Mat_d;
32 typedef Matrix<std::complex<float>, SizeAtCompileType, SizeAtCompileType> Mat_cf;
33 typedef Matrix<std::complex<double>, SizeAtCompileType, SizeAtCompileType> Mat_cd;
34 typedef Matrix<float, SizeAtCompileType, 1> Vec_f;
35 typedef Matrix<double, SizeAtCompileType, 1> Vec_d;
36 typedef Matrix<std::complex<float>, SizeAtCompileType, 1> Vec_cf;
37 typedef Matrix<std::complex<double>, SizeAtCompileType, 1> Vec_cd;
94 // check matrix-matrix product
    [all...]
  /external/llvm/lib/CodeGen/
LiveRegMatrix.cpp 34 "Live Register Matrix", false, false)
38 "Live Register Matrix", false, false)
57 if (NumRegUnits != Matrix.size())
59 Matrix.init(LIUAlloc, NumRegUnits);
67 for (unsigned i = 0, e = Matrix.size(); i != e; ++i) {
68 Matrix[i].clear();
83 Matrix[*Units].unify(VirtReg);
96 Matrix[*Units].extract(VirtReg);
136 Q.init(UserTag, &VirtReg, &Matrix[RegUnit]);
153 // Check the matrix for virtual register interference
    [all...]
  /external/pdfium/core/src/fxge/apple/
fx_quartz_device.cpp 65 void CQuartz2D::setGraphicsTextMatrix(void* graphics, CFX_AffineMatrix* matrix)
67 if (!graphics || !matrix) {
71 CGFloat ty = CGBitmapContextGetHeight(context) - matrix->f;
72 CGContextSetTextMatrix(context, CGAffineTransformMake(matrix->a,
73 matrix->b,
74 matrix->c,
75 matrix->d,
76 matrix->e,
86 CFX_AffineMatrix* matrix )
94 if (matrix) {
    [all...]
  /external/pdfium/fpdfsdk/include/
fpdf_transformpage.h 60 * Transform the whole page with a specified matrix, then clip the page content region.
63 * @param[in] matrix - The transform matrix.
67 DLLEXPORT FPDF_BOOL STDCALL FPDFPage_TransFormWithClip(FPDF_PAGE page, FS_MATRIX* matrix, FS_RECTF* clipRect);
72 * @param[in] a - The coefficient "a" of the matrix.
73 * @param[in] b - The coefficient "b" of the matrix.
74 * @param[in] c - The coefficient "c" of the matrix.
75 * @param[in] d - The coefficient "d" of the matrix.
76 * @param[in] e - The coefficient "e" of the matrix.
77 * @param[in] f - The coefficient "f" of the matrix.
    [all...]
  /frameworks/base/services/accessibility/java/com/android/server/accessibility/
DisplayAdjustmentUtils.java 21 import android.opengl.Matrix;
36 /** Matrix and offset used for converting color to gray-scale. */
44 /** Matrix and offset used for value-only display inversion. */
107 private static float[] multiply(float[] matrix, float[] other) {
108 if (matrix == null) {
112 Matrix.multiplyMM(result, 0, matrix, 0, other, 0);
138 * Sets the surface flinger's color transformation as a 4x4 matrix. If the
139 * matrix is null, color transformations are disabled.
141 * @param m the float array that holds the transformation matrix, or null t
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
MatrixFit.java 22 // Simple implementation of a matrix fit in N dimensions.
75 // Make an empty (dim) x (dim + 1) matrix and fill it
89 // Make an empty (dim+1) x (dim+1) matrix and fill it
144 private void printMatrix(String name, double[][] matrix) {
146 for (int i = 0; i < matrix.length; i++) {
148 for (int j = 0; j < matrix[0].length; j++) {
149 str += "" + matrix[i][j] + " ";
156 * Transforms the given matrix into a row echelon matrix
176 if (Math.abs(m[y][y]) <= sEPS) { // Singular Matrix
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdipluspath.h 367 Status Flatten(const Matrix *matrix = NULL,
371 matrix ? matrix->nativeMatrix : NULL,
374 Status GetBounds(RectF *bounds, const Matrix *matrix = NULL,
379 matrix ? matrix->nativeMatrix : NULL,
382 Status GetBounds(Rect *bounds, const Matrix *matrix = NULL
    [all...]
  /external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/
mat2d-spec.js 54 it("should return a 6 element array initialized to a 2x3 identity matrix", function() { expect(result).toBeEqualish(identity); });
75 describe("with a separate output matrix", function() {
83 describe("when matA is the output matrix", function() {
100 describe("with a separate output matrix", function() {
109 describe("when matA is the output matrix", function() {
117 describe("when matB is the output matrix", function() {
127 describe("with a separate output matrix", function() {
135 describe("when matA is the output matrix", function() {
147 describe("with a separate output matrix", function() {
155 describe("when matA is the output matrix", function()
    [all...]
  /external/eigen/doc/
CustomizingEigen.dox 11 In this section we will see how to add custom methods to MatrixBase. Since all expressions and matrix types inherit MatrixBase, adding a method to MatrixBase make it immediately available to all expressions ! A typical use case is, for instance, to make Eigen compatible with another API.
73 \section InheritingFromMatrix Inheriting from Matrix
75 Before inheriting from Matrix, be really, i mean REALLY sure that using
77 If you just need to add few members to Matrix, this is the way to go.
79 An example of when you actually need to inherit Matrix, is when you have
80 several layers of heritage such as MyVerySpecificVector1,MyVerySpecificVector1 -> MyVector1 -> Matrix and.
81 MyVerySpecificVector3,MyVerySpecificVector4 -> MyVector2 -> Matrix.
114 (((Eigen::MatrixBase<Eigen::Matrix<std::complex<float>, 10000, 1, 2, 10000,
116 Eigen::Matrix<std::complex<float>, 10000, 1, 2, 10000,
118 Eigen::Matrix<std::complex<float>, 10000, 1, 2, 10000, 1>, ExpressionType
    [all...]
QuickStartGuide.dox 40 The Eigen header files define many types, but for simple applications it may be enough to use only the \c MatrixXd type. This represents a matrix of arbitrary size (hence the \c X in \c MatrixXd), in which every entry is a \c double (hence the \c d in \c MatrixXd). See the \ref QuickRef_Types "quick reference guide" for an overview of the different types you can use to represent a matrix.
44 The first line of the \c main function declares a variable of type \c MatrixXd and specifies that it is a matrix with 2 rows and 2 columns (the entries are not initialized). The statement <tt>m(0,0) = 3</tt> sets the entry in the top-left corner to 3. You need to use round parentheses to refer to entries in the matrix. As usual in computer science, the index of the first index is 0, as opposed to the convention in mathematics that the first index is 1.
46 The following three statements sets the other three entries. The final line outputs the matrix \c m to the standard output stream.
69 The second example starts by declaring a 3-by-3 matrix \c m which is initialized using the \link DenseBase::Random(Index,Index) Random() \endlink method with random values between -1 and 1. The next line applies a linear mapping such that the values are between 10 and 110. The function call \link DenseBase::Constant(Index,Index,const Scalar&) MatrixXd::Constant\endlink(3,3,1.2) returns a 3-by-3 matrix expression having all coefficients equal to 1.2. The rest is standard arithmetics.
82 The final line of the program multiplies the matrix \c m with the vector \c v and outputs the result.
84 Now look back at the second example program. We presented two versions of it. In the version in the left column, the matrix is of type \c MatrixXd which represents matrices of arbitrary size. The version in the right column is similar, except that the matrix is of type \c Matrix3d, which represents matrices of a fixed size (here 3-by-3). Because the type (…)
    [all...]

Completed in 837 milliseconds

<<21222324252627282930>>