diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2016-05-16 18:47:09 +0200 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2016-05-16 18:47:09 +0200 |
| commit | 044dc5a93c33d7aa4c9c98a626890c16446a56fc (patch) | |
| tree | 23cc17a595d36a35ad9cb50e3ab18c2956b5f65c /src/gensvm_matrix.c | |
| parent | Move includes to header (diff) | |
| download | gensvm-044dc5a93c33d7aa4c9c98a626890c16446a56fc.tar.gz gensvm-044dc5a93c33d7aa4c9c98a626890c16446a56fc.zip | |
major refactor of the code
Diffstat (limited to 'src/gensvm_matrix.c')
| -rw-r--r-- | src/gensvm_matrix.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/gensvm_matrix.c b/src/gensvm_matrix.c deleted file mode 100644 index c2e5986..0000000 --- a/src/gensvm_matrix.c +++ /dev/null @@ -1,38 +0,0 @@ -/** - * @file gensvm_matrix.c - * @author Gertjan van den Burg - * @date August, 2013 - * @brief Functions facilitating matrix access - * - * @details - * The functions contained in this file are used when - * accessing or writing to matrices. Seperate functions - * exist of adding and multiplying existing matrix - * elements, to ensure this is done in place. - * - */ - -#include "gensvm_matrix.h" -#include "gensvm_util.h" - -/** - * @brief print a matrix - * - * @details - * Debug function to print a matrix - * - * @param[in] M matrix - * @param[in] rows number of rows of M - * @param[in] cols number of columns of M - */ -void print_matrix(double *M, long rows, long cols) -{ - long i, j; - - for (i=0; i<rows; i++) { - for (j=0; j<cols; j++) - note("%+6.6f ", matrix_get(M, cols, i, j)); - note("\n"); - } - note("\n"); -} |
