HomeSort by relevance Sort by last modified time
    Searched refs:Matrix (Results 1 - 25 of 605) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/eigen/doc/snippets/
MatrixBase_identity.cpp 1 cout << Matrix<double, 3, 4>::Identity() << endl;
FullPivLU_solve.cpp 0 Matrix<float,2,3> m = Matrix<float,2,3>::Random();
3 cout << "Here is the matrix m:" << endl << m << endl;
4 cout << "Here is the matrix y:" << endl << y << endl;
5 Matrix<float,3,2> x = m.fullPivLu().solve(y);
Tutorial_Map_rowmajor.cpp 3 cout << "Column-major:\n" << Map<Matrix<int,2,4> >(array) << endl;
4 cout << "Row-major:\n" << Map<Matrix<int,2,4,RowMajor> >(array) << endl;
6 Map<Matrix<int,2,4>, Unaligned, Stride<1,4> >(array) << endl;
LLT_solve.cpp 1 typedef Matrix<float,Dynamic,2> DataMatrix;
6 Matrix<float,2,1> xy
Tutorial_solve_multiple_rhs.cpp 3 Matrix<float,3,2> B;
5 Matrix<float,3,2> X;
TopicStorageOrders_example.cpp 0 Matrix<int, 3, 4, ColMajor> Acolmajor;
5 cout << "The matrix A:" << endl;
13 Matrix<int, 3, 4, RowMajor> Arowmajor = Acolmajor;
  /external/ceres-solver/include/ceres/internal/
eigen.h 41 typedef Eigen::Matrix<double, Dynamic, 1> Vector;
42 typedef Eigen::Matrix<double, Dynamic, Dynamic, RowMajor> Matrix;
44 typedef Eigen::Map<Matrix> MatrixRef;
45 typedef Eigen::Map<Matrix, Eigen::Aligned> AlignedMatrixRef;
47 typedef Eigen::Map<const Matrix, Eigen::Aligned> ConstAlignedMatrixRef;
48 typedef Eigen::Map<const Matrix> ConstMatrixRef;
51 // struct so that we can support statically sized Matrix and Maps.
54 typedef Eigen::Matrix <double, num_rows, num_cols, RowMajor>
55 Matrix;
    [all...]
  /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);
  /external/ceres-solver/include/ceres/
normal_prior.h 46 // where, the matrix A and the vector b are fixed and x is the
52 // where, mu is a vector and S is a covariance matrix, then, A =
53 // S^{-1/2}, i.e the matrix A is the square root of the inverse of the
54 // covariance, also known as the stiffness matrix. There are however
56 // which would be the case if the covariance matrix S is rank
62 // number of columns in the matrix A, crash otherwise.
63 NormalPrior(const Matrix& A, const Vector& b);
69 Matrix A_;
  /external/eigen/Eigen/src/Core/
Matrix.h 16 /** \class Matrix
19 * \brief The matrix class, also used for vectors and row-vectors
21 * The %Matrix class is the work-horse for all \em dense (\ref dense "note") matrices and vectors within Eigen.
24 * The %Matrix class encompasses \em both fixed-size and dynamic-size objects (\ref fixedsize "note").
42 * \li \c Matrix2d is a 2x2 square matrix of doubles (\c Matrix<double, 2, 2>)
43 * \li \c Vector4f is a vector of 4 floats (\c Matrix<float, 4, 1>)
44 * \li \c RowVector3i is a row-vector of 3 ints (\c Matrix<int, 1, 3>)
46 * \li \c MatrixXf is a dynamic-size matrix of floats (\c Matrix<float, Dynamic, Dynamic>
    [all...]
  /external/eigen/test/
zerosized.cpp 48 zeroSizedMatrix<Matrix<float, 2, Dynamic> >();
50 zeroSizedMatrix<Matrix<float, 0, 0> >();
51 zeroSizedMatrix<Matrix<float, Dynamic, 0, 0, 0, 0> >();
52 zeroSizedMatrix<Matrix<float, 0, Dynamic, 0, 0, 0> >();
53 zeroSizedMatrix<Matrix<float, Dynamic, Dynamic, 0, 0, 0> >();
58 zeroSizedVector<Matrix<float, 0, 1> >();
product_small.cpp 16 Matrix<float,1,3> matAstatic;
17 Matrix<float,3,1> matBstatic;
35 CALL_SUBTEST_1( product(Matrix<float, 3, 2>()) );
36 CALL_SUBTEST_2( product(Matrix<int, 3, 5>()) );
sizeof.cpp 23 CALL_SUBTEST(verifySizeOf(Matrix<float, 1, 1>()) );
25 CALL_SUBTEST(verifySizeOf(Matrix<double, 4, 2>()) );
26 CALL_SUBTEST(verifySizeOf(Matrix<bool, 7, 5>()) );
30 CALL_SUBTEST(verifySizeOf(Matrix<float, 100, 100>()) );
  /external/eigen/test/eigen2/
eigen2_sizeof.cpp 23 CALL_SUBTEST( verifySizeOf(Matrix<float, 1, 1>()) );
25 CALL_SUBTEST( verifySizeOf(Matrix<double, 4, 2>()) );
26 CALL_SUBTEST( verifySizeOf(Matrix<bool, 7, 5>()) );
30 CALL_SUBTEST( verifySizeOf(Matrix<float, 100, 100>()) );
eigen2_product_small.cpp 16 CALL_SUBTEST_1( product(Matrix<float, 3, 2>()) );
17 CALL_SUBTEST_2( product(Matrix<int, 3, 5>()) );
eigen2_mixingtypes.cpp 24 typedef Matrix<float, SizeAtCompileType, SizeAtCompileType> Mat_f;
25 typedef Matrix<double, SizeAtCompileType, SizeAtCompileType> Mat_d;
26 typedef Matrix<std::complex<float>, SizeAtCompileType, SizeAtCompileType> Mat_cf;
27 typedef Matrix<std::complex<double>, SizeAtCompileType, SizeAtCompileType> Mat_cd;
28 typedef Matrix<float, SizeAtCompileType, 1> Vec_f;
29 typedef Matrix<double, SizeAtCompileType, 1> Vec_d;
30 typedef Matrix<std::complex<float>, SizeAtCompileType, 1> Vec_cf;
31 typedef Matrix<std::complex<double>, SizeAtCompileType, 1> Vec_cd;
gsl_helper.h 26 typedef gsl_matrix* Matrix;
28 static Matrix createMatrix(int rows, int cols) { return gsl_matrix_alloc(rows,cols); }
30 static void free(Matrix& m) { gsl_matrix_free(m); m=0; }
32 static void prod(const Matrix& m, const Vector& v, Vector& x) { gsl_blas_dgemv(CblasNoTrans,1,m,v,0,x); }
33 static void cholesky(Matrix& m) { gsl_linalg_cholesky_decomp(m); }
34 static void cholesky_solve(const Matrix& m, const Vector& b, Vector& x) { gsl_linalg_cholesky_solve(m,b,x); }
35 static void eigen_symm(const Matrix& m, Vector& eval, Matrix& evec)
38 Matrix a = createMatrix(m->size1, m->size2);
45 static void eigen_symm_gen(const Matrix& m, const Matrix& _b, Vector& eval, Matrix& evec
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
CameraTest.java 20 import android.graphics.Matrix;
43 Matrix m1 = new Matrix();
47 Matrix m2 = new Matrix();
65 Matrix m1 = new Matrix();
69 Matrix m2 = new Matrix();
87 Matrix m1 = new Matrix()
    [all...]
  /frameworks/base/core/java/android/view/
DisplayList.java 19 import android.graphics.Matrix;
293 * Set the static matrix on the display list. The specified matrix is combined with other
296 * @param matrix A transform matrix to apply to this display list
298 * @see #getMatrix(android.graphics.Matrix)
301 public abstract void setMatrix(Matrix matrix);
304 * Returns the static matrix set on this display list.
306 * @return A new {@link Matrix} instance populated with this display list's stati
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Shader.java 37 private Matrix mLocalMatrix;
62 * Return true if the shader has a non-identity local matrix.
63 * @param localM If not null, it is set to the shader's local matrix.
64 * @return true if the shader has a non-identity local matrix
66 public boolean getLocalMatrix(Matrix localM) {
75 * Set the shader's local matrix. Passing null will reset the shader's
76 * matrix to identity
77 * @param localM The shader's new local matrix, or null to specify identity
79 public void setLocalMatrix(Matrix localM) {
  /external/eigen/bench/
benchmark.cpp 24 Matrix<SCALAR,MATSIZE,MATSIZE> I = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones();
25 Matrix<SCALAR,MATSIZE,MATSIZE> m;
34 m = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones() + 0.00005 * (m + (m*m));
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
EdgeView.java 20 import android.opengl.Matrix;
35 // Each edge effect has a transform matrix, and each matrix has 16 elements.
37 // starting index of each matrix.
71 Matrix.setIdentityM(mMatrix, TOP_M);
72 Matrix.setIdentityM(mMatrix, LEFT_M);
73 Matrix.setIdentityM(mMatrix, BOTTOM_M);
74 Matrix.setIdentityM(mMatrix, RIGHT_M);
76 Matrix.rotateM(mMatrix, LEFT_M, 90, 0, 0, 1);
77 Matrix.scaleM(mMatrix, LEFT_M, 1, -1, 1)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ScaleToFit.java 36 private final Matrix mMatrix = new Matrix();
39 private static final Matrix.ScaleToFit[] sFits =
40 new Matrix.ScaleToFit[] {
41 Matrix.ScaleToFit.FILL,
42 Matrix.ScaleToFit.START,
43 Matrix.ScaleToFit.CENTER,
44 Matrix.ScaleToFit.END
81 private void drawFit(Canvas canvas, int index, Matrix.ScaleToFit stf) {
  /external/eigen/Eigen/src/Eigen2Support/Geometry/
RotationBase.h 15 // in 2D and 3D space excepted Matrix and Quaternion.
32 /** corresponding linear transformation matrix type */
33 typedef Matrix<Scalar,Dim,Dim> RotationMatrixType;
38 /** \returns an equivalent rotation matrix */
59 * Constructs a Dim x Dim rotation matrix from the rotation \a r
63 Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols>
64 ::Matrix(const RotationBase<OtherDerived,ColsAtCompileTime>& r)
66 EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE(Matrix,int(OtherDerived::Dim),int(OtherDerived::Dim))
72 * Set a Dim x Dim rotation matrix from the rotation \a r
76 Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols>
    [all...]
  /external/ceres-solver/internal/ceres/
dogleg_strategy.h 74 Matrix subspace_basis() const { return subspace_basis_; }
76 Matrix subspace_B() const { return subspace_B_; }
79 typedef Eigen::Matrix<double, 2, 1, Eigen::DontAlign> Vector2d;
80 typedef Eigen::Matrix<double, 2, 2, Eigen::DontAlign> Matrix2d;
102 // mu is used to scale the diagonal matrix used to make the
132 // user has recomputed the Jacobian matrix and new Gauss-Newton
136 // user wants to solve the trust region problem with the same matrix
155 Matrix subspace_basis_;

Completed in 1727 milliseconds

1 2 3 4 5 6 7 8 91011>>