A library for working with phylogenetic and population genetic data.
v0.32.0
mds.hpp File Reference
#include "genesis/utils/containers/matrix.hpp"
#include <vector>

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::utils
 

Enumerations

enum  MdsAlgorithm { kUcf, kSmacof }
 Choice of algorithm to use for Multi-Dimensional Scaling (MDS). More...
 

Functions

Matrix< double > multi_dimensional_scaling (Matrix< double > const &distances, Matrix< double > const &initial_values, size_t dimensions=2, size_t iterations=100, MdsAlgorithm algorithm=MdsAlgorithm::kUcf)
 Multi-Dimensional Scaling (MDS). More...
 
Matrix< double > multi_dimensional_scaling (Matrix< double > const &distances, size_t dimensions=2, size_t iterations=100, MdsAlgorithm algorithm=MdsAlgorithm::kUcf)
 Multi-Dimensional Scaling (MDS). More...