LADEL main
Sparse LDL factorization package with rank 1 and rowadd/rowdel updates
Functions
ladel_debug_print.h File Reference

Detailed Description

Routines to print out matrices and vectors.

Author
Ben Hermans

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.

#include "ladel_global.h"
#include "ladel_types.h"
+ Include dependency graph for ladel_debug_print.h:
+ This graph shows which files directly or indirectly include this file:

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...
 

Function Documentation

◆ ladel_print_dense_int_vector_matlab()

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.

Parameters
xVector to be printed
lenLength of the vector to be printed

Definition at line 57 of file ladel_debug_print.c.

◆ ladel_print_dense_vector_matlab()

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.

Parameters
xVector to be printed
lenLength of the vector to be printed

Definition at line 48 of file ladel_debug_print.c.

+ Here is the caller graph for this function:

◆ ladel_print_factor_matlab()

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.

Parameters
LDFactor to be printed

Definition at line 35 of file ladel_debug_print.c.

+ Here is the call graph for this function:

◆ ladel_print_set()

void ladel_print_set ( ladel_set set)

Print the content of an index set.

Parameters
setSet to be printed

Definition at line 66 of file ladel_debug_print.c.

◆ ladel_print_sparse_matrix_entries()

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.

Parameters
MMatrix to be printed

Definition at line 21 of file ladel_debug_print.c.

◆ ladel_print_sparse_matrix_matlab()

void ladel_print_sparse_matrix_matlab ( ladel_sparse_matrix M)

Prints output that can be copied into Matlab to retrieve the given matrix.

Parameters
MMatrix to be printed

Definition at line 7 of file ladel_debug_print.c.