HomeSort by relevance Sort by last modified time
    Searched refs:matrix (Results 76 - 100 of 1195) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/eigen/test/eigen2/
eigen2_geometry_with_eigen2_prefix.cpp 23 typedef Matrix<Scalar,2,2> Matrix2;
24 typedef Matrix<Scalar,3,3> Matrix3;
25 typedef Matrix<Scalar,4,4> Matrix4;
26 typedef Matrix<Scalar,2,1> Vector2;
27 typedef Matrix<Scalar,3,1> Vector3;
28 typedef Matrix<Scalar,4,1> Vector4;
92 // rotation matrix conversion
143 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity());
144 t0.matrix().setZero();
146 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity())
    [all...]
  /external/eigen/Eigen/src/SVD/
UpperBidiagonalization.h 32 typedef Matrix<Scalar, 1, ColsAtCompileTime> RowVectorType;
33 typedef Matrix<Scalar, RowsAtCompileTime, 1> ColVectorType;
35 typedef Matrix<Scalar, ColsAtCompileTime, 1> DiagVectorType;
36 typedef Matrix<Scalar, ColsAtCompileTimeMinusOne, 1> SuperDiagVectorType;
55 UpperBidiagonalization(const MatrixType& matrix)
56 : m_householder(matrix.rows(), matrix.cols()),
57 m_bidiagonal(matrix.cols(), matrix.cols()),
60 compute(matrix);
    [all...]
JacobiSVD.h 24 *** Their role is to reduce the problem of computing the SVD to the case of a square matrix.
75 typedef Matrix<Scalar, 1, RowsAtCompileTime, RowMajor, 1, MaxRowsAtCompileTime> WorkspaceType;
87 bool run(JacobiSVD<MatrixType, FullPivHouseholderQRPreconditioner>& svd, const MatrixType& matrix)
89 if(matrix.rows() > matrix.cols())
91 m_qr.compute(matrix);
92 svd.m_workMatrix = m_qr.matrixQR().block(0,0,matrix.cols(),matrix.cols()).template triangularView<Upper>();
119 typedef Matrix<Scalar, ColsAtCompileTime, RowsAtCompileTime, Options, MaxColsAtCompileTime, MaxRowsAtCompileTime>
133 bool run(JacobiSVD<MatrixType, FullPivHouseholderQRPreconditioner>& svd, const MatrixType& matrix)
    [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/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
TransformationUtils.java 6 import android.graphics.Matrix;
47 Matrix m = new Matrix();
97 // take the floor of the target width/height, not round. If the matrix
126 Matrix matrix = new Matrix(); local
127 matrix.setScale(minPercentage, minPercentage);
129 canvas.drawBitmap(toFit, matrix, paint);
150 * Returns a matrix with rotation set based on Exif orientation tag
201 Matrix matrix = new Matrix(); local
261 final Matrix matrix = new Matrix(); local
    [all...]
  /cts/tests/openglperf2/jni/graphics/
TransformationNode.h 17 #include "Matrix.h"
23 TransformationNode(Matrix* matrix);
26 virtual void before(Program& program, Matrix& model, Matrix& view,
27 Matrix& projection);
28 virtual void after(Program& program, Matrix& model, Matrix& view,
29 Matrix& projection);
31 Matrix mSavedModelMatrix
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
Rotate3dAnimation.java 22 import android.graphics.Matrix;
77 final Matrix matrix = t.getMatrix(); local
86 camera.getMatrix(matrix);
89 matrix.preTranslate(-centerX, -centerY);
90 matrix.postTranslate(centerX, centerY);
  /external/eigen/lapack/
eigenvalues.cpp 13 // computes an LU factorization of a general M-by-N matrix A using partial pivoting with row interchanges
59 if(UPLO(*uplo)==UP) mat = matrix(a,*n,*n,*lda).adjoint();
60 else mat = matrix(a,*n,*n,*lda);
69 matrix(a,*n,*n,*lda).setIdentity();
76 matrix(a,*n,*n,*lda) = eig.eigenvectors();
  /external/eigen/unsupported/Eigen/src/SVD/
JacobiSVD.h 24 *** Their role is to reduce the problem of computing the SVD to the case of a square matrix.
75 typedef Matrix<Scalar, 1, RowsAtCompileTime, RowMajor, 1, MaxRowsAtCompileTime> WorkspaceType;
87 bool run(JacobiSVD<MatrixType, FullPivHouseholderQRPreconditioner>& svd, const MatrixType& matrix)
89 if(matrix.rows() > matrix.cols())
91 m_qr.compute(matrix);
92 svd.m_workMatrix = m_qr.matrixQR().block(0,0,matrix.cols(),matrix.cols()).template triangularView<Upper>();
119 typedef Matrix<Scalar, ColsAtCompileTime, RowsAtCompileTime, Options, MaxColsAtCompileTime, MaxRowsAtCompileTime>
133 bool run(JacobiSVD<MatrixType, FullPivHouseholderQRPreconditioner>& svd, const MatrixType& matrix)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_csc.h 56 vl_csc_matrix *matrix);
  /external/skia/src/effects/gradients/
SkSweepGradient.cpp 12 SkMatrix matrix; local
13 matrix.setTranslate(dx, dy);
14 return matrix;
83 const SkMatrix& matrix = fDstToIndex; local
89 proc(matrix, SkIntToScalar(x) + SK_ScalarHalf,
95 const auto step = matrix.fixedStepInX(SkIntToScalar(y) + SK_ScalarHalf);
100 dx = matrix.getScaleX();
101 dy = matrix.getSkewY();
112 proc(matrix, SkIntToScalar(x) + SK_ScalarHalf,
162 const SkMatrix& matrix)
236 SkMatrix matrix; local
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
WindowLocationUtil.java 19 import android.graphics.Matrix;
47 Matrix matrix = view.getMatrix(); local
48 if (matrix != null && !matrix.isIdentity()) {
49 matrix.mapPoints(points);
74 matrix = view.getMatrix();
75 if (matrix != null && !matrix.isIdentity()) {
76 matrix.mapPoints(points)
116 Matrix matrix = view.getImageMatrix(); local
    [all...]
  /external/ceres-solver/internal/ceres/
compressed_row_sparse_matrix_test.cc 209 Matrix tsm_dense;
210 Matrix crsm_dense;
248 scoped_ptr<CompressedRowSparseMatrix> matrix(
252 EXPECT_EQ(matrix->num_rows(), 5);
253 EXPECT_EQ(matrix->num_cols(), 5);
254 EXPECT_EQ(matrix->num_nonzeros(), 9);
255 EXPECT_EQ(blocks, matrix->row_blocks());
256 EXPECT_EQ(blocks, matrix->col_blocks());
263 matrix->RightMultiply(x.data(), y.data());
269 matrix->LeftMultiply(x.data(), y.data())
470 CompressedRowSparseMatrix* matrix = new CompressedRowSparseMatrix(tsm); local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
PluralRanges.java 30 private Matrix matrix = new Matrix(); field in class:PluralRanges
46 private static final class Matrix implements Comparable<Matrix>, Cloneable {
54 Matrix() {
149 if (!(other instanceof Matrix)) {
152 return 0 == compareTo((Matrix) other);
155 public int compareTo(Matrix o) {
166 public Matrix clone()
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
PluralRanges.java 28 private Matrix matrix = new Matrix(); field in class:PluralRanges
44 private static final class Matrix implements Comparable<Matrix>, Cloneable {
52 Matrix() {
147 if (!(other instanceof Matrix)) {
150 return 0 == compareTo((Matrix) other);
153 public int compareTo(Matrix o) {
164 public Matrix clone()
    [all...]
  /external/skia/bench/
ColorFilterBench.cpp 33 SkScalar matrix[20] = { 1, 0, 0, 0, amount255, local
37 SkAutoTUnref<SkColorFilter> filter(SkColorMatrixFilter::Create(matrix));
42 SkScalar matrix[20]; local
43 memset(matrix, 0, 20 * sizeof(SkScalar));
44 matrix[0] = matrix[5] = matrix[10] = 0.2126f;
45 matrix[1] = matrix[6] = matrix[11] = 0.7152f
    [all...]
  /external/skia/gm/
colorfilterimagefilter.cpp 23 SkScalar matrix[20] = { local
28 return SkColorMatrixFilter::Create(matrix);
32 SkScalar matrix[20]; local
33 memset(matrix, 0, 20 * sizeof(SkScalar));
34 matrix[0] = matrix[5] = matrix[10] = 0.2126f;
35 matrix[1] = matrix[6] = matrix[11] = 0.7152f
    [all...]
  /external/ImageMagick/MagickCore/
matrix.c 13 % MagickCore Matrix Methods %
50 #include "MagickCore/matrix.h"
117 % o columns: the matrix columns.
119 % o rows: the matrix rows.
121 % o stride: the matrix stride.
234 "CacheResourcesExhausted","`%s'","matrix cache");
265 "CacheResourcesExhausted","`%s'","matrix cache");
303 % AcquireMagickMatrix() allocates and returns a matrix in the form of an
306 % This used to generate the two dimensional matrix, and vectors required
328 **matrix;
324 **matrix; local
    [all...]
  /external/pdfium/fpdfsdk/src/
fpdf_flatten.cpp 259 const CFX_Matrix& matrix) {
263 matrix.TransformRect(rcStream);
280 const CFX_Matrix& matrix) {
284 if (matrix.a != 0 && matrix.d != 0) {
293 matrix.a * rcStream.left + matrix.c * rcStream.bottom + matrix.e;
295 matrix.b * rcStream.left + matrix.d * rcStream.bottom + matrix.f
462 CFX_Matrix matrix = pAPDic->GetMatrix("Matrix"); local
    [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...]
ComplexEigenSolver.h 26 * \tparam _MatrixType the type of the matrix of which we are
28 * instantiation of the Matrix class template.
30 * The eigenvalues and eigenvectors of a matrix \f$ A \f$ are scalars
32 * \f$. If \f$ D \f$ is a diagonal matrix with the eigenvalues on
33 * the diagonal, and \f$ V \f$ is a matrix with the eigenvectors as
34 * its columns, then \f$ A V = V D \f$. The matrix \f$ V \f$ is
78 typedef Matrix<ComplexScalar, ColsAtCompileTime, 1, Options&(~RowMajor), MaxColsAtCompileTime, 1> EigenvalueType;
80 /** \brief Type for matrix of eigenvectors as returned by eigenvectors().
82 * This is a square matrix with entries of type #ComplexScalar.
85 typedef Matrix<ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, Options, MaxRowsAtCompileTime, MaxColsAtCompi (…)
    [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...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowImageView.java 6 import android.graphics.Matrix;
26 private Matrix matrix; field in class:ShadowImageView
140 public void setImageMatrix(Matrix matrix) {
141 this.matrix = new Matrix(matrix);
146 if (matrix != null) {
147 canvas.translate(shadowOf(matrix).getTransX(), shadowOf(matrix
    [all...]
  /frameworks/rs/api/
rs_matrix.spec 18 summary: Matrix Functions
28 a vector is done by postmultiplying the vector, e.g. <code>(matrix * vector)</code>,
31 To create a transformation matrix that performs two transformations at once,
33 argument. E.g. to create a transformation matrix that applies the
39 style simply stores the transformation matrix in the first argument. The latter
40 modifies a pre-existing transformation matrix so that the new transformation
41 happens first. E.g. if you call @rsMatrixTranslate() on a matrix that already
42 does a scaling, the resulting matrix when applied to a vector will first do the
51 arg: const rs_matrix4x4* viewProj, "Matrix to extract planes from."
60 Computes 6 frustum planes from the view projection matrix
    [all...]
  /external/skia/src/views/animated/
SkImageView.cpp 72 bool SkImageView::getImageMatrix(SkMatrix* matrix) const
77 if (matrix)
78 *matrix = *fMatrix;
83 if (matrix)
84 matrix->reset();
89 void SkImageView::setImageMatrix(const SkMatrix* matrix)
93 if (matrix && !matrix->isIdentity())
97 *fMatrix = *matrix;
111 // only redraw if we changed our matrix and we're not in scaleToFit mod
152 SkMatrix matrix; local
    [all...]

Completed in 1249 milliseconds

1 2 34 5 6 7 8 91011>>