26#if ! defined (octave_sparse_lu_h)
27#define octave_sparse_lu_h 1
29#include "octave-config.h"
45template <
typename lu_type>
53 : m_L (), m_U (), m_R (), m_cond (0), m_P (), m_Q () { }
62 bool FixedQ =
false,
double droptol = -1.0,
63 bool milu =
false,
bool udiag =
false);
66 : m_L (a.m_L), m_U (a.m_U), m_R (),
67 m_cond (a.m_cond), m_P (a.m_P), m_Q (a.m_Q)
86 lu_type
L ()
const {
return m_L; }
88 lu_type
U ()
const {
return m_U; }
110 double rcond ()
const {
return m_cond; }
124OCTAVE_END_NAMESPACE(math)
125OCTAVE_END_NAMESPACE(octave)
Template for N-dimensional array classes with like-type math operators.
sparse_lu(const sparse_lu &a)
MArray< octave_idx_type > m_Q
virtual ~sparse_lu()=default
const octave_idx_type * row_perm() const
lu_type::element_type lu_elt_type
const octave_idx_type * col_perm() const
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)