From 6e3b22ed8ece70539b6966107342ab8122320a24 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 17 Oct 2016 15:40:33 +0200 Subject: minor documentation fixes --- include/gensvm_sparse.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'include/gensvm_sparse.h') diff --git a/include/gensvm_sparse.h b/include/gensvm_sparse.h index bac576a..80945b2 100644 --- a/include/gensvm_sparse.h +++ b/include/gensvm_sparse.h @@ -41,11 +41,7 @@ * Wikipedia for * more details. The total storage requirement for this format is * 2*nnz+n_row+1, so it only makes sense to use this format if the number of - * nonzeros is smaller than @f$(n(m - 1) - 1)/2@f$. - * - * @note - * We use @f$n@f$ for rows, and @f$m@f$ for columns, to conform to GenSVM - * notation. This is in exact contrast with the Wikipedia page. + * nonzeros is smaller than @f$(n_{row}(n_{col} - 1) - 1)/2@f$. * * @param nnz number of nonzero elements * @param n_row rows of the matrix @@ -65,7 +61,7 @@ struct GenSparse { double *values; ///< actual nonzero values, should be of length nnz int *ia; - ///< cumulative row lengths, should be of length n+1 + ///< cumulative row lengths, should be of length n_row+1 int *ja; ///< column indices, should be of length nnz }; -- cgit v1.2.3