Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- do
- {
- OCTAVE_LOCAL_BUFFER (octave_idx_type, qinit, nc);
- for (octave_idx_type i = 0; i < nc; i++)
- qinit[i] = static_cast<octave_idx_type> (Qinit (i));
- status = umfpack_qsymbolic<lu_elt_type> (nr, nc, Ap, Ai, Ax,
- qinit, &Symbolic, control,
- info);
- }
- while (0);
- if (status < 0)
- {
- // this is not the case
- }
- else
- {
- umfpack_report_symbolic<lu_elt_type> (Symbolic, control);
- void *Numeric;
- status = umfpack_numeric<lu_elt_type> (Ap, Ai, Ax, Symbolic,
- &Numeric, control, info);
- umfpack_free_symbolic<lu_elt_type> (&Symbolic);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement