Lines Matching refs:ResultType
21 template<typename MatrixType, typename ResultType, int Size = MatrixType::RowsAtCompileTime>
24 static inline void run(const MatrixType& matrix, ResultType& result)
30 template<typename MatrixType, typename ResultType, int Size = MatrixType::RowsAtCompileTime>
37 template<typename MatrixType, typename ResultType>
38 struct compute_inverse<MatrixType, ResultType, 1>
40 static inline void run(const MatrixType& matrix, ResultType& result)
47 template<typename MatrixType, typename ResultType>
48 struct compute_inverse_and_det_with_check<MatrixType, ResultType, 1>
53 ResultType& result,
54 typename ResultType::Scalar& determinant,
61 if(invertible) result.coeffRef(0,0) = typename ResultType::Scalar(1) / determinant;
69 template<typename MatrixType, typename ResultType>
71 const MatrixType& matrix, const typename ResultType::Scalar& invdet,
72 ResultType& result)
80 template<typename MatrixType, typename ResultType>
81 struct compute_inverse<MatrixType, ResultType, 2>
83 static inline void run(const MatrixType& matrix, ResultType& result)
85 typedef typename ResultType::Scalar Scalar;
91 template<typename MatrixType, typename ResultType>
92 struct compute_inverse_and_det_with_check<MatrixType, ResultType, 2>
97 ResultType& inverse,
98 typename ResultType::Scalar& determinant,
103 typedef typename ResultType::Scalar Scalar;
129 template<typename MatrixType, typename ResultType>
132 const typename ResultType::Scalar& invdet,
133 const Matrix<typename ResultType::Scalar,3,1>& cofactors_col0,
134 ResultType& result)
145 template<typename MatrixType, typename ResultType>
146 struct compute_inverse<MatrixType, ResultType, 3>
148 static inline void run(const MatrixType& matrix, ResultType& result)
150 typedef typename ResultType::Scalar Scalar;
161 template<typename MatrixType, typename ResultType>
162 struct compute_inverse_and_det_with_check<MatrixType, ResultType, 3>
167 ResultType& inverse,
168 typename ResultType::Scalar& determinant,
173 typedef typename ResultType::Scalar Scalar;
214 template<int Arch, typename Scalar, typename MatrixType, typename ResultType>
217 static void run(const MatrixType& matrix, ResultType& result)
239 template<typename MatrixType, typename ResultType>
240 struct compute_inverse<MatrixType, ResultType, 4>
242 MatrixType, ResultType>
246 template<typename MatrixType, typename ResultType>
247 struct compute_inverse_and_det_with_check<MatrixType, ResultType, 4>
252 ResultType& inverse,
253 typename ResultType::Scalar& determinant,
260 if(invertible) compute_inverse<MatrixType, ResultType>::run(matrix, inverse);
346 template<typename ResultType>
348 ResultType& inverse,
349 typename ResultType::Scalar& determinant,
363 internal::compute_inverse_and_det_with_check<MatrixType, ResultType>::run
385 template<typename ResultType>
387 ResultType& inverse,