30 template <
class lu_type>
33 : a_fact (u), l_fact (l), ipvt (p.
transpose ().col_perm_vec ())
35 if (l.columns () != u.rows ())
39 template <
class lu_type>
46 template <
class lu_type>
58 template <
class lu_type>
76 l.xelem (i, j) = a_fact.xelem (i, j);
85 template <
class lu_type>
100 u.xelem (i, j) = a_fact.xelem (i, j);
109 template <
class lu_type>
114 (*current_liboctave_error_handler)
115 (
"lu: Y () not implemented for unpacked form");
119 template <
class lu_type>
150 template <
class lu_type>
157 template <
class lu_type>
168 p.
xelem (i) =
static_cast<double> (pvt.
xelem (i) + 1);
173 template <
class lu_type>
static void transpose(octave_idx_type N, const octave_idx_type *ridx, const octave_idx_type *cidx, octave_idx_type *ridx2, octave_idx_type *cidx2)
lu_type::element_type lu_elt_type
liboctave_error_handler current_liboctave_error_handler
T & xelem(octave_idx_type n)
charNDArray min(char d, const charNDArray &m)