44#include "trilinos_amd.h"
45#include "trilinos_colamd.h"
46#include "trilinos_btf_decl.h"
53template <
typename Entry,
typename Int>
struct klu_symbolic
89template <
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)
140template <
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 ;
222template <
typename Entry,
typename Int>
225 klu_common<Entry, Int> *Common
235template <
typename Entry,
typename Int>
236klu_symbolic<Entry, Int> *klu_analyze
242 klu_common<Entry, Int> *Common
253template <
typename Entry,
typename Int>
254klu_symbolic<Entry, Int> *klu_analyze_given
262 klu_common<Entry, Int> *Common
269template <
typename Entry,
typename Int>
270klu_numeric<Entry, Int> *klu_factor
276 klu_symbolic<Entry, Int> *Symbolic,
277 klu_common<Entry, Int> *Common
284template <
typename Entry,
typename Int>
288 klu_symbolic<Entry, Int> *Symbolic,
289 klu_numeric<Entry, Int> *Numeric,
295 klu_common<Entry, Int> *Common
303template <
typename Entry,
typename Int>
307 klu_symbolic<Entry, Int> *Symbolic,
308 klu_numeric<Entry, Int> *Numeric,
314 klu_common<Entry, Int> *Common
321template <
typename Entry,
typename Int>
328 klu_symbolic<Entry, Int> *Symbolic,
330 klu_numeric<Entry, Int> *Numeric,
331 klu_common<Entry, Int> *Common
338template <
typename Entry,
typename Int>
341 klu_symbolic<Entry, Int> **Symbolic,
342 klu_common<Entry, Int> *Common
352template <
typename Entry,
typename Int>
355 klu_numeric<Entry, Int> **Numeric,
356 klu_common<Entry, Int> *Common
365template <
typename Entry,
typename Int>
369 klu_symbolic<Entry, Int> *Symbolic,
371 klu_numeric<Entry, Int> *Numeric,
372 klu_common<Entry, Int> *Common
379template <
typename Entry,
typename Int>
383 klu_symbolic<Entry, Int> *Symbolic,
384 klu_numeric<Entry, Int> *Numeric,
386 klu_common<Entry, Int> *Common
406template <
typename Entry,
typename Int>
412 klu_symbolic<Entry, Int> *Symbolic,
413 klu_numeric<Entry, Int> *Numeric,
414 klu_common<Entry, Int> *Common
425template <
typename Entry,
typename Int>
430 klu_symbolic<Entry, Int> *Symbolic,
431 klu_numeric<Entry, Int> *Numeric,
432 klu_common<Entry, Int> *Common
439template <
typename Entry,
typename Int>
442 klu_symbolic<Entry, Int> *Symbolic,
443 klu_numeric<Entry, Int> *Numeric,
444 klu_common<Entry, Int> *Common
451template <
typename Entry,
typename Int>
464 klu_common<Entry, Int> *Common
471template <
typename Entry,
typename Int>
475 klu_numeric<Entry, Int> *Numeric,
476 klu_symbolic<Entry, Int> *Symbolic,
507 klu_common<Entry, Int> *Common
515template <
typename Entry,
typename Int>
522 klu_common<Entry, Int> *Common
525template <
typename Entry,
typename Int>
533 klu_common<Entry, Int> *Common
536template <
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.