/external/eigen/doc/snippets/ |
Tutorial_Map_using.cpp | 1 typedef Matrix<float,1,Dynamic> MatrixType; 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/test/ |
constructor.cpp | 15 template<typename MatrixType> struct Wrapper 17 MatrixType m_mat; 18 inline Wrapper(const MatrixType &x) : m_mat(x) {} 19 inline operator const MatrixType& () const { return m_mat; } 20 inline operator MatrixType& () { return m_mat; } 23 template<typename MatrixType> void ctor_init1(const MatrixType& m) 29 MatrixType m0 = MatrixType::Random(rows,cols); 31 VERIFY_EVALUATION_COUNT( MatrixType m1(m0), 1) [all...] |
conservative_resize.cpp | 19 typedef Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic, Storage> MatrixType; 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));
|
hessenberg.cpp | 16 typedef Matrix<Scalar,Size,Size> MatrixType; 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> cs1 [all...] |
qtvector.cpp | 18 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* ref = &w[0] [all...] |
stddeque.cpp | 15 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,Eigen::aligned_allocator<MatrixType> >::iterator vi = v.begin() [all...] |
stddeque_overload.cpp | 28 template<typename MatrixType> 29 void check_stddeque_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::deque<MatrixType> v(10, MatrixType(rows,cols)), w(20, y); 54 MatrixType* ref = &w[0] [all...] |
stdlist.cpp | 15 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,Eigen::aligned_allocator<MatrixType> >::iterator vi = v.begin() [all...] |
stdlist_overload.cpp | 44 template<typename MatrixType> 45 void check_stdlist_matrix(const MatrixType& m) 47 typename MatrixType::Index rows = m.rows(); 48 typename MatrixType::Index cols = m.cols(); 49 MatrixType x = MatrixType::Random(rows,cols), y = MatrixType::Random(rows,cols); 50 std::list<MatrixType> v(10, MatrixType(rows,cols)), w(20, y); 51 typename std::list<MatrixType>::iterator itv = get(v, 5) [all...] |
stdvector.cpp | 14 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(rows,cols)), w(20, y) [all...] |
stdvector_overload.cpp | 28 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((internal::UIntPtr)&(v[22]) == (internal::UIntPtr)&(v[21]) + sizeof(MatrixType)); [all...] |
product_large.cpp | 17 typedef Matrix<T,Dynamic,Dynamic> MatrixType; 22 MatrixType A(rows,cols); A.setRandom();
|
product_symm.cpp | 14 typedef Matrix<Scalar, Size, Size> MatrixType; 19 typedef typename MatrixType::Index Index; 24 MatrixType m1 = MatrixType::Random(rows, cols), 25 m2 = MatrixType::Random(rows, cols), m3;
|
spqr_support.cpp | 14 template<typename MatrixType,typename DenseMat> 15 int generate_sparse_rectangular_problem(MatrixType& A, DenseMat& dA, int maxRows = 300, int maxCols = 300) 18 typedef typename MatrixType::Scalar Scalar; 32 typedef SparseMatrix<Scalar,ColMajor> MatrixType; 33 MatrixType A; 37 SPQR<MatrixType> solver;
|
/external/eigen/Eigen/src/Eigenvalues/ |
GeneralizedSelfAdjointEigenSolver.h | 37 * GeneralizedSelfAdjointEigenSolver(const MatrixType&, const MatrixType&, int) 42 * The documentation for GeneralizedSelfAdjointEigenSolver(const MatrixType&, const MatrixType&, int) 53 typedef _MatrixType MatrixType; 89 * This constructor calls compute(const MatrixType&, const MatrixType&, int) 104 * \sa compute(const MatrixType&, const MatrixType&, int) 106 GeneralizedSelfAdjointEigenSolver(const MatrixType& matA, const MatrixType& matB [all...] |
/external/eigen/doc/examples/ |
make_circulant2.cpp | 29 ArgType::MaxSizeAtCompileTime> MatrixType; 35 CwiseNullaryOp<circulant_functor<ArgType>, typename circulant_helper<ArgType>::MatrixType> 38 typedef typename circulant_helper<ArgType>::MatrixType MatrixType; 39 return MatrixType::NullaryExpr(arg.size(), arg.size(), circulant_functor<ArgType>(arg.derived()));
|
nullary_indexing.cpp | 18 ColIndexType::MaxSizeAtCompileTime> MatrixType; 32 CwiseNullaryOp<indexing_functor<ArgType,RowIndexType,ColIndexType>, typename indexing_functor<ArgType,RowIndexType,ColIndexType>::MatrixType> 36 typedef typename Func::MatrixType MatrixType; 37 return MatrixType::NullaryExpr(row_indices.size(), col_indices.size(), Func(arg.derived(), row_indices, col_indices));
|
/external/eigen/Eigen/src/SparseLU/ |
SparseLUImpl.h | 31 typedef SparseMatrix<Scalar,ColMajor,StorageIndex> MatrixType; 41 Index snode_dfs(const Index jcol, const Index kcol,const MatrixType& mat, IndexVector& xprune, IndexVector& marker, GlobalLU_t& glu); 49 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/Eigen/src/IterativeSolvers/ |
IncompleteLU.h | 28 typedef Matrix<Scalar,Dynamic,Dynamic> MatrixType; 32 template<typename MatrixType> 33 IncompleteLU(const MatrixType& mat) 41 template<typename MatrixType> 42 IncompleteLU& compute(const MatrixType& mat)
|
/external/skia/src/gpu/ |
GrPrimitiveProcessor.cpp | 25 enum MatrixType {
|
/external/skqp/src/gpu/ |
GrPrimitiveProcessor.cpp | 25 enum MatrixType {
|
/external/eigen/Eigen/src/misc/ |
Image.h | 23 typedef typename DecompositionType::MatrixType MatrixType; 25 typename MatrixType::Scalar, 26 MatrixType::RowsAtCompileTime, // the image is a subspace of the destination space, whose 29 MatrixType::Options, 30 MatrixType::MaxRowsAtCompileTime, // the image matrix will consist of columns from the original matrix, 31 MatrixType::MaxColsAtCompileTime // so it has the same number of rows and at most as many columns. 39 typedef typename DecompositionType::MatrixType MatrixType; 42 image_retval_base(const DecompositionType& dec, const MatrixType& originalMatrix [all...] |
Kernel.h | 23 typedef typename DecompositionType::MatrixType MatrixType; 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, 67 typedef typename DecompositionType::MatrixType MatrixType; \ 68 typedef typename MatrixType::Scalar Scalar; [all...] |
/external/eigen/bench/ |
benchmark-blocking-sizes.cpp | 52 typedef MatrixXf MatrixType; 53 typedef MatrixType::Scalar Scalar; 187 MatrixType *lhs = new MatrixType[matrix_pool_size]; 188 MatrixType *rhs = new MatrixType[matrix_pool_size]; 189 MatrixType *dst = new MatrixType[matrix_pool_size]; 192 lhs[i] = MatrixType::Zero(productsizes.m, productsizes.k); 193 rhs[i] = MatrixType::Zero(productsizes.k, productsizes.n) [all...] |
/external/eigen/Eigen/src/Core/ |
ConditionEstimator.h | 58 typedef typename Decomposition::MatrixType MatrixType; 61 typedef typename internal::plain_col_type<MatrixType>::type Vector; 62 typedef typename internal::plain_col_type<MatrixType, RealScalar>::type RealVector;
|