From 7eb19c47c07c5187ada0a79db7addde1b5f62572 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 30 Sep 2016 20:27:26 +0200 Subject: Rewrite UU matrix to be K*K*(K-1) instead of n*K*(K-1) significant memory reduction by turning the 3D UU matrix into a 2D block matrix, with significantly less dimensions --- include/gensvm_simplex.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/gensvm_simplex.h') diff --git a/include/gensvm_simplex.h b/include/gensvm_simplex.h index d774afa..4f8a475 100644 --- a/include/gensvm_simplex.h +++ b/include/gensvm_simplex.h @@ -10,9 +10,10 @@ #define GENSVM_SIMPLEX_H // includes -#include "gensvm_globals.h" +#include "gensvm_base.h" // forward declarations -void gensvm_simplex(long K, double *U); +void gensvm_simplex(struct GenModel *model); +void gensvm_simplex_diff(struct GenModel *model); #endif -- cgit v1.2.3