21 Int block,
n, nzoff, nblocks ;
27 if (NumericHandle ==
NULL || *NumericHandle ==
NULL)
32 Numeric = *NumericHandle ;
35 nzoff = Numeric->nzoff ;
36 nblocks = Numeric->nblocks ;
37 LUsize = Numeric->LUsize ;
39 LUbx = (
Unit **) Numeric->LUbx ;
42 for (block = 0 ; block < nblocks ; block++)
44 KLU_free (LUbx [block], LUsize ? LUsize [block] : 0,
45 sizeof (
Unit), Common) ;
50 KLU_free (Numeric->Offp, n+1, sizeof (
Int), Common) ;
51 KLU_free (Numeric->Offi, nzoff+1, sizeof (
Int), Common) ;
59 KLU_free (Numeric->LUsize, nblocks, sizeof (
size_t), Common) ;
61 KLU_free (Numeric->LUbx, nblocks, sizeof (
Unit *), Common) ;
65 KLU_free (Numeric->Rs, n, sizeof (
double), Common) ;
68 KLU_free (Numeric->Work, Numeric->worksize, 1, Common) ;
72 *NumericHandle =
NULL ;
Int KLU_free_numeric(KLU_numeric **NumericHandle, KLU_common *Common)