Interface IScalarDistance

  • All Superinterfaces:
    org.api4.java.common.math.IMetric<java.lang.Double>

    public interface IScalarDistance
    extends org.api4.java.common.math.IMetric<java.lang.Double>
    Functional interface for the distance of two scalars.
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default double distance​(double a, double b)  
      • Methods inherited from interface org.api4.java.common.math.IMetric

        getDistance
    • Method Detail

      • distance

        default double distance​(double a,
                                double b)