Routines to print out matrices and vectors.
The (majority of) routines here print output that can be entered into Matlab for further inspection of the matrix/vector.
Definition in file ladel_debug_print.h.
Go to the source code of this file.
Functions | |
void | ladel_print_sparse_matrix_matlab (ladel_sparse_matrix *M) |
Prints output that can be copied into Matlab to retrieve the given matrix. More... | |
void | ladel_print_sparse_matrix_entries (ladel_sparse_matrix *M) |
Prints the contents of all entries in a matrix. More... | |
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. More... | |
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. More... | |
void | ladel_print_factor_matlab (ladel_factor *LD) |
Prints output that can be copied into Matlab to retrieve the given factor. More... | |
void | ladel_print_set (ladel_set *set) |
Print the content of an index set. More... | |
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.
x | Vector to be printed |
len | Length of the vector to be printed |
Definition at line 57 of file ladel_debug_print.c.
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.
x | Vector to be printed |
len | Length of the vector to be printed |
Definition at line 48 of file ladel_debug_print.c.
void ladel_print_factor_matlab | ( | ladel_factor * | LD | ) |
Prints output that can be copied into Matlab to retrieve the given factor.
This function basically prints L and D_inv.
LD | Factor to be printed |
Definition at line 35 of file ladel_debug_print.c.
void ladel_print_set | ( | ladel_set * | set | ) |
Print the content of an index set.
set | Set to be printed |
Definition at line 66 of file ladel_debug_print.c.
void ladel_print_sparse_matrix_entries | ( | ladel_sparse_matrix * | M | ) |
Prints the contents of all entries in a matrix.
The matrix may have unused entries if the nz field is active. These entries are also printed by this function for inspection.
M | Matrix to be printed |
Definition at line 21 of file ladel_debug_print.c.
void ladel_print_sparse_matrix_matlab | ( | ladel_sparse_matrix * | M | ) |
Prints output that can be copied into Matlab to retrieve the given matrix.
M | Matrix to be printed |
Definition at line 7 of file ladel_debug_print.c.