pub fn squareform_to_condensed(
matrix: &[Vec<f64>],
) -> Result<Vec<f64>, ErrorsJSL>Expand description
The condensed form of a square distance matrix (SciPy’s squareform in the other direction):
its entries above the diagonal, in row order. The matrix must be square and symmetric with a
zero diagonal.