Home | History | Annotate | Download | only in test

Lines Matching refs:MatrixType

14 template<typename MatrixType> void lu_non_invertible()
16 typedef typename MatrixType::Index Index;
17 typedef typename MatrixType::Scalar Scalar;
18 typedef typename MatrixType::RealScalar RealScalar;
23 if(MatrixType::RowsAtCompileTime==Dynamic)
29 rows = MatrixType::RowsAtCompileTime;
31 if(MatrixType::ColsAtCompileTime==Dynamic)
38 cols2 = cols = MatrixType::ColsAtCompileTime;
42 RowsAtCompileTime = MatrixType::RowsAtCompileTime,
43 ColsAtCompileTime = MatrixType::ColsAtCompileTime
45 typedef typename internal::kernel_retval_base<FullPivLU<MatrixType> >::ReturnType KernelMatrixType;
46 typedef typename internal::image_retval_base<FullPivLU<MatrixType> >::ReturnType ImageMatrixType;
47 typedef Matrix<typename MatrixType::Scalar, ColsAtCompileTime, ColsAtCompileTime>
49 typedef Matrix<typename MatrixType::Scalar, RowsAtCompileTime, RowsAtCompileTime>
55 VERIFY((MatrixType::Zero(rows,cols).fullPivLu().image(MatrixType::Zero(rows,cols)).cols() == 1));
57 MatrixType m1(rows, cols), m3(rows, cols2);
61 FullPivLU<MatrixType> lu;
69 MatrixType u(rows,cols);
98 template<typename MatrixType> void lu_invertible()
103 typedef typename MatrixType::Scalar Scalar;
104 typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar;
107 MatrixType m1(size, size), m2(size, size), m3(size, size);
108 FullPivLU<MatrixType> lu;
111 m1 = MatrixType::Random(size,size);
123 m3 = MatrixType::Random(size,size);
129 template<typename MatrixType> void lu_partial_piv()
134 typedef typename MatrixType::Index Index;
135 typedef typename MatrixType::Scalar Scalar;
136 typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar;
140 MatrixType m1(cols, rows);
142 PartialPivLU<MatrixType> plu(m1);
147 template<typename MatrixType> void lu_verify_assert()
149 MatrixType tmp;
151 FullPivLU<MatrixType> lu;
166 PartialPivLU<MatrixType> plu;