{
public ICoordinateTransform transform_minrmsd(final IDoubleArray Xref)
{
return new AbstractCoordinateTransform(1)
{
MinimalRMSDistance3D minrmsd = new MinimalRMSDistance3D(Xref.rows());
@Override
public void transform(IDoubleArray in, IDoubleArray out)
{
out.set(0, minrmsd.distance(Xref, in));
}
};
}