Interface Norm<T>

    • Method Summary

      Modifier and Type Method Description
      double distance​(T obj1, T obj2)
      The distance between the two object, i.e.
      double norm​(T obj)
      Returns the norm of the given object
    • Method Detail

      • norm

        double norm​(T obj)
        Returns the norm of the given object
        Parameters:
        obj - some object
        Returns:
        the norm of the object
      • distance

        double distance​(T obj1,
                        T obj2)
        The distance between the two object, i.e. the norm of the difference vector.
        Parameters:
        obj1 - some object
        obj2 - some object
        Returns:
        the distance between the two objects