26 #if ! defined (octave_sparse_lu_h)
27 #define octave_sparse_lu_h 1
29 #include "octave-config.h"
47 template <
typename lu_type>
56 : Lfact (), Ufact (), Rfact (), cond (0), P (),
Q () { }
63 bool FixedQ =
false,
double droptol = -1.0,
64 bool milu =
false,
bool udiag =
false);
67 : Lfact (a.Lfact), Ufact (a.Ufact), Rfact (), cond (a.cond),
87 lu_type
L (
void)
const {
return Lfact; }
89 lu_type
U (
void)
const {
return Ufact; }
93 lu_type Y (
void)
const;
111 double rcond (
void)
const {
return cond; }
lu_type::element_type lu_elt_type
MArray< octave_idx_type > Q
const octave_idx_type * row_perm(void) const
sparse_lu(const sparse_lu &a)
const octave_idx_type * col_perm(void) const
MArray< octave_idx_type > P
SparseMatrix R(void) const
virtual ~sparse_lu(void)=default
void scale(Matrix &m, double x, double y, double z)
F77_RET_T const F77_INT const F77_INT const F77_INT F77_DBLE const F77_INT F77_DBLE const F77_INT F77_DBLE * Q