Searched defs:MatrixType (Results 1 - 25 of 91) sorted by relevance

1234

/external/eigen/test/eigen2/
H A Deigen2_sizeof.cpp12 template<typename MatrixType> void verifySizeOf(const MatrixType&) argument
14 typedef typename MatrixType::Scalar Scalar;
15 if (MatrixType::RowsAtCompileTime!=Dynamic && MatrixType::ColsAtCompileTime!=Dynamic)
16 VERIFY(sizeof(MatrixType)==sizeof(Scalar)*MatrixType::SizeAtCompileTime);
18 VERIFY(sizeof(MatrixType)==sizeof(Scalar*) + 2 * sizeof(typename MatrixType::Index));
H A Deigen2_newstdvector.cpp15 template<typename MatrixType>
16 void check_stdvector_matrix(const MatrixType& m)
20 MatrixType x = MatrixType::Random(rows,cols), y = MatrixType::Random(rows,cols);
21 std::vector<MatrixType,Eigen::aligned_allocator<MatrixType> > v(10, MatrixType(rows,cols)), w(20, y);
38 VERIFY((std::size_t)&(v[22]) == (std::size_t)&(v[21]) + sizeof(MatrixType));
42 MatrixType* re
54 typedef typename TransformType::MatrixType MatrixType; typedef
[all...]
H A Deigen2_qtvector.cpp20 template<typename MatrixType>
21 void check_qtvector_matrix(const MatrixType& m)
25 MatrixType x = MatrixType::Random(rows,cols), y = MatrixType::Random(rows,cols);
26 QVector<MatrixType> v(10, MatrixType(rows,cols)), w(20, y);
47 VERIFY((size_t)&(v[22]) == (size_t)&(v[21]) + sizeof(MatrixType));
51 MatrixType* ref = &w[0];
63 typedef typename TransformType::MatrixType MatrixTyp typedef
[all...]
H A Deigen2_stdvector.cpp14 template<typename MatrixType>
15 void check_stdvector_matrix(const MatrixType& m)
19 MatrixType x = MatrixType::Random(rows,cols), y = MatrixType::Random(rows,cols);
20 std::vector<MatrixType, aligned_allocator<MatrixType> > v(10, MatrixType(rows,cols)), w(20, y);
37 VERIFY((std::size_t)&(v[22]) == (std::size_t)&(v[21]) + sizeof(MatrixType));
41 MatrixType* re
53 typedef typename TransformType::MatrixType MatrixType; typedef
[all...]
H A Deigen2_parametrizedline.cpp27 LineType::AmbientDimAtCompileTime> MatrixType; typedef
/external/eigen/test/
H A Dsizeof.cpp12 template<typename MatrixType> void verifySizeOf(const MatrixType&) argument
14 typedef typename MatrixType::Scalar Scalar;
15 if (MatrixType::RowsAtCompileTime!=Dynamic && MatrixType::ColsAtCompileTime!=Dynamic)
16 VERIFY(std::ptrdiff_t(sizeof(MatrixType))==std::ptrdiff_t(sizeof(Scalar))*std::ptrdiff_t(MatrixType::SizeAtCompileTime));
18 VERIFY(sizeof(MatrixType)==sizeof(Scalar*) + 2 * sizeof(typename MatrixType::Index));
H A Dconservative_resize.cpp19 typedef Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic, Storage> MatrixType; typedef
20 typedef typename MatrixType::Index Index;
22 MatrixType m, n;
25 m = n = MatrixType::Random(50,50);
29 m = n = MatrixType::Random(50,50);
33 m = n = MatrixType::Random(50,50);
42 m = n = MatrixType::Random(50,50);
52 m = n = MatrixType::Random(50,50);
53 m.conservativeResizeLike(MatrixType::Zero(rows,cols));
H A Dhessenberg.cpp16 typedef Matrix<Scalar,Size,Size> MatrixType; typedef
20 MatrixType m = MatrixType::Random(size,size);
21 HessenbergDecomposition<MatrixType> hess(m);
22 MatrixType Q = hess.matrixQ();
23 MatrixType H = hess.matrixH();
27 VERIFY(H(row,col) == (typename MatrixType::Scalar)0);
33 MatrixType A = MatrixType::Random(size, size);
34 HessenbergDecomposition<MatrixType> cs
[all...]
H A Djacobi.cpp14 template<typename MatrixType, typename JacobiScalar>
15 void jacobi(const MatrixType& m = MatrixType()) argument
17 typedef typename MatrixType::Index Index;
22 RowsAtCompileTime = MatrixType::RowsAtCompileTime,
23 ColsAtCompileTime = MatrixType::ColsAtCompileTime
28 const MatrixType a(MatrixType::Random(rows, cols));
41 MatrixType b = a;
54 MatrixType
[all...]
H A Dqtvector.cpp18 template<typename MatrixType>
19 void check_qtvector_matrix(const MatrixType& m)
21 typedef typename MatrixType::Index Index;
25 MatrixType x = MatrixType::Random(rows,cols), y = MatrixType::Random(rows,cols);
26 QVector<MatrixType> v(10, MatrixType(rows,cols)), w(20, y);
47 VERIFY((size_t)&(v[22]) == (size_t)&(v[21]) + sizeof(MatrixType));
51 MatrixType* re
63 typedef typename TransformType::MatrixType MatrixType; typedef
[all...]
H A Dschur_complex.cpp14 template<typename MatrixType> void schur(int size = MatrixType::ColsAtCompileTime) argument
16 typedef typename ComplexSchur<MatrixType>::ComplexScalar ComplexScalar;
17 typedef typename ComplexSchur<MatrixType>::ComplexMatrixType ComplexMatrixType;
21 MatrixType A = MatrixType::Random(size, size);
22 ComplexSchur<MatrixType> schurOfA(A);
28 VERIFY(T(row,col) == (typename MatrixType::Scalar)0);
35 ComplexSchur<MatrixType> csUninitialized;
41 MatrixType
[all...]
H A Dschur_real.cpp14 template<typename MatrixType> void verifyIsQuasiTriangular(const MatrixType& T)
16 typedef typename MatrixType::Index Index;
19 typedef typename MatrixType::Scalar Scalar;
40 template<typename MatrixType> void schur(int size = MatrixType::ColsAtCompileTime) argument
44 MatrixType A = MatrixType::Random(size, size);
45 RealSchur<MatrixType> schurOfA(A);
47 MatrixType
[all...]
H A Dstddeque.cpp15 template<typename MatrixType>
16 void check_stddeque_matrix(const MatrixType& m)
18 typedef typename MatrixType::Index Index;
22 MatrixType x = MatrixType::Random(rows,cols), y = MatrixType::Random(rows,cols);
23 std::deque<MatrixType,Eigen::aligned_allocator<MatrixType> > v(10, MatrixType(rows,cols)), w(20, y);
29 typename std::deque<MatrixType,Eige
50 typedef typename TransformType::MatrixType MatrixType; typedef
[all...]
H A Dstdlist.cpp15 template<typename MatrixType>
16 void check_stdlist_matrix(const MatrixType& m)
18 typedef typename MatrixType::Index Index;
22 MatrixType x = MatrixType::Random(rows,cols), y = MatrixType::Random(rows,cols);
23 std::list<MatrixType,Eigen::aligned_allocator<MatrixType> > v(10, MatrixType(rows,cols)), w(20, y);
29 typename std::list<MatrixType,Eige
50 typedef typename TransformType::MatrixType MatrixType; typedef
[all...]
H A Dstdvector.cpp14 template<typename MatrixType>
15 void check_stdvector_matrix(const MatrixType& m)
17 typename MatrixType::Index rows = m.rows();
18 typename MatrixType::Index cols = m.cols();
19 MatrixType x = MatrixType::Random(rows,cols), y = MatrixType::Random(rows,cols);
20 std::vector<MatrixType,Eigen::aligned_allocator<MatrixType> > v(10, MatrixType(row
53 typedef typename TransformType::MatrixType MatrixType; typedef
[all...]
H A Dstdvector_overload.cpp28 template<typename MatrixType>
29 void check_stdvector_matrix(const MatrixType& m)
31 typename MatrixType::Index rows = m.rows();
32 typename MatrixType::Index cols = m.cols();
33 MatrixType x = MatrixType::Random(rows,cols), y = MatrixType::Random(rows,cols);
34 std::vector<MatrixType> v(10, MatrixType(rows,cols)), w(20, y);
51 VERIFY((size_t)&(v[22]) == (size_t)&(v[21]) + sizeof(MatrixType));
67 typedef typename TransformType::MatrixType MatrixType; typedef
[all...]
H A Dproduct_symm.cpp14 typedef Matrix<Scalar, Size, Size> MatrixType; typedef
19 typedef typename MatrixType::Index Index;
24 MatrixType m1 = MatrixType::Random(rows, cols),
25 m2 = MatrixType::Random(rows, cols), m3;
H A Dspqr_support.cpp12 template<typename MatrixType,typename DenseMat>
13 int generate_sparse_rectangular_problem(MatrixType& A, DenseMat& dA, int maxRows = 300, int maxCols = 300)
16 typedef typename MatrixType::Scalar Scalar;
30 typedef SparseMatrix<Scalar,ColMajor> MatrixType; typedef
31 MatrixType A;
35 SPQR<MatrixType> solver;
/external/eigen/doc/snippets/
H A DTutorial_Map_using.cpp1 typedef Matrix<float,1,Dynamic> MatrixType; typedef
2 typedef Map<MatrixType> MapType;
3 typedef Map<const MatrixType> MapTypeConst; // a read-only map
6 MatrixType m1(n_dims), m2(n_dims);
/external/eigen/Eigen/src/Eigenvalues/
H A DGeneralizedSelfAdjointEigenSolver.h37 * GeneralizedSelfAdjointEigenSolver(const MatrixType&, const MatrixType&, int)
42 * The documentation for GeneralizedSelfAdjointEigenSolver(const MatrixType&, const MatrixType&, int)
54 typedef _MatrixType MatrixType; typedef in class:Eigen::GeneralizedSelfAdjointEigenSolver
90 * This constructor calls compute(const MatrixType&, const MatrixType&, int)
105 * \sa compute(const MatrixType&, const MatrixType&, int)
107 GeneralizedSelfAdjointEigenSolver(const MatrixType
[all...]
/external/eigen/Eigen/src/SparseLU/
H A DSparseLUImpl.h29 typedef SparseMatrix<Scalar,ColMajor,Index> MatrixType; typedef in class:Eigen::internal::SparseLUImpl
39 Index snode_dfs(const Index jcol, const Index kcol,const MatrixType& mat, IndexVector& xprune, IndexVector& marker, GlobalLU_t& glu);
47 void panel_dfs(const Index m, const Index w, const Index jcol, MatrixType& A, IndexVector& perm_r, Index& nseg, ScalarVector& dense, IndexVector& panel_lsub, IndexVector& segrep, IndexVector& repfnz, IndexVector& xprune, IndexVector& marker, IndexVector& parent, IndexVector& xplore, GlobalLU_t& glu);
/external/eigen/unsupported/bench/
H A Dbench_svd.cpp33 template<typename MatrixType>
34 void bench_svd(const MatrixType& a = MatrixType()) argument
36 MatrixType m = MatrixType::Random(a.rows(), a.cols());
48 BDCSVD<MatrixType> bdc_matrix(m);
55 JacobiSVD<MatrixType> jacobi_matrix(m);
79 BDCSVD<MatrixType> bdc_matrix(m, ComputeFullU|ComputeFullV);
86 JacobiSVD<MatrixType> jacobi_matrix(m, ComputeFullU|ComputeFullV);
/external/eigen/Eigen/src/misc/
H A DKernel.h23 typedef typename DecompositionType::MatrixType MatrixType; typedef in struct:Eigen::internal::traits
25 typename MatrixType::Scalar,
26 MatrixType::ColsAtCompileTime, // the number of rows in the "kernel matrix"
30 MatrixType::Options,
31 MatrixType::MaxColsAtCompileTime, // see explanation for 2nd template parameter
32 MatrixType::MaxColsAtCompileTime // the kernel is a subspace of the domain space,
68 typedef typename DecompositionType::MatrixType MatrixType; \
69 typedef typename MatrixType
[all...]
H A DSolve.h23 typedef typename DecompositionType::MatrixType MatrixType; typedef in struct:Eigen::internal::traits
25 MatrixType::ColsAtCompileTime,
28 MatrixType::MaxColsAtCompileTime,
62 typedef typename DecompositionType::MatrixType MatrixType; \
63 typedef typename MatrixType::Scalar Scalar; \
64 typedef typename MatrixType::RealScalar RealScalar; \
65 typedef typename MatrixType::Index Index; \
/external/eigen/unsupported/Eigen/src/Splines/
H A DSplineFitting.h121 typedef Matrix<Scalar,Dynamic,Dynamic> MatrixType; typedef
127 MatrixType A = MatrixType::Zero(n,n);
138 HouseholderQR<MatrixType> qr(A);
141 ControlPointVectorType ctrls = qr.solve(MatrixType(pts.transpose())).transpose();

Completed in 1165 milliseconds

1234