GenSVM
Functions
gensvm_debug.h File Reference

Header file for gensvm_debug.c. More...

#include "gensvm_print.h"
#include "gensvm_sparse.h"
Include dependency graph for gensvm_debug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void gensvm_print_matrix (double *M, long rows, long cols)
 Print a dense matrix. More...
 
void gensvm_print_sparse (struct GenSparse *A)
 Print a sparse matrix. More...
 

Detailed Description

Header file for gensvm_debug.c.

Author
G.J.J. van den Burg
Date
2016-05-01

Contains defines useful for debugging.

This file is part of GenSVM.

GenSVM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

GenSVM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GenSVM. If not, see http://www.gnu.org/licenses/.

Definition in file gensvm_debug.h.

Function Documentation

◆ gensvm_print_matrix()

void gensvm_print_matrix ( double *  M,
long  rows,
long  cols 
)

Print a dense matrix.

Debug function to print a matrix

Parameters
[in]Mmatrix
[in]rowsnumber of rows of M
[in]colsnumber of columns of M

Definition at line 42 of file gensvm_debug.c.

Here is the call graph for this function:

◆ gensvm_print_sparse()

void gensvm_print_sparse ( struct GenSparse A)

Print a sparse matrix.

Debug function to print a GenSparse sparse matrix

Parameters
[in]Aa GenSparse matrix to print

Definition at line 66 of file gensvm_debug.c.

Here is the call graph for this function: