44 #include "trilinos_amd.h"
45 #include "trilinos_colamd.h"
46 #include "trilinos_btf_decl.h"
53 template <
typename Entry,
typename Int>
struct klu_symbolic
89 template <
typename Entry,
typename Int>
struct klu_numeric
135 #define KLU_SINGULAR (1)
136 #define KLU_OUT_OF_MEMORY (-2)
137 #define KLU_INVALID (-3)
138 #define KLU_TOO_LARGE (-4)
140 template <
typename Entry,
typename Int>
struct klu_common
160 void *(*malloc_memory) (size_t) ;
161 void *(*realloc_memory) (
void *, size_t) ;
162 void (*free_memory) (
void *) ;
163 void *(*calloc_memory) (size_t, size_t) ;
166 int (*user_order) (Int, Int *, Int *, Int *,
struct klu_common<Entry, Int> *) ;
173 Int halt_if_singular ;
189 Int structural_rank ;
222 template <
typename Entry,
typename Int>
225 klu_common<Entry, Int> *Common
235 template <
typename Entry,
typename Int>
236 klu_symbolic<Entry, Int> *klu_analyze
242 klu_common<Entry, Int> *Common
253 template <
typename Entry,
typename Int>
254 klu_symbolic<Entry, Int> *klu_analyze_given
262 klu_common<Entry, Int> *Common
269 template <
typename Entry,
typename Int>
270 klu_numeric<Entry, Int> *klu_factor
276 klu_symbolic<Entry, Int> *Symbolic,
277 klu_common<Entry, Int> *Common
284 template <
typename Entry,
typename Int>
288 klu_symbolic<Entry, Int> *Symbolic,
289 klu_numeric<Entry, Int> *Numeric,
295 klu_common<Entry, Int> *Common
303 template <
typename Entry,
typename Int>
307 klu_symbolic<Entry, Int> *Symbolic,
308 klu_numeric<Entry, Int> *Numeric,
314 klu_common<Entry, Int> *Common
321 template <
typename Entry,
typename Int>
328 klu_symbolic<Entry, Int> *Symbolic,
330 klu_numeric<Entry, Int> *Numeric,
331 klu_common<Entry, Int> *Common
338 template <
typename Entry,
typename Int>
339 Int klu_free_symbolic
341 klu_symbolic<Entry, Int> **Symbolic,
342 klu_common<Entry, Int> *Common
352 template <
typename Entry,
typename Int>
355 klu_numeric<Entry, Int> **Numeric,
356 klu_common<Entry, Int> *Common
365 template <
typename Entry,
typename Int>
369 klu_symbolic<Entry, Int> *Symbolic,
371 klu_numeric<Entry, Int> *Numeric,
372 klu_common<Entry, Int> *Common
379 template <
typename Entry,
typename Int>
383 klu_symbolic<Entry, Int> *Symbolic,
384 klu_numeric<Entry, Int> *Numeric,
386 klu_common<Entry, Int> *Common
406 template <
typename Entry,
typename Int>
412 klu_symbolic<Entry, Int> *Symbolic,
413 klu_numeric<Entry, Int> *Numeric,
414 klu_common<Entry, Int> *Common
425 template <
typename Entry,
typename Int>
430 klu_symbolic<Entry, Int> *Symbolic,
431 klu_numeric<Entry, Int> *Numeric,
432 klu_common<Entry, Int> *Common
439 template <
typename Entry,
typename Int>
442 klu_symbolic<Entry, Int> *Symbolic,
443 klu_numeric<Entry, Int> *Numeric,
444 klu_common<Entry, Int> *Common
451 template <
typename Entry,
typename Int>
464 klu_common<Entry, Int> *Common
471 template <
typename Entry,
typename Int>
475 klu_numeric<Entry, Int> *Numeric,
476 klu_symbolic<Entry, Int> *Symbolic,
507 klu_common<Entry, Int> *Common
515 template <
typename Entry,
typename Int>
522 klu_common<Entry, Int> *Common
525 template <
typename Entry,
typename Int>
533 klu_common<Entry, Int> *Common
536 template <
typename Entry,
typename Int>
546 klu_common<Entry, Int> *Common
567 #define KLU_DATE "Mar 24, 2009"
568 #define KLU_VERSION_CODE(main,sub) ((main) * 1000 + (sub))
569 #define KLU_MAIN_VERSION 1
570 #define KLU_SUB_VERSION 1
571 #define KLU_SUBSUB_VERSION 0
572 #define KLU_VERSION KLU_VERSION_CODE(KLU_MAIN_VERSION,KLU_SUB_VERSION)
void scale(ArrayView< Scalar1 > vals, size_t l, size_t ld, ArrayView< Scalar2 > s)
Scales a 1-D representation of a multivector.