aboutsummaryrefslogtreecommitdiff
path: root/mp.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-05-22 18:40:07 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2015-05-22 18:40:07 -0300
commit6a7b60784a44013156382843a5e72af272810674 (patch)
treef5cfea6392033e1d4e228eb0f388b343434994ce /mp.h
parente8bb632cae4e7c9a320a3412cbd487f859ae104c (diff)
Improvements to UI and performance.
Diffstat (limited to 'mp.h')
-rw-r--r--mp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mp.h b/mp.h
index 6508d9d..996da87 100644
--- a/mp.h
+++ b/mp.h
@@ -6,6 +6,7 @@ static const double EPSILON = 1e-3;
double euclidean(const arma::rowvec &x1, const arma::rowvec &x2);
arma::mat dist(const arma::mat &X, double (*distCalc)(const arma::rowvec &, const arma::rowvec &) = euclidean);
arma::mat lamp(const arma::mat &X, const arma::uvec &sampleIndices, const arma::mat &Ys);
+void lamp(const arma::mat &X, const arma::uvec &sampleIndices, const arma::mat &Ys, arma::mat &Y);
arma::mat forceScheme(const arma::mat &D, arma::mat &Y, size_t maxIter = 20, double tol = 1e-3, double fraction = 8);
} // namespace mp