if (fListener != null) fListener.update(mds);
return mds.points();
}
public MultidimensionalScaling similarities(double[][] matrix) {
DenseMatrix d = SymmetricMatrix.fromSquare(matrix);
d.apply(Function.COSINE_TO_DISSIMILARITY);
fdistances = d;
return this;
}