26 #if ! defined (octave_sparse_lu_h)
27 #define octave_sparse_lu_h 1
29 #include "octave-config.h"
46 template <
typename lu_type>
56 : m_L (), m_U (), m_R (), m_cond (0), m_P (), m_Q () { }
65 bool FixedQ =
false,
double droptol = -1.0,
66 bool milu =
false,
bool udiag =
false);
69 : m_L (a.m_L), m_U (a.m_U), m_R (),
70 m_cond (a.m_cond), m_P (a.m_P), m_Q (a.m_Q)
89 lu_type
L ()
const {
return m_L; }
91 lu_type
U ()
const {
return m_U; }
113 double rcond ()
const {
return m_cond; }
127 OCTAVE_END_NAMESPACE(math)
128 OCTAVE_END_NAMESPACE(
octave)
sparse_lu(const sparse_lu &a)
const octave_idx_type * col_perm() const
MArray< octave_idx_type > m_Q
virtual ~sparse_lu()=default
const octave_idx_type * row_perm() const
lu_type::element_type lu_elt_type
MArray< octave_idx_type > m_P
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
void scale(Matrix &m, double x, double y, double z)