Searched refs:MatrixType (Results 151 - 175 of 242) sorted by relevance

12345678910

/external/eigen/test/
H A Dblock.cpp13 template<typename MatrixType, typename Index, typename Scalar>
14 typename Eigen::internal::enable_if<!NumTraits<typename MatrixType::Scalar>::IsComplex,typename MatrixType::Scalar>::type
15 block_real_only(const MatrixType &m1, Index r1, Index r2, Index c1, Index c2, const Scalar& s1) {
26 template<typename MatrixType, typename Index, typename Scalar>
27 typename Eigen::internal::enable_if<NumTraits<typename MatrixType::Scalar>::IsComplex,typename MatrixType::Scalar>::type
28 block_real_only(const MatrixType &, Index, Index, Index, Index, const Scalar&) {
33 template<typename MatrixType> void block(const MatrixType
[all...]
H A Dproduct_extra.cpp12 template<typename MatrixType> void product_extra(const MatrixType& m)
14 typedef typename MatrixType::Index Index;
15 typedef typename MatrixType::Scalar Scalar;
19 MatrixType::Flags&RowMajorBit> OtherMajorMatrixType;
24 MatrixType m1 = MatrixType::Random(rows, cols),
25 m2 = MatrixType::Random(rows, cols),
27 mzero = MatrixType::Zero(rows, cols),
28 identity = MatrixType
[all...]
H A Dbandmatrix.cpp12 template<typename MatrixType> void bandmatrix(const MatrixType& _m)
14 typedef typename MatrixType::Index Index;
15 typedef typename MatrixType::Scalar Scalar;
24 MatrixType m(rows,cols,supers,subs);
H A Dumeyama.cpp25 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixType; typedef
27 MatrixType Q;
35 Q = MatrixType::Random(size, size);
40 typename MatrixType::ColXpr colVec = Q.col(col);
43 typename MatrixType::ColXpr prevColVec = Q.col(prevCol);
53 typename MatrixType::RowXpr rowVec = Q.row(row);
56 typename MatrixType::RowXpr prevRowVec = Q.row(prevRow);
79 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixType; typedef
82 MatrixType Q = randMatrixUnitary<Scalar>(size);
90 template <typename MatrixType>
[all...]
H A Dlinearstructure.cpp12 template<typename MatrixType> void linearStructure(const MatrixType& m)
18 typedef typename MatrixType::Index Index;
19 typedef typename MatrixType::Scalar Scalar;
26 MatrixType m1 = MatrixType::Random(rows, cols),
27 m2 = MatrixType::Random(rows, cols),
H A Dcorners.cpp16 template<typename MatrixType> void corners(const MatrixType& m)
18 typedef typename MatrixType::Index Index;
25 MatrixType matrix = MatrixType::Random(rows,cols);
26 const MatrixType const_matrix = MatrixType::Random(rows,cols);
46 template<typename MatrixType, int CRows, int CCols, int SRows, int SCols> void corners_fixedsize()
48 MatrixType matrix = MatrixType
[all...]
H A Dproduct_syrk.cpp12 template<typename MatrixType> void syrk(const MatrixType& m)
14 typedef typename MatrixType::Index Index;
15 typedef typename MatrixType::Scalar Scalar;
16 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime, RowMajor> RMatrixType;
17 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, Dynamic> Rhs1;
18 typedef Matrix<Scalar, Dynamic, MatrixType::RowsAtCompileTime> Rhs2;
19 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, Dynamic,RowMajor> Rhs3;
24 MatrixType m
[all...]
H A Dmapstride.cpp51 template<int Alignment,typename MatrixType> void map_class_matrix(const MatrixType& _m)
53 typedef typename MatrixType::Index Index;
54 typedef typename MatrixType::Scalar Scalar;
58 MatrixType m = MatrixType::Random(rows,cols);
69 Map<MatrixType, Alignment, OuterStride<Dynamic> > map(array, rows, cols, OuterStride<Dynamic>(m.innerSize()+1));
84 InnerSize = MatrixType::InnerSizeAtCompileTime,
87 Map<MatrixType, Alignment, OuterStride<OuterStrideAtCompileTime> >
101 Map<MatrixType, Alignmen
[all...]
H A Dpermutationmatrices.cpp13 template<typename MatrixType> void permutationmatrices(const MatrixType& m)
15 typedef typename MatrixType::Index Index;
16 typedef typename MatrixType::Scalar Scalar;
17 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime,
18 Options = MatrixType::Options };
29 MatrixType m_original = MatrixType::Random(rows,cols);
36 MatrixType m_permute
[all...]
H A Dvisitor.cpp12 template<typename MatrixType> void matrixVisitor(const MatrixType& p)
14 typedef typename MatrixType::Scalar Scalar;
15 typedef typename MatrixType::Index Index;
21 MatrixType m;
22 m = MatrixType::Random(rows, cols);
H A Ddiagonalmatrices.cpp12 template<typename MatrixType> void diagonalmatrices(const MatrixType& m)
14 typedef typename MatrixType::Index Index;
15 typedef typename MatrixType::Scalar Scalar;
16 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime };
26 MatrixType m1 = MatrixType::Random(rows, cols),
27 m2 = MatrixType::Random(rows, cols);
/external/eigen/Eigen/src/Eigenvalues/
H A DEigenSolver.h48 * EigenSolver(const MatrixType&, bool) constructor which computes the
55 * The documentation for EigenSolver(const MatrixType&, bool) contains an
69 typedef _MatrixType MatrixType; typedef in class:Eigen::EigenSolver
72 RowsAtCompileTime = MatrixType::RowsAtCompileTime,
73 ColsAtCompileTime = MatrixType::ColsAtCompileTime,
74 Options = MatrixType::Options,
75 MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime,
76 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime
79 /** \brief Scalar type for matrices of type #MatrixType. */
80 typedef typename MatrixType
[all...]
H A DRealQZ.h40 * RealQZ(const MatrixType& B, const MatrixType& B, bool computeQZ)
60 typedef _MatrixType MatrixType; typedef in class:Eigen::RealQZ
62 RowsAtCompileTime = MatrixType::RowsAtCompileTime,
63 ColsAtCompileTime = MatrixType::ColsAtCompileTime,
64 Options = MatrixType::Options,
65 MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime,
66 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime
68 typedef typename MatrixType::Scalar Scalar;
70 typedef typename MatrixType
[all...]
H A DComplexSchur_MKL.h47 typedef Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> MatrixType; \
48 typedef MatrixType::Scalar Scalar; \
49 typedef MatrixType::RealScalar RealScalar; \
H A DRealSchur_MKL.h47 typedef Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> MatrixType; \
48 typedef MatrixType::Scalar Scalar; \
49 typedef MatrixType::RealScalar RealScalar; \
/external/eigen/Eigen/src/SVD/
H A DJacobiSVD_MKL.h47 typedef Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic> MatrixType; \
48 typedef MatrixType::Scalar Scalar; \
49 typedef MatrixType::RealScalar RealScalar; \
65 MatrixType localV; \
72 MatrixType m_temp; m_temp = matrix; \
/external/eigen/Eigen/src/UmfPackSupport/
H A DUmfPackSupport.h127 typedef _MatrixType MatrixType; typedef in class:Eigen::UmfPackLU
128 typedef typename MatrixType::Scalar Scalar;
129 typedef typename MatrixType::RealScalar RealScalar;
130 typedef typename MatrixType::Index Index;
132 typedef Matrix<int, 1, MatrixType::ColsAtCompileTime> IntRowVectorType;
133 typedef Matrix<int, MatrixType::RowsAtCompileTime, 1> IntColVectorType;
141 UmfPackLU(const MatrixType& matrix)
195 void compute(const MatrixType& matrix)
233 void analyzePattern(const MatrixType& matrix)
258 void factorize(const MatrixType
[all...]
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
H A DIncompleteLU.h24 typedef Matrix<Scalar,Dynamic,Dynamic> MatrixType; typedef in class:Eigen::IncompleteLU
28 template<typename MatrixType>
29 IncompleteLU(const MatrixType& mat) : m_isInitialized(false)
37 template<typename MatrixType>
38 IncompleteLU& compute(const MatrixType& mat)
/external/eigen/Eigen/src/Geometry/
H A DUmeyama.h31 template<typename MatrixType, typename OtherMatrixType>
35 MinRowsAtCompileTime = EIGEN_SIZE_MIN_PREFER_DYNAMIC(MatrixType::RowsAtCompileTime, OtherMatrixType::RowsAtCompileTime),
42 typedef Matrix<typename traits<MatrixType>::Scalar,
45 AutoAlign | (traits<MatrixType>::Flags & RowMajorBit ? RowMajor : ColMajor),
109 typedef Matrix<Scalar, Dimension, Dimension> MatrixType; typedef
130 const MatrixType sigma = one_over_n * dst_demean * src_demean.transpose();
132 JacobiSVD<MatrixType> svd(sigma, ComputeFullU | ComputeFullV);
/external/eigen/test/eigen2/
H A Deigen2_cwiseop.cpp22 template<typename MatrixType> void cwiseops(const MatrixType& m)
24 typedef typename MatrixType::Scalar Scalar;
26 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
31 MatrixType m1 = MatrixType::Random(rows, cols),
32 m2 = MatrixType::Random(rows, cols),
35 mzero = MatrixType::Zero(rows, cols),
36 mones = MatrixType::Ones(rows, cols),
37 identity = Matrix<Scalar, MatrixType
[all...]
/external/eigen/bench/
H A DbenchEigenSolver.cpp33 template <typename MatrixType>
34 __attribute__ ((noinline)) void benchEigenSolver(const MatrixType& m)
42 typedef typename MatrixType::Scalar Scalar;
43 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType;
45 MatrixType a = MatrixType::Random(rows,cols);
81 if (MatrixType::RowsAtCompileTime==Dynamic)
90 if (MatrixType::RowsAtCompileTime==Dynamic)
128 if (MatrixType
[all...]
/external/eigen/Eigen/src/SparseCore/
H A DSparseColEtree.h60 template <typename MatrixType, typename IndexVector>
61 int coletree(const MatrixType& mat, IndexVector& parent, IndexVector& firstRowElt, typename MatrixType::Index *perm=0)
63 typedef typename MatrixType::Index Index;
82 for (typename MatrixType::InnerIterator it(mat, pcol); it; ++it)
104 for (typename MatrixType::InnerIterator it(mat, pcol); it||!found_diag; ++it)
/external/ceres-solver/internal/ceres/
H A Dpreconditioner.h140 template <typename MatrixType>
145 return UpdateImpl(*down_cast<const MatrixType*>(&A), D);
149 virtual bool UpdateImpl(const MatrixType& A, const double* D) = 0;
/external/eigen/lapack/
H A Dcholesky.cpp27 MatrixType A(a,*n,*n,*lda);
57 MatrixType A(a,*n,*n,*lda);
58 MatrixType B(b,*n,*nrhs,*ldb);
/external/eigen/unsupported/Eigen/src/SVD/
H A DBDCSVD.h33 * \param MatrixType the type of the matrix of which we are computing the SVD decomposition
46 typedef _MatrixType MatrixType; typedef in class:Eigen::BDCSVD
47 typedef typename MatrixType::Scalar Scalar;
48 typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar;
49 typedef typename MatrixType::Index Index;
51 RowsAtCompileTime = MatrixType::RowsAtCompileTime,
52 ColsAtCompileTime = MatrixType::ColsAtCompileTime,
54 MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime,
55 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime,
57 MatrixOptions = MatrixType
[all...]

Completed in 456 milliseconds

12345678910