GenSVM
|
Header file for gensvm_debug.c. More...
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... | |
Header file for gensvm_debug.c.
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.
void gensvm_print_matrix | ( | double * | M, |
long | rows, | ||
long | cols | ||
) |
Print a dense matrix.
Debug function to print a matrix
[in] | M | matrix |
[in] | rows | number of rows of M |
[in] | cols | number of columns of M |
Definition at line 42 of file gensvm_debug.c.
void gensvm_print_sparse | ( | struct GenSparse * | A | ) |
Print a sparse matrix.
Debug function to print a GenSparse sparse matrix
[in] | A | a GenSparse matrix to print |
Definition at line 66 of file gensvm_debug.c.