Class MaximumNorm

    • Constructor Detail

      • MaximumNorm

        public MaximumNorm()
    • Method Detail

      • norm

        public double norm​(Vector<Double> obj)
        Description copied from interface: Norm
        Returns the norm of the given object
        Parameters:
        obj - some object
        Returns:
        the norm of the object
      • distance

        public double distance​(Vector<Double> obj1,
                               Vector<Double> obj2)
        Description copied from interface: Norm
        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