Interface NormedVectorSpace<T,​N extends java.lang.Comparable<N>>

    • Method Detail

      • isSmall

        default boolean isSmall​(double comparedTo)
        Parameters:
        comparedTo - What to compare with
        Returns:
        true if this is small compared to the magnitude of the input reference value.
      • norm

        double norm()
        this == this.signum().multiply(this.norm())
        Returns:
        The norm
      • signum

        T signum()
        this == this.signum().multiply(this.norm())
        Returns:
        A unit "vector"