Amesos Package Browser (Single Doxygen Collection) Development
Defines | Typedefs
amesos_klu_version.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define Int   int
#define Int_id   "%d"
#define Int_MAX   INT_MAX
#define NPRINT
#define BYTES(type, n)   (sizeof (type) * (n))
#define CEILING(b, u)   (((b)+(u)-1) / (u))
#define UNITS(type, n)   (CEILING (BYTES (type,n), sizeof (Unit)))
#define DUNITS(type, n)   (ceil (BYTES (type, (double) n) / sizeof (Unit)))
#define GET_I_POINTER(LU, Xip, Xi, k)
#define GET_X_POINTER(LU, Xip, Xlen, Xx, k)
#define GET_POINTER(LU, Xip, Xlen, Xi, Xx, k, xlen)
#define KLU_scale   amesos_klu_scale
#define KLU_solve   amesos_klu_solve
#define KLU_tsolve   amesos_klu_tsolve
#define KLU_free_numeric   amesos_klu_free_numeric
#define KLU_factor   amesos_klu_factor
#define KLU_refactor   amesos_klu_refactor
#define KLU_kernel_factor   amesos_klu_kernel_factor
#define KLU_lsolve   amesos_klu_lsolve
#define KLU_ltsolve   amesos_klu_ltsolve
#define KLU_usolve   amesos_klu_usolve
#define KLU_utsolve   amesos_klu_utsolve
#define KLU_kernel   amesos_klu_kernel
#define KLU_valid   amesos_klu_valid
#define KLU_valid_LU   amesos_klu_valid_LU
#define KLU_sort   amesos_klu_sort
#define KLU_rgrowth   amesos_klu_rgrowth
#define KLU_rcond   amesos_klu_rcond
#define KLU_extract   amesos_klu_extract
#define KLU_condest   amesos_klu_condest
#define KLU_flops   amesos_klu_flops
#define KLU_analyze   amesos_klu_analyze
#define KLU_analyze_given   amesos_klu_analyze_given
#define KLU_alloc_symbolic   amesos_klu_alloc_symbolic
#define KLU_free_symbolic   amesos_klu_free_symbolic
#define KLU_defaults   amesos_klu_defaults
#define KLU_free   amesos_klu_free
#define KLU_malloc   amesos_klu_malloc
#define KLU_realloc   amesos_klu_realloc
#define KLU_add_size_t   amesos_klu_add_size_t
#define KLU_mult_size_t   amesos_klu_mult_size_t
#define KLU_symbolic   klu_symbolic
#define KLU_numeric   klu_numeric
#define KLU_common   klu_common
#define BTF_order   amesos_btf_order
#define BTF_strongcomp   amesos_btf_strongcomp
#define AMD_order   amesos_amd_order
#define COLAMD   amesos_colamd
#define COLAMD_recommended   amesos_colamd_recommended
#define SCALAR_IS_NAN(x)   ((x) != (x))
#define SCALAR_IS_ZERO(x)   ((x) == 0.)
#define SCALAR_IS_NONZERO(x)   ((x) != 0.)
#define SCALAR_IS_LTZERO(x)   ((x) < 0.)
#define SCALAR_ABS(x)   ((SCALAR_IS_LTZERO (x)) ? -(x) : (x))
#define PRINT_SCALAR(a)
#define Entry   double
#define SPLIT(s)   (1)
#define REAL(c)   (c)
#define IMAG(c)   (0.)
#define ASSIGN(c, s1, s2, p, split)   { (c) = (s1)[p] ; }
#define CLEAR(c)   { (c) = 0. ; }
#define CLEAR_AND_INCREMENT(p)   { *p++ = 0. ; }
#define IS_NAN(a)   SCALAR_IS_NAN (a)
#define IS_ZERO(a)   SCALAR_IS_ZERO (a)
#define IS_NONZERO(a)   SCALAR_IS_NONZERO (a)
#define SCALE_DIV(c, s)   { (c) /= (s) ; }
#define SCALE_DIV_ASSIGN(a, c, s)   { a = c / s ; }
#define SCALE(c, s)   { (c) *= (s) ; }
#define ASSEMBLE(c, a)   { (c) += (a) ; }
#define ASSEMBLE_AND_INCREMENT(c, p)   { (c) += *p++ ; }
#define DECREMENT(c, a)   { (c) -= (a) ; }
#define MULT(c, a, b)   { (c) = (a) * (b) ; }
#define MULT_CONJ(c, a, b)   { (c) = (a) * (b) ; }
#define MULT_SUB(c, a, b)   { (c) -= (a) * (b) ; }
#define MULT_SUB_CONJ(c, a, b)   { (c) -= (a) * (b) ; }
#define DIV(c, a, b)   { (c) = (a) / (b) ; }
#define RECIPROCAL(c)   { (c) = 1.0 / (c) ; }
#define DIV_CONJ(c, a, b)   { (c) = (a) / (b) ; }
#define APPROX_ABS(s, a)   { (s) = SCALAR_ABS (a) ; }
#define ABS(s, a)   { (s) = SCALAR_ABS (a) ; }
#define PRINT_ENTRY(a)   PRINT_SCALAR (a)
#define CONJ(a, x)   a = x
#define MULTSUB_FLOPS   2.
#define DIV_FLOPS   1.
#define ABS_FLOPS   0.
#define ASSEMBLE_FLOPS   1.
#define DECREMENT_FLOPS   1.
#define MULT_FLOPS   1.
#define SCALE_FLOPS   1.

Typedefs

typedef double Unit

Define Documentation

#define Int   int

Definition at line 9 of file amesos_klu_version.h.

#define Int_id   "%d"

Definition at line 10 of file amesos_klu_version.h.

#define Int_MAX   INT_MAX

Definition at line 11 of file amesos_klu_version.h.

#define NPRINT

Definition at line 14 of file amesos_klu_version.h.

#define BYTES (   type,
  n 
)    (sizeof (type) * (n))

Definition at line 16 of file amesos_klu_version.h.

#define CEILING (   b,
 
)    (((b)+(u)-1) / (u))

Definition at line 17 of file amesos_klu_version.h.

#define UNITS (   type,
  n 
)    (CEILING (BYTES (type,n), sizeof (Unit)))

Definition at line 18 of file amesos_klu_version.h.

#define DUNITS (   type,
  n 
)    (ceil (BYTES (type, (double) n) / sizeof (Unit)))

Definition at line 19 of file amesos_klu_version.h.

#define GET_I_POINTER (   LU,
  Xip,
  Xi,
 
)
Value:
{ \
    Xi = (Int *) (LU + Xip [k]) ; \
}

Definition at line 21 of file amesos_klu_version.h.

#define GET_X_POINTER (   LU,
  Xip,
  Xlen,
  Xx,
 
)
Value:
{ \
    Xx = (Entry *) (LU + Xip [k] + UNITS (Int, Xlen [k])) ; \
}

Definition at line 26 of file amesos_klu_version.h.

#define GET_POINTER (   LU,
  Xip,
  Xlen,
  Xi,
  Xx,
  k,
  xlen 
)
Value:
{ \
    Unit *xp = LU + Xip [k] ; \
    xlen = Xlen [k] ; \
    Xi = (Int *) xp ; \
    Xx = (Entry *) (xp + UNITS (Int, xlen)) ; \
}

Definition at line 31 of file amesos_klu_version.h.

#define KLU_scale   amesos_klu_scale

Definition at line 117 of file amesos_klu_version.h.

#define KLU_solve   amesos_klu_solve

Definition at line 118 of file amesos_klu_version.h.

#define KLU_tsolve   amesos_klu_tsolve

Definition at line 119 of file amesos_klu_version.h.

#define KLU_free_numeric   amesos_klu_free_numeric

Definition at line 120 of file amesos_klu_version.h.

#define KLU_factor   amesos_klu_factor

Definition at line 121 of file amesos_klu_version.h.

#define KLU_refactor   amesos_klu_refactor

Definition at line 122 of file amesos_klu_version.h.

#define KLU_kernel_factor   amesos_klu_kernel_factor

Definition at line 123 of file amesos_klu_version.h.

#define KLU_lsolve   amesos_klu_lsolve

Definition at line 124 of file amesos_klu_version.h.

#define KLU_ltsolve   amesos_klu_ltsolve

Definition at line 125 of file amesos_klu_version.h.

#define KLU_usolve   amesos_klu_usolve

Definition at line 126 of file amesos_klu_version.h.

#define KLU_utsolve   amesos_klu_utsolve

Definition at line 127 of file amesos_klu_version.h.

#define KLU_kernel   amesos_klu_kernel

Definition at line 128 of file amesos_klu_version.h.

#define KLU_valid   amesos_klu_valid

Definition at line 129 of file amesos_klu_version.h.

#define KLU_valid_LU   amesos_klu_valid_LU

Definition at line 130 of file amesos_klu_version.h.

#define KLU_sort   amesos_klu_sort

Definition at line 131 of file amesos_klu_version.h.

#define KLU_rgrowth   amesos_klu_rgrowth

Definition at line 132 of file amesos_klu_version.h.

#define KLU_rcond   amesos_klu_rcond

Definition at line 133 of file amesos_klu_version.h.

#define KLU_extract   amesos_klu_extract

Definition at line 134 of file amesos_klu_version.h.

#define KLU_condest   amesos_klu_condest

Definition at line 135 of file amesos_klu_version.h.

#define KLU_flops   amesos_klu_flops

Definition at line 136 of file amesos_klu_version.h.

#define KLU_analyze   amesos_klu_analyze

Definition at line 169 of file amesos_klu_version.h.

#define KLU_analyze_given   amesos_klu_analyze_given

Definition at line 170 of file amesos_klu_version.h.

#define KLU_alloc_symbolic   amesos_klu_alloc_symbolic

Definition at line 171 of file amesos_klu_version.h.

#define KLU_free_symbolic   amesos_klu_free_symbolic

Definition at line 172 of file amesos_klu_version.h.

#define KLU_defaults   amesos_klu_defaults

Definition at line 173 of file amesos_klu_version.h.

#define KLU_free   amesos_klu_free

Definition at line 174 of file amesos_klu_version.h.

#define KLU_malloc   amesos_klu_malloc

Definition at line 175 of file amesos_klu_version.h.

#define KLU_realloc   amesos_klu_realloc

Definition at line 176 of file amesos_klu_version.h.

#define KLU_add_size_t   amesos_klu_add_size_t

Definition at line 177 of file amesos_klu_version.h.

#define KLU_mult_size_t   amesos_klu_mult_size_t

Definition at line 178 of file amesos_klu_version.h.

#define KLU_symbolic   klu_symbolic

Definition at line 180 of file amesos_klu_version.h.

#define KLU_numeric   klu_numeric

Definition at line 181 of file amesos_klu_version.h.

#define KLU_common   klu_common

Definition at line 182 of file amesos_klu_version.h.

#define BTF_order   amesos_btf_order

Definition at line 184 of file amesos_klu_version.h.

#define BTF_strongcomp   amesos_btf_strongcomp

Definition at line 185 of file amesos_klu_version.h.

#define AMD_order   amesos_amd_order

Definition at line 187 of file amesos_klu_version.h.

#define COLAMD   amesos_colamd

Definition at line 188 of file amesos_klu_version.h.

#define COLAMD_recommended   amesos_colamd_recommended

Definition at line 189 of file amesos_klu_version.h.

#define SCALAR_IS_NAN (   x)    ((x) != (x))

Definition at line 221 of file amesos_klu_version.h.

#define SCALAR_IS_ZERO (   x)    ((x) == 0.)

Definition at line 222 of file amesos_klu_version.h.

#define SCALAR_IS_NONZERO (   x)    ((x) != 0.)

Definition at line 223 of file amesos_klu_version.h.

#define SCALAR_IS_LTZERO (   x)    ((x) < 0.)

Definition at line 224 of file amesos_klu_version.h.

#define SCALAR_ABS (   x)    ((SCALAR_IS_LTZERO (x)) ? -(x) : (x))

Definition at line 228 of file amesos_klu_version.h.

#define PRINT_SCALAR (   a)

Definition at line 232 of file amesos_klu_version.h.

#define Entry   double

Definition at line 254 of file amesos_klu_version.h.

#define SPLIT (   s)    (1)

Definition at line 256 of file amesos_klu_version.h.

#define REAL (   c)    (c)

Definition at line 257 of file amesos_klu_version.h.

#define IMAG (   c)    (0.)

Definition at line 258 of file amesos_klu_version.h.

#define ASSIGN (   c,
  s1,
  s2,
  p,
  split 
)    { (c) = (s1)[p] ; }

Definition at line 259 of file amesos_klu_version.h.

#define CLEAR (   c)    { (c) = 0. ; }

Definition at line 260 of file amesos_klu_version.h.

#define CLEAR_AND_INCREMENT (   p)    { *p++ = 0. ; }

Definition at line 261 of file amesos_klu_version.h.

#define IS_NAN (   a)    SCALAR_IS_NAN (a)

Definition at line 262 of file amesos_klu_version.h.

#define IS_ZERO (   a)    SCALAR_IS_ZERO (a)

Definition at line 263 of file amesos_klu_version.h.

#define IS_NONZERO (   a)    SCALAR_IS_NONZERO (a)

Definition at line 264 of file amesos_klu_version.h.

#define SCALE_DIV (   c,
 
)    { (c) /= (s) ; }

Definition at line 265 of file amesos_klu_version.h.

#define SCALE_DIV_ASSIGN (   a,
  c,
 
)    { a = c / s ; }

Definition at line 266 of file amesos_klu_version.h.

#define SCALE (   c,
 
)    { (c) *= (s) ; }

Definition at line 267 of file amesos_klu_version.h.

#define ASSEMBLE (   c,
 
)    { (c) += (a) ; }

Definition at line 268 of file amesos_klu_version.h.

#define ASSEMBLE_AND_INCREMENT (   c,
 
)    { (c) += *p++ ; }

Definition at line 269 of file amesos_klu_version.h.

#define DECREMENT (   c,
 
)    { (c) -= (a) ; }

Definition at line 270 of file amesos_klu_version.h.

#define MULT (   c,
  a,
 
)    { (c) = (a) * (b) ; }

Definition at line 271 of file amesos_klu_version.h.

#define MULT_CONJ (   c,
  a,
 
)    { (c) = (a) * (b) ; }

Definition at line 272 of file amesos_klu_version.h.

#define MULT_SUB (   c,
  a,
 
)    { (c) -= (a) * (b) ; }

Definition at line 273 of file amesos_klu_version.h.

#define MULT_SUB_CONJ (   c,
  a,
 
)    { (c) -= (a) * (b) ; }

Definition at line 274 of file amesos_klu_version.h.

#define DIV (   c,
  a,
 
)    { (c) = (a) / (b) ; }

Definition at line 275 of file amesos_klu_version.h.

#define RECIPROCAL (   c)    { (c) = 1.0 / (c) ; }

Definition at line 276 of file amesos_klu_version.h.

#define DIV_CONJ (   c,
  a,
 
)    { (c) = (a) / (b) ; }

Definition at line 277 of file amesos_klu_version.h.

#define APPROX_ABS (   s,
 
)    { (s) = SCALAR_ABS (a) ; }

Definition at line 278 of file amesos_klu_version.h.

#define ABS (   s,
 
)    { (s) = SCALAR_ABS (a) ; }

Definition at line 279 of file amesos_klu_version.h.

#define PRINT_ENTRY (   a)    PRINT_SCALAR (a)

Definition at line 280 of file amesos_klu_version.h.

#define CONJ (   a,
 
)    a = x

Definition at line 281 of file amesos_klu_version.h.

#define MULTSUB_FLOPS   2.

Definition at line 284 of file amesos_klu_version.h.

#define DIV_FLOPS   1.

Definition at line 285 of file amesos_klu_version.h.

#define ABS_FLOPS   0.

Definition at line 286 of file amesos_klu_version.h.

#define ASSEMBLE_FLOPS   1.

Definition at line 287 of file amesos_klu_version.h.

#define DECREMENT_FLOPS   1.

Definition at line 288 of file amesos_klu_version.h.

#define MULT_FLOPS   1.

Definition at line 289 of file amesos_klu_version.h.

#define SCALE_FLOPS   1.

Definition at line 290 of file amesos_klu_version.h.


Typedef Documentation

typedef double Unit

Definition at line 253 of file amesos_klu_version.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines