diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2015-05-18 13:10:34 -0300 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2015-05-18 13:10:34 -0300 |
commit | aafcab1e7237d3ccbc80945eb8379a985d567a53 (patch) | |
tree | 3d41130be33ea023d11364f276ca07bcf8bd697d /mp.h | |
parent | 0b6df071d94ae8f7c9cdd3c96506a1420129e471 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |