20#include "trilinos_amd.h"
21#include "trilinos_colamd.h"
22#include "trilinos_btf_decl.h"
29template <
typename Entry,
typename Int>
struct klu_symbolic
65template <
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)
116template <
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 ;
198template <
typename Entry,
typename Int>
201 klu_common<Entry, Int> *Common
211template <
typename Entry,
typename Int>
212klu_symbolic<Entry, Int> *klu_analyze
218 klu_common<Entry, Int> *Common
229template <
typename Entry,
typename Int>
230klu_symbolic<Entry, Int> *klu_analyze_given
238 klu_common<Entry, Int> *Common
245template <
typename Entry,
typename Int>
246klu_numeric<Entry, Int> *klu_factor
252 klu_symbolic<Entry, Int> *Symbolic,
253 klu_common<Entry, Int> *Common
260template <
typename Entry,
typename Int>
264 klu_symbolic<Entry, Int> *Symbolic,
265 klu_numeric<Entry, Int> *Numeric,
271 klu_common<Entry, Int> *Common
279template <
typename Entry,
typename Int>
283 klu_symbolic<Entry, Int> *Symbolic,
284 klu_numeric<Entry, Int> *Numeric,
290 klu_common<Entry, Int> *Common
297template <
typename Entry,
typename Int>
304 klu_symbolic<Entry, Int> *Symbolic,
306 klu_numeric<Entry, Int> *Numeric,
307 klu_common<Entry, Int> *Common
314template <
typename Entry,
typename Int>
317 klu_symbolic<Entry, Int> **Symbolic,
318 klu_common<Entry, Int> *Common
328template <
typename Entry,
typename Int>
331 klu_numeric<Entry, Int> **Numeric,
332 klu_common<Entry, Int> *Common
341template <
typename Entry,
typename Int>
345 klu_symbolic<Entry, Int> *Symbolic,
347 klu_numeric<Entry, Int> *Numeric,
348 klu_common<Entry, Int> *Common
355template <
typename Entry,
typename Int>
359 klu_symbolic<Entry, Int> *Symbolic,
360 klu_numeric<Entry, Int> *Numeric,
362 klu_common<Entry, Int> *Common
382template <
typename Entry,
typename Int>
388 klu_symbolic<Entry, Int> *Symbolic,
389 klu_numeric<Entry, Int> *Numeric,
390 klu_common<Entry, Int> *Common
401template <
typename Entry,
typename Int>
406 klu_symbolic<Entry, Int> *Symbolic,
407 klu_numeric<Entry, Int> *Numeric,
408 klu_common<Entry, Int> *Common
415template <
typename Entry,
typename Int>
418 klu_symbolic<Entry, Int> *Symbolic,
419 klu_numeric<Entry, Int> *Numeric,
420 klu_common<Entry, Int> *Common
427template <
typename Entry,
typename Int>
440 klu_common<Entry, Int> *Common
447template <
typename Entry,
typename Int>
451 klu_numeric<Entry, Int> *Numeric,
452 klu_symbolic<Entry, Int> *Symbolic,
483 klu_common<Entry, Int> *Common
491template <
typename Entry,
typename Int>
498 klu_common<Entry, Int> *Common
501template <
typename Entry,
typename Int>
509 klu_common<Entry, Int> *Common
512template <
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)
void scale(ArrayView< Scalar1 > vals, size_t l, size_t ld, ArrayView< Scalar2 > s)
Scales a 1-D representation of a multivector.
int Ai[]
Row values.
Definition klu2_simple.cpp:54
const int size
Definition klu2_simple.cpp:50
int Ap[]
Column offsets.
Definition klu2_simple.cpp:52