public class DistanceMatrixUtils
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DistanceMatrixUtils() |
| Modifier and Type | Method and Description |
|---|---|
static DistanceMatrix |
minus(DistanceMatrix parent,
int taxaToRemove)
Returns a distance matrix with the specified taxa removed.
|
static double |
squaredDistance(DistanceMatrix mat1,
DistanceMatrix mat2,
boolean weighted)
compute squared distance to second distance matrix.
|
public static double squaredDistance(DistanceMatrix mat1, DistanceMatrix mat2, boolean weighted)
public static DistanceMatrix minus(DistanceMatrix parent, int taxaToRemove)