30 template <
class lu_type,
class lu_elt_type,
class p_type,
class p_elt_type>
38 lu_type Yout (nr, nc, Lfact.nnz () + Ufact.nnz ());
46 Yout.xridx (ii) = Ufact.ridx (i);
47 Yout.xdata (ii++) = Ufact.data (i);
53 i < Lfact.cidx (j +1); i++)
55 Yout.xridx (ii) = Lfact.ridx (i);
56 Yout.xdata (ii++) = Lfact.data (i);
59 Yout.xcidx (j + 1) = ii;
65 template <
class lu_type,
class lu_elt_type,
class p_type,
class p_elt_type>
72 p_type Pout (nr, nr, nr);
77 Pout.ridx (P (i)) = i;
85 template <
class lu_type,
class lu_elt_type,
class p_type,
class p_elt_type>
95 Pout.
xelem (i) =
static_cast<double> (P(i) + 1);
100 template <
class lu_type,
class lu_elt_type,
class p_type,
class p_elt_type>
107 template <
class lu_type,
class lu_elt_type,
class p_type,
class p_elt_type>
113 p_type Pout (nc, nc, nc);
118 Pout.ridx (i) =
Q (i);
126 template <
class lu_type,
class lu_elt_type,
class p_type,
class p_elt_type>
136 Pout.
xelem (i) =
static_cast<double> (
Q(i) + 1);
141 template <
class lu_type,
class lu_elt_type,
class p_type,
class p_elt_type>