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

1 2 3 4 5 6 78 91011>>

  /external/eigen/unsupported/doc/examples/
MatrixLogarithm.cpp 13 std::cout << "The matrix A is:\n" << A << "\n\n";
14 std::cout << "The matrix logarithm of A is:\n" << A.log() << "\n";
MatrixPower.cpp 13 std::cout << "The matrix A is:\n" << A << "\n\n"
14 "The matrix power A^(pi/4) is:\n" << A.pow(pi/4) << std::endl;
  /external/skia/src/gpu/
GrPathRenderer.cpp 16 const SkMatrix& matrix,
23 matrix.mapRect(bounds);
  /external/eigen/Eigen/src/Eigenvalues/
HessenbergDecomposition.h 32 * \brief Reduces a square matrix to Hessenberg form by an orthogonal similarity transformation
34 * \tparam _MatrixType the type of the matrix of which we are computing the Hessenberg decomposition
36 * This class performs an Hessenberg decomposition of a matrix \f$ A \f$. In
38 * matrix \f$ Q \f$ and a Hessenberg matrix \f$ H \f$ such that \f$ A = Q H
39 * Q^T \f$. An orthogonal matrix is a matrix whose inverse equals its
40 * transpose (\f$ Q^{-1} = Q^T \f$). A Hessenberg matrix has zeros below the
42 * of a complex matrix is \f$ A = Q H Q^* \f$ with \f$ Q \f$ unitary (that is,
46 * given matrix. Alternatively, you can use th
    [all...]
  /cts/suite/cts/deviceTests/opengl/jni/graphics/
TexturedMeshNode.cpp 21 void TexturedMeshNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) {
39 void TexturedMeshNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) {
  /cts/suite/cts/deviceTests/opengl/jni/reference/scene/glowing/
GlowingScene.h 32 Matrix* setUpModelMatrix();
33 Matrix* setUpViewMatrix();
34 Matrix* setUpProjectionMatrix(float width, float height);
43 Matrix* mFboModelMatrix;
44 Matrix* mFboViewMatrix;
45 Matrix* mFboProjectionMatrix;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMatrix.java 3 import android.graphics.Matrix;
10 @Implements(Matrix.class)
22 // identity: Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]}
24 // drag down: Matrix{[1.0, 0.0, -1.3872986][0.0, 1.0, 0.37722778][0.0, 0.0, 1.0]}
27 public void __constructor__(Matrix src) {
32 public void set(Matrix src) {
  /frameworks/base/tools/layoutlib/bridge/tests/src/android/graphics/
Matrix_DelegateTest.java 27 Matrix m1 = new Matrix();
36 Matrix m1 = new Matrix();
37 Matrix m2 = new Matrix(m1);
  /frameworks/base/graphics/java/android/graphics/
Matrix.java 23 * The Matrix class holds a 3x3 matrix for transforming coordinates.
25 public class Matrix {
38 public static Matrix IDENTITY_MATRIX = new Matrix() {
40 throw new IllegalStateException("Matrix can not be modified");
44 public void set(Matrix src) {
99 public boolean setConcat(Matrix a, Matrix b) {
147 public boolean preConcat(Matrix other)
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
ImageViewTouchBase.java 21 import android.graphics.Matrix;
39 // This matrix is recomputed when we go from the thumbnail image to
41 protected Matrix mBaseMatrix = new Matrix();
46 // This matrix remains the same when we go from the thumbnail image
48 protected Matrix mSuppMatrix = new Matrix();
50 // This is the final matrix which is computed as the concatentation
51 // of the base matrix and the supplementary matrix
    [all...]
  /external/chromium_org/third_party/skia/gm/
colorfilterimagefilter.cpp 27 SkScalar matrix[20] = { 1, 0, 0, 0, amount255, local
31 SkAutoTUnref<SkColorFilter> filter(SkColorMatrixFilter::Create(matrix));
36 SkScalar matrix[20]; local
37 memset(matrix, 0, 20 * sizeof(SkScalar));
38 matrix[0] = matrix[5] = matrix[10] = 0.2126f;
39 matrix[1] = matrix[6] = matrix[11] = 0.7152f
    [all...]
  /external/eigen/test/
qr.cpp 21 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> MatrixQType;
37 Matrix<Scalar,Rows,Cols> m1 = Matrix<Scalar,Rows,Cols>::Random();
38 HouseholderQR<Matrix<Scalar,Rows,Cols> > qr(m1);
40 Matrix<Scalar,Rows,Cols> r = qr.matrixQR();
46 Matrix<Scalar,Cols,Cols2> m2 = Matrix<Scalar,Cols,Cols2>::Random(Cols,Cols2);
47 Matrix<Scalar,Rows,Cols2> m3 = m1*m2;
48 m2 = Matrix<Scalar,Cols,Cols2>::Random(Cols,Cols2);
67 // let's build a matrix more stable to invers
    [all...]
  /external/skia/gm/
colorfilterimagefilter.cpp 27 SkScalar matrix[20] = { 1, 0, 0, 0, amount255, local
31 SkAutoTUnref<SkColorFilter> filter(SkColorMatrixFilter::Create(matrix));
36 SkScalar matrix[20]; local
37 memset(matrix, 0, 20 * sizeof(SkScalar));
38 matrix[0] = matrix[5] = matrix[10] = 0.2126f;
39 matrix[1] = matrix[6] = matrix[11] = 0.7152f
    [all...]
  /frameworks/rs/scriptc/
rs_matrix.rsh 18 * \brief Matrix functions.
30 * postmultiplying the vector, e.g. <em>(matrix * vector)</em>, as provided by
33 * \li To create a transformation matrix that performs two transformations at
35 * right argument. E.g. to create a transformation matrix that applies the
42 * former style simply stores the transformation matrix in the first argument.
43 * The latter modifies a pre-existing transformation matrix so that the new
45 * on a matrix that already does a scaling, the resulting matrix when applied
54 * Set an element of a matrix.
56 * @param m The matrix that will be modified
    [all...]
  /prebuilts/sdk/renderscript/include/
rs_matrix.rsh 18 * \brief Matrix functions.
30 * postmultiplying the vector, e.g. <em>(matrix * vector)</em>, as provided by
33 * \li To create a transformation matrix that performs two transformations at
35 * right argument. E.g. to create a transformation matrix that applies the
42 * former style simply stores the transformation matrix in the first argument.
43 * The latter modifies a pre-existing transformation matrix so that the new
45 * on a matrix that already does a scaling, the resulting matrix when applied
54 * Set an element of a matrix.
56 * @param m The matrix that will be modified
    [all...]
  /prebuilts/sdk/tools/darwin/renderscript/include/
rs_matrix.rsh 18 * \brief Matrix functions.
30 * postmultiplying the vector, e.g. <em>(matrix * vector)</em>, as provided by
33 * \li To create a transformation matrix that performs two transformations at
35 * right argument. E.g. to create a transformation matrix that applies the
42 * former style simply stores the transformation matrix in the first argument.
43 * The latter modifies a pre-existing transformation matrix so that the new
45 * on a matrix that already does a scaling, the resulting matrix when applied
54 * Set an element of a matrix.
56 * @param m The matrix that will be modified
    [all...]
  /external/eigen/bench/spbench/
test_sparseLU.cpp 23 typedef Matrix<scalar, Dynamic, Dynamic> DenseMatrix;
24 typedef Matrix<scalar, Dynamic, 1> DenseRhs;
25 Matrix<scalar, Dynamic, 1> b, x, tmp;
41 /* Fill the matrix with sparse matrix stored in Matrix-Market coordinate column-oriented format */
42 if (argc < 2) assert(false && "please, give the matrix market file ");
44 cout << "End charging matrix " << endl;
49 if (isvector) { cout << "The provided file is not a matrix file\n"; return -1;}
87 Matrix<scalar, Dynamic, 1> tmp2 = b - A*x
    [all...]
  /external/eigen/unsupported/test/
openglsupport.cpp 23 Matrix<float,4,4,ColMajor> m; m.setZero(); \
149 VERIFY_MATRIX(glRotate(qd), Projective3d(qd).matrix());
152 VERIFY_MATRIX(glRotate(qf), Projective3f(qf).matrix());
155 Transform<float,3,AffineCompact> acf3; acf3.matrix().setRandom();
156 VERIFY_MATRIX(glLoadMatrix(acf3), Projective3f(acf3).matrix());
157 VERIFY_MATRIX(glMultMatrix(acf3), Projective3f(acf3).matrix());
160 VERIFY_MATRIX(glLoadMatrix(af3), Projective3f(af3).matrix());
161 VERIFY_MATRIX(glMultMatrix(af3), Projective3f(af3).matrix());
163 Transform<float,3,Projective> pf3; pf3.matrix().setRandom();
164 VERIFY_MATRIX(glLoadMatrix(pf3), Projective3f(pf3).matrix());
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/scriptc/
rs_matrix.rsh 18 * \brief Matrix routines
27 * Set one element of a matrix.
29 * @param m The matrix to be set
50 * Get one element of a matrix.
52 * @param m The matrix to read from
72 * Set the elements of a matrix to the identity matrix.
87 * Set the elements of a matrix from an array of floats.
110 * Set the elements of a matrix from another matrix
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/scriptc/
rs_matrix.rsh 18 * \brief Matrix routines
27 * Set one element of a matrix.
29 * @param m The matrix to be set
50 * Get one element of a matrix.
52 * @param m The matrix to read from
72 * Set the elements of a matrix to the identity matrix.
87 * Set the elements of a matrix from an array of floats.
110 * Set the elements of a matrix from another matrix
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/scriptc/
rs_matrix.rsh 18 * \brief Matrix routines
27 * Set one element of a matrix.
29 * @param m The matrix to be set
50 * Get one element of a matrix.
52 * @param m The matrix to read from
72 * Set the elements of a matrix to the identity matrix.
87 * Set the elements of a matrix from an array of floats.
110 * Set the elements of a matrix from another matrix
    [all...]
  /external/eigen/doc/
TopicLazyEvaluation.dox 6 It will handle aliasing automatically in most cases, for example with matrix products. The automatic behavior can be overridden
21 Expression-templates-based libraries can avoid evaluating sub-expressions into temporaries, which in many cases results in large speed improvements. This is called <i>lazy evaluation</i> as an expression is getting evaluated as late as possible, instead of immediately. However, most other expression-templates-based libraries <i>always</i> choose lazy evaluation. There are two problems with that: first, lazy evaluation is not always a good choice for performance; second, lazy evaluation can be very dangerous, for example with matrix products: doing <tt>matrix = matrix*matrix</tt> gives a wrong result if the matrix product is lazy-evaluated, because of the way matrix product works.
39 <b>The first circumstance</b> in which Eigen chooses immediate evaluation, is when it sees an assignment <tt>a = b;</tt> and the expression \c b has the evaluate-before-assigning \link flags flag\endlink. The most important example of such an expression is the \link GeneralProduct matrix product expression\endlink. For example, when you do
41 \code matrix = matrix * matrix; \endcod
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
BlackFrame.java 21 import android.graphics.Matrix;
69 void setMatrix(Matrix matrix) {
71 mTmpMatrix.postConcat(matrix);
73 surface.setPosition(mTmpFloats[Matrix.MTRANS_X],
74 mTmpFloats[Matrix.MTRANS_Y]);
76 mTmpFloats[Matrix.MSCALE_X], mTmpFloats[Matrix.MSKEW_Y],
77 mTmpFloats[Matrix.MSKEW_X], mTmpFloats[Matrix.MSCALE_Y])
    [all...]
  /external/ceres-solver/include/ceres/internal/
eigen.h 38 typedef Eigen::Matrix<double, Eigen::Dynamic, 1> Vector;
39 typedef Eigen::Matrix<double,
42 Eigen::RowMajor> Matrix;
44 typedef Eigen::Map<Matrix> MatrixRef;
46 typedef Eigen::Map<const Matrix> ConstMatrixRef;
49 typedef Eigen::Matrix<double,
64 // struct so that we can support statically sized Matrix and Maps.
67 typedef Eigen::Matrix <double, num_rows, num_cols, Eigen::RowMajor>
68 Matrix;
71 Eigen::Matrix<double, num_rows, num_cols, Eigen::RowMajor>
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ImageViewTest.java 6 import android.graphics.Matrix;
42 imageView.setImageMatrix(new Matrix());
46 Matrix matrix = new Matrix(); local
47 matrix.setTranslate(15, 20);
48 imageView.setImageMatrix(matrix);
55 Matrix matrix = new Matrix(); local
    [all...]

Completed in 3498 milliseconds

1 2 3 4 5 6 78 91011>>