20 #include "trilinos_amd.h"
21 #include "trilinos_colamd.h"
22 #include "trilinos_btf_decl.h"
29 template <
typename Entry,
typename Int>
struct klu_symbolic
65 template <
typename Entry,
typename Int>
struct klu_numeric
111 #define KLU_SINGULAR (1)
112 #define KLU_OUT_OF_MEMORY (-2)
113 #define KLU_INVALID (-3)
114 #define KLU_TOO_LARGE (-4)
116 template <
typename Entry,
typename Int>
struct klu_common
136 void *(*malloc_memory) (size_t) ;
137 void *(*realloc_memory) (
void *, size_t) ;
138 void (*free_memory) (
void *) ;
139 void *(*calloc_memory) (size_t, size_t) ;
142 int (*user_order) (Int, Int *, Int *, Int *,
struct klu_common<Entry, Int> *) ;
149 Int halt_if_singular ;
165 Int structural_rank ;
198 template <
typename Entry,
typename Int>
201 klu_common<Entry, Int> *Common
211 template <
typename Entry,
typename Int>
212 klu_symbolic<Entry, Int> *klu_analyze
218 klu_common<Entry, Int> *Common
229 template <
typename Entry,
typename Int>
230 klu_symbolic<Entry, Int> *klu_analyze_given
238 klu_common<Entry, Int> *Common
245 template <
typename Entry,
typename Int>
246 klu_numeric<Entry, Int> *klu_factor
252 klu_symbolic<Entry, Int> *Symbolic,
253 klu_common<Entry, Int> *Common
260 template <
typename Entry,
typename Int>
264 klu_symbolic<Entry, Int> *Symbolic,
265 klu_numeric<Entry, Int> *Numeric,
271 klu_common<Entry, Int> *Common
279 template <
typename Entry,
typename Int>
283 klu_symbolic<Entry, Int> *Symbolic,
284 klu_numeric<Entry, Int> *Numeric,
290 klu_common<Entry, Int> *Common
297 template <
typename Entry,
typename Int>
304 klu_symbolic<Entry, Int> *Symbolic,
306 klu_numeric<Entry, Int> *Numeric,
307 klu_common<Entry, Int> *Common
314 template <
typename Entry,
typename Int>
315 Int klu_free_symbolic
317 klu_symbolic<Entry, Int> **Symbolic,
318 klu_common<Entry, Int> *Common
328 template <
typename Entry,
typename Int>
331 klu_numeric<Entry, Int> **Numeric,
332 klu_common<Entry, Int> *Common
341 template <
typename Entry,
typename Int>
345 klu_symbolic<Entry, Int> *Symbolic,
347 klu_numeric<Entry, Int> *Numeric,
348 klu_common<Entry, Int> *Common
355 template <
typename Entry,
typename Int>
359 klu_symbolic<Entry, Int> *Symbolic,
360 klu_numeric<Entry, Int> *Numeric,
362 klu_common<Entry, Int> *Common
382 template <
typename Entry,
typename Int>
388 klu_symbolic<Entry, Int> *Symbolic,
389 klu_numeric<Entry, Int> *Numeric,
390 klu_common<Entry, Int> *Common
401 template <
typename Entry,
typename Int>
406 klu_symbolic<Entry, Int> *Symbolic,
407 klu_numeric<Entry, Int> *Numeric,
408 klu_common<Entry, Int> *Common
415 template <
typename Entry,
typename Int>
418 klu_symbolic<Entry, Int> *Symbolic,
419 klu_numeric<Entry, Int> *Numeric,
420 klu_common<Entry, Int> *Common
427 template <
typename Entry,
typename Int>
440 klu_common<Entry, Int> *Common
447 template <
typename Entry,
typename Int>
451 klu_numeric<Entry, Int> *Numeric,
452 klu_symbolic<Entry, Int> *Symbolic,
483 klu_common<Entry, Int> *Common
491 template <
typename Entry,
typename Int>
498 klu_common<Entry, Int> *Common
501 template <
typename Entry,
typename Int>
509 klu_common<Entry, Int> *Common
512 template <
typename Entry,
typename Int>
522 klu_common<Entry, Int> *Common
543 #define KLU_DATE "Mar 24, 2009"
544 #define KLU_VERSION_CODE(main,sub) ((main) * 1000 + (sub))
545 #define KLU_MAIN_VERSION 1
546 #define KLU_SUB_VERSION 1
547 #define KLU_SUBSUB_VERSION 0
548 #define KLU_VERSION KLU_VERSION_CODE(KLU_MAIN_VERSION,KLU_SUB_VERSION)
const int size
Definition: klu2_simple.cpp:50
void scale(ArrayView< Scalar1 > vals, size_t l, size_t ld, ArrayView< Scalar2 > s)
Scales a 1-D representation of a multivector.
int Ap[]
Column offsets.
Definition: klu2_simple.cpp:52
int Ai[]
Row values.
Definition: klu2_simple.cpp:54