aboutsummaryrefslogtreecommitdiff
path: root/mp.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-05-18 13:10:34 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2015-05-18 13:10:34 -0300
commitaafcab1e7237d3ccbc80945eb8379a985d567a53 (patch)
tree3d41130be33ea023d11364f276ca07bcf8bd697d /mp.h
parent0b6df071d94ae8f7c9cdd3c96506a1420129e471 (diff)
ForceScheme now (hopefully) does not produce NaNs. Removed the Glyph class and placed all scatterplot drawing code inside the Scatterplot class.
Diffstat (limited to 'mp.h')
-rw-r--r--mp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mp.h b/mp.h
index b3f9c75..6508d9d 100644
--- a/mp.h
+++ b/mp.h
@@ -6,6 +6,6 @@ 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);
-arma::mat forceScheme(const arma::mat &D, arma::mat &Y, size_t maxIter = 20, double tol = 1e-3, double fraction = 0.25);
+arma::mat forceScheme(const arma::mat &D, arma::mat &Y, size_t maxIter = 20, double tol = 1e-3, double fraction = 8);
} // namespace mp