HomeSort by relevance Sort by last modified time
    Searched full:matrix (Results 151 - 175 of 3296) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/eigen/doc/snippets/
Tutorial_solve_multiple_rhs.cpp 3 Matrix<float,3,2> B;
5 Matrix<float,3,2> X;
  /external/eigen/unsupported/doc/examples/
MatrixExponential.cpp 14 std::cout << "The matrix A is:\n" << A << "\n\n";
15 std::cout << "The matrix exponential of A is:\n" << A.exp() << "\n\n";
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";
  /external/skia/src/gpu/
GrPathRenderer.cpp 18 const SkMatrix& matrix,
25 matrix.mapRect(bounds);
  /frameworks/base/graphics/java/android/graphics/
ColorMatrixColorFilter.java 21 * Create a colorfilter that transforms colors through a 4x5 color matrix.
23 * @param matrix 4x5 matrix used to transform colors. It is copied into
24 * the filter, so changes made to the matrix after the filter
27 public ColorMatrixColorFilter(ColorMatrix matrix) {
28 final float[] colorMatrix = matrix.getArray();
34 * Create a colorfilter that transforms colors through a 4x5 color matrix.
37 * matrix. The first 20 entries of the array are copied into
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...]
  /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...]
ComplexSchur.h 28 * \brief Performs a complex Schur decomposition of a real or complex square matrix
30 * \tparam _MatrixType the type of the matrix of which we are
32 * instantiation of the Matrix class template.
34 * Given a real or complex square matrix A, this class computes the
36 * complex matrix, and T is a complex upper triangular matrix. The
37 * diagonal of the matrix T corresponds to the eigenvalues of the
38 * matrix A.
41 * a given matrix. Alternatively, you can use the
78 * This is a square matrix with entries of type #ComplexScalar.
    [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 37 Matrix m1 = new Matrix();
46 Matrix m1 = new Matrix();
47 Matrix m2 = new Matrix(m1);
  /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/skia/gm/
colorfilterimagefilter.cpp 27 SkScalar matrix[20] = { 1, 0, 0, 0, amount255, local
31 SkAutoTUnref<SkColorFilter> filter(new SkColorMatrixFilter(matrix));
36 SkScalar matrix[20]; local
37 memset(matrix, 0, 20 * sizeof(SkScalar));
38 matrix[0] = matrix[5] = matrix[10] = SkFloatToScalar(0.2126f);
39 matrix[1] = matrix[6] = matrix[11] = SkFloatToScalar(0.7152f)
    [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...]
  /external/llvm/include/llvm/CodeGen/PBQP/
Math.h 1 //===------ Math.h - PBQP Vector and Matrix classes -------------*- C++ -*-===//
111 /// \brief PBQP Matrix class
112 class Matrix {
115 /// \brief Construct a PBQP Matrix with the given dimensions.
116 Matrix(unsigned rows, unsigned cols) :
120 /// \brief Construct a PBQP Matrix with the given dimensions and initial
122 Matrix(unsigned rows, unsigned cols, PBQPNum initVal) :
127 /// \brief Copy construct a PBQP matrix.
128 Matrix(const Matrix &m)
    [all...]
  /frameworks/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/sdk/renderscript/include/
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/
I01_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/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...]
  /external/eigen/Eigen/src/SparseCore/
SparseBlock.h 67 inline SparseInnerVectorSet(const MatrixType& matrix, Index outerStart, Index outerSize)
68 : m_matrix(matrix), m_outerStart(outerStart), m_outerSize(outerSize)
70 eigen_assert( (outerStart>=0) && ((outerStart+outerSize)<=matrix.outerSize()) );
73 inline SparseInnerVectorSet(const MatrixType& matrix, Index outer)
74 : m_matrix(matrix), m_outerStart(outer), m_outerSize(Size)
77 eigen_assert( (outer>=0) && (outer<matrix.outerSize()) );
140 inline SparseInnerVectorSet(const MatrixType& matrix, Index outerStart, Index outerSize)
141 : m_matrix(matrix), m_outerStart(outerStart), m_outerSize(outerSize)
143 eigen_assert( (outerStart>=0) && ((outerStart+outerSize)<=matrix.outerSize()) );
146 inline SparseInnerVectorSet(const MatrixType& matrix, Index outer
157 _NestedMatrixType& matrix = const_cast<_NestedMatrixType&>(m_matrix);; local
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
Matrix3f.java 30 * Creates a new identity 3x3 matrix
38 * Creates a new matrix and sets its values from the given
41 * @param dataArray values to set the matrix to, must be 9
50 * Return a reference to the internal array representing matrix
51 * values. Modifying this array will also change the matrix
53 * @return internal array representing the matrix
82 * Sets the matrix values to identity
99 * Sets the values of the matrix to those of the parameter
101 * @param src matrix to load the values from
108 * Sets current values to be a rotation matrix of certain angl
    [all...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
Matrix3f.java 30 * Creates a new identity 3x3 matrix
38 * Creates a new matrix and sets its values from the given
41 * @param dataArray values to set the matrix to, must be 9
50 * Return a reference to the internal array representing matrix
51 * values. Modifying this array will also change the matrix
53 * @return internal array representing the matrix
82 * Sets the matrix values to identity
99 * Sets the values of the matrix to those of the parameter
101 * @param src matrix to load the values from
108 * Sets current values to be a rotation matrix of certain angl
    [all...]

Completed in 456 milliseconds

1 2 3 4 5 67 8 91011>>