aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-11-16 11:34:32 +0100
committerSamuel Fadel <samuelfadel@gmail.com>2015-11-16 11:34:32 +0100
commit6942d8c4f847bf8ad8c5184d7d1b2ae341f01ba3 (patch)
tree4cb6500abaa2e0d651b8554fbad1081076563b85
parent17e9c0487a84b5291bef5142432b025237e7cf58 (diff)
Added PLMP to mp.h header.
-rw-r--r--mp.h3
-rw-r--r--plmp.cpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/mp.h b/mp.h
index fe98a1c..2f32c8e 100644
--- a/mp.h
+++ b/mp.h
@@ -24,6 +24,9 @@ void lamp(const arma::mat &X, const arma::uvec &sampleIndices, const arma::mat &
arma::mat plmp(const arma::mat &X, const arma::uvec &sampleIndices, const arma::mat &Ys);
void plmp(const arma::mat &X, const arma::uvec &sampleIndices, const arma::mat &Ys, arma::mat &Y);
+arma::mat pekalska(const arma::mat &D, const arma::uvec &sampleIndices, const arma::mat &Ys);
+void pekalska(const arma::mat &D, const arma::uvec &sampleIndices, const arma::mat &Ys, arma::mat &Y);
+
//arma::mat lsp(const arma::mat &X, const arma::uvec &sampleIndices, const arma::mat &Ys, int k = 15);
//void lsp(const arma::mat &X, const arma::uvec &sampleIndices, const arma::mat &Ys, arma::mat &Y, int k = 15);
diff --git a/plmp.cpp b/plmp.cpp
index 0ca1b83..a9f055e 100644
--- a/plmp.cpp
+++ b/plmp.cpp
@@ -1,4 +1,3 @@
-
#include "mp.h"
arma::mat mp::plmp(const arma::mat &X, const arma::uvec &sampleIndices, const arma::mat &Ys)