Home
last modified time | relevance | path

Searched refs:Cols (Results 1 – 16 of 16) sorted by relevance

/external/eigen/test/
Dqr_colpivoting.cpp50 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; in qr_fixedsize() enumerator
52 int rank = internal::random<int>(1, (std::min)(int(Rows), int(Cols))-1); in qr_fixedsize()
53 Matrix<Scalar,Rows,Cols> m1; in qr_fixedsize()
54 createRandomPIMatrixOfRank(rank,Rows,Cols,m1); in qr_fixedsize()
55 ColPivHouseholderQR<Matrix<Scalar,Rows,Cols> > qr(m1); in qr_fixedsize()
57 VERIFY(Cols - qr.rank() == qr.dimensionOfKernel()); in qr_fixedsize()
59 VERIFY(qr.isSurjective() == (rank == Cols)); in qr_fixedsize()
62 Matrix<Scalar,Rows,Cols> r = qr.matrixQR().template triangularView<Upper>(); in qr_fixedsize()
63 Matrix<Scalar,Rows,Cols> c = qr.householderQ() * r * qr.colsPermutation().inverse(); in qr_fixedsize()
66 Matrix<Scalar,Cols,Cols2> m2 = Matrix<Scalar,Cols,Cols2>::Random(Cols,Cols2); in qr_fixedsize()
[all …]
Dqr.cpp36 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; in qr_fixedsize() enumerator
38 Matrix<Scalar,Rows,Cols> m1 = Matrix<Scalar,Rows,Cols>::Random(); in qr_fixedsize()
39 HouseholderQR<Matrix<Scalar,Rows,Cols> > qr(m1); in qr_fixedsize()
41 Matrix<Scalar,Rows,Cols> r = qr.matrixQR(); in qr_fixedsize()
43 for(int i = 0; i < Rows; i++) for(int j = 0; j < Cols; j++) if(i>j) r(i,j) = Scalar(0); in qr_fixedsize()
47 Matrix<Scalar,Cols,Cols2> m2 = Matrix<Scalar,Cols,Cols2>::Random(Cols,Cols2); in qr_fixedsize()
49 m2 = Matrix<Scalar,Cols,Cols2>::Random(Cols,Cols2); in qr_fixedsize()
Dproduct_trsolve.cpp30 template<typename Scalar,int Size, int Cols> void trsolve(int size=Size,int cols=Cols) in trsolve()
38 rowmajor = Cols==1 ? ColMajor : RowMajor }; in trsolve()
39 Matrix<Scalar,Size,Cols,colmajor> cmRhs(size,cols); in trsolve()
40 Matrix<Scalar,Size,Cols,rowmajor> rmRhs(size,cols); in trsolve()
Dpermutationmatrices.cpp18 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime, in permutationmatrices() enumerator
23 typedef PermutationMatrix<Cols> RightPermutationType; in permutationmatrices()
24 typedef Matrix<int, Cols, 1> RightPermutationVectorType; in permutationmatrices()
44 Matrix<Scalar,Cols,Cols> rm(rp); in permutationmatrices()
Ddiagonalmatrices.cpp17 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; in diagonalmatrices() enumerator
19 typedef Matrix<Scalar, 1, Cols> RowVectorType; in diagonalmatrices()
22 typedef DiagonalMatrix<Scalar, Cols> RightDiagonalMatrix; in diagonalmatrices()
23 typedef Matrix<Scalar, Rows==Dynamic?Dynamic:2*Rows, Cols==Dynamic?Dynamic:2*Cols> BigMatrix; in diagonalmatrices()
Dmain.h315 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; in createRandomPIMatrixOfRank() enumerator
319 typedef Matrix<Scalar, Cols, Cols> MatrixBType; in createRandomPIMatrixOfRank()
Dtriangular.cpp125 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; in triangular_rect() enumerator
/external/eigen/Eigen/src/Core/
DNumTraits.h124 template<typename Scalar, int Rows, int Cols, int Options, int MaxRows, int MaxCols>
125 struct NumTraits<Array<Scalar, Rows, Cols, Options, MaxRows, MaxCols> >
127 typedef Array<Scalar, Rows, Cols, Options, MaxRows, MaxCols> ArrayType;
129 typedef Array<RealScalar, Rows, Cols, Options, MaxRows, MaxCols> Real;
131 typedef Array<NonIntegerScalar, Rows, Cols, Options, MaxRows, MaxCols> NonInteger;
DBandMatrix.h198 template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
199 class BandMatrix : public BandMatrixBase<BandMatrix<_Scalar,Rows,Cols,Supers,Subs,Options> >
207 inline BandMatrix(Index rows=Rows, Index cols=Cols, Index supers=Supers, Index subs=Subs)
DGeneralProduct.h45 template<int Rows, int Cols, int Depth> struct product_type_selector;
65 Cols = _Rhs::ColsAtCompileTime, enumerator
78 cols_select = product_size_category<Cols,MaxCols>::value,
91 EIGEN_DEBUG_VAR(Cols); in debug()
/external/eigen/Eigen/src/SparseCore/
DSparseUtil.h94 template<typename T,int Rows,int Cols> struct sparse_eval;
100 template<typename T,int Cols> struct sparse_eval<T,1,Cols> {
114 template<typename T,int Rows,int Cols> struct sparse_eval {
/external/eigen/Eigen/src/Core/util/
DXprHelper.h105 template<typename Scalar, int Rows, int Cols, int Options, int MaxRows, int MaxCols>
216 Cols = traits<T>::ColsAtCompileTime,
222 Cols,
234 Cols = traits<T>::ColsAtCompileTime,
240 Cols,
DForwardDeclarations.h134 template<typename _Scalar, int Rows=Dynamic, int Cols=Dynamic, int Supers=Dynamic, int Subs=Dynamic…
/external/eigen/unsupported/Eigen/
DOpenGLSupport48 …int Cols = XprType::ColsAtCompileTime, …
54 …template<typename XprType, typename Scalar, int Rows, int Cols> …
55 …struct EIGEN_CAT(EIGEN_CAT(gl_,FUNC),_impl)<XprType,Scalar,Rows,Cols,false> { …
200 …int Cols = XprType::ColsAtCompileTime, …
206 …template<typename XprType, typename Scalar, int Rows, int Cols> …
207 …struct EIGEN_CAT(EIGEN_CAT(gl_,FUNC),_impl)<XprType,Scalar,Rows,Cols,false> { …
/external/eigen/Eigen/src/SuperLUSupport/
DSuperLUSupport.h205 template<typename Scalar, int Rows, int Cols, int Options, int MRows, int MCols>
206 struct SluMatrixMapHelper<Matrix<Scalar,Rows,Cols,Options,MRows,MCols> >
208 typedef Matrix<Scalar,Rows,Cols,Options,MRows,MCols> MatrixType;
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixFunction.h75 static const int Cols = Traits::ColsAtCompileTime; variable
81 typedef Matrix<ComplexScalar, Rows, Cols, Options, MaxRows, MaxCols> ComplexMatrix;