[][src]Crate suitesparse_camd_sys

FFI bindings to the SuiteSparse component CAMD

For a static build activate the "static" feature, which builds CAMD from source and includes this statically.

Constants

CAMD_AGGRESSIVE
CAMD_CONTROL
CAMD_DENSE
CAMD_DMAX
CAMD_INFO
CAMD_INVALID
CAMD_LNZ
CAMD_MEMORY
CAMD_N
CAMD_NCMPA
CAMD_NDENSE
CAMD_NDIV
CAMD_NMULTSUBS_LDL
CAMD_NMULTSUBS_LU
CAMD_NZ
CAMD_NZDIAG
CAMD_NZ_A_PLUS_AT
CAMD_OK
CAMD_OK_BUT_JUMBLED
CAMD_OUT_OF_MEMORY
CAMD_STATUS
CAMD_SYMMETRY

Functions

camd_control

Pretty print the control array of size CAMD_CONTROL

camd_cvalid

Check if the array constraint, of size n, is valid as input to camd_order. Returns 1 if valid, 0 otherwise.

camd_defaults

Fill the control array of size CAMD_CONTROL with default values

camd_info

Pretty print the info array of size CAMD_INFO

camd_l_control

Pretty print the control array of size CAMD_CONTROL

camd_l_cvalid

Long version of camd_cvalid, see its documentation.

camd_l_defaults

Fill the control array of size CAMD_CONTROL with default values

camd_l_info

Pretty print the info array of size CAMD_INFO

camd_l_order

Long version of camd_order, see its documentation.

camd_l_valid

Long version of camd_valid, see its documentation.

camd_order

Find a permutation matrix P, represented by the permutation indices p, which reduces the fill-in of the symmetric sparse matrix A (represented by its index pointer ap and indices pointer ai) in Cholesky factorization (ie, the number of nonzeros of the Cholesky factorization of P A P^T is less than for the Cholesky factorization of A).

camd_valid

Checks if the matrix A represented by its index pointer array ap and its indices array ai is suitable to pass to camd_order.

Type Definitions

SuiteSparseInt
SuiteSparseLong