13 for (col = 1; col <= M->
ncol; col++) {
28 for (col = 0; col < M->
ncol; col++) {
29 for(index = Mp[col]; index < Mp[col+1]; index++)
41 for (col = 1; col <= LD->
L->
ncol; col++)
51 for (k = 0; k < len; k++) {
60 for (k = 0; k < len; k++) {
#define LADEL_FOR(index, M, col)
Loop through a column of a sparse matrix.
void ladel_print_dense_vector_matlab(ladel_double *x, size_t len)
Prints output that can be copied into Matlab to retrieve the given double vector.
void ladel_print_sparse_matrix_entries(ladel_sparse_matrix *M)
Prints the contents of all entries in a matrix.
void ladel_print_factor_matlab(ladel_factor *LD)
Prints output that can be copied into Matlab to retrieve the given factor.
void ladel_print_sparse_matrix_matlab(ladel_sparse_matrix *M)
Prints output that can be copied into Matlab to retrieve the given matrix.
void ladel_print_dense_int_vector_matlab(ladel_int *x, size_t len)
Prints output that can be copied into Matlab to retrieve the given double vector.
void ladel_print_set(ladel_set *set)
Print the content of an index set.
Routines to print out matrices and vectors.
Memory allocation routines.
#define ladel_print
Print function.
Structures and types used in LADEL routines.
int64_t ladel_int
Type for integer numbers (default: int64_t)
double ladel_double
Type for floating point numbers (default: double)
Sparse matrix in compressed column storage.
ladel_int ncol
number of columns
ladel_double * x
numerical values (size nzmax)
ladel_int * p
column pointers (size ncol+1)
ladel_int nrow
number of rows
ladel_int * i
row pointers (size nzmax)
ladel_int max_size_set
Maximum (allocated) size of the list.
ladel_int * set
List of integers representing the set.
ladel_int size_set
Size of the list.
Factors of an factorization.
ladel_int ncol
number of columns in the analyzed matrix
ladel_sparse_matrix * L
L in LDL' factorization.
ladel_double * Dinv
D^-1 in LDL' factorization (stored as vector)