Go to the documentation of this file.
11 #ifndef ma86_default_control
12 #define ma86_control ma86_control_d
13 #define ma86_info ma86_info_d
14 #define ma86_default_control ma86_default_control_d
15 #define ma86_analyse ma86_analyse_d
16 #define ma86_factor ma86_factor_d
17 #define ma86_factor_solve ma86_factor_solve_d
18 #define ma86_solve ma86_solve_d
19 #define ma86_finalise ma86_finalise_d
long num_flops
Number of flops for factor.
ma86realtype_d_ small_
Pivots less than small are treated as zero.
int pool_size
Size of task pool arrays.
ma86realtype_d_ u
Pivot tolerance.
int f_arrays
Treat arrays as 1-based (Fortran) if true or 0-based (C) if false.
int detsign
Holds sign of determinant (+/-1 or 0)
int matrix_rank
Rank of matrix.
void ma86_analyse_d(const int n, const int ptr[], const int row[], int order[], void **keep, const struct ma86_control_d *control, struct ma86_info_d *info)
Analyse the sparsity pattern and prepare for factorization.
ma86realtype_d_ detlog
Holds logarithm of abs det A (or 0)
int stat
STAT value on error return -1.
int unit_error
unit for error messages
int maxdepth
Maximum depth of the tree.
long num_factor
Number of entries in the factor.
int num_delay
Number of delayed pivots.
int unit_warning
unit for warning messages
data type for returning information to user
void ma86_factor_solve_d(const int n, const int ptr[], const int row[], const ma86pkgtype_d_ val[], const int order[], void **keep, const struct ma86_control_d *control, struct ma86_info_d *info, const int nrhs, const int ldx, ma86pkgtype_d_ x[], const ma86realtype_d_ scale[])
To factorize the matrix AND solve AX = B.
int pool_size
Maximum size of task pool used.
void ma86_factor_d(const int n, const int ptr[], const int row[], const ma86pkgtype_d_ val[], const int order[], void **keep, const struct ma86_control_d *control, struct ma86_info_d *info, const ma86realtype_d_ scale[])
To factorize the matrix.
int num_nodes
Number of nodes.
int diagnostics_level
Controls diagnostic printing.
int num_two
Number of 2x2 pivots.
ma86realtype_d_ usmall
smallest threshold parameter used
int num_perturbed
Number of perturbed pivots.
int num_nothresh
Number of pivots not satisfying u.
int nemin
Node amalgamation parameter.
ma86realtype_d_ static_
Control static pivoting.
int flag
Error return flag (0 on success)
void ma86_solve_d(const int job, const int nrhs, const int ldx, ma86pkgtype_d_ *x, const int order[], void **keep, const struct ma86_control_d *control, struct ma86_info_d *info, const ma86realtype_d_ scale[])
To solve AX = B using the computed factors.
int action
Keep going even if matrix is singular if true, or abort if false.
void ma86_default_control_d(struct ma86_control_d *control)
Initialise control with default values.
int unit_diagnostics
unit for diagnostic messages
int num_neg
Number of negative pivots.
int nbi
Inner block size for use with ma64.
int scaling
Scaling algorithm to use.
Data type for user controls.
ma86realtype_d_ umin
Minimum pivot tolerance.
void ma86_finalise_d(void **keep, const struct ma86_control_d *control)
To clean up memory in keep.