Go to the documentation of this file.
10 #ifndef EIGEN_DETERMINANT_H
11 #define EIGEN_DETERMINANT_H
17 template<
typename Derived>
25 template<
typename Derived>
33 template<
typename Derived,
34 int DeterminantType = Derived::RowsAtCompileTime
39 if(Derived::ColsAtCompileTime==
Dynamic && m.rows()==0)
41 return m.partialPivLu().determinant();
57 return m.coeff(0,0) * m.coeff(1,1) - m.coeff(1,0) * m.coeff(0,1);
91 template<
typename Derived>
101 #endif // EIGEN_DETERMINANT_H
static traits< Derived >::Scalar run(const Derived &m)
static traits< Derived >::Scalar run(const Derived &m)
static traits< Derived >::Scalar run(const Derived &m)
Map< Matrix< T, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > matrix(T *data, int rows, int cols, int stride)
static traits< Derived >::Scalar run(const Derived &m)
Scalar determinant() const
const Derived::Scalar bruteforce_det3_helper(const MatrixBase< Derived > &matrix, int a, int b, int c)
static traits< Derived >::Scalar run(const Derived &m)
void run(Expr &expr, Dev &dev)
const Derived::Scalar bruteforce_det4_helper(const MatrixBase< Derived > &matrix, int j, int k, int m, int n)
Base class for all dense matrices, vectors, and expressions.
control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:05:44