Documentation of 'cern.colt.matrix.Former' Java class
Former
cern.colt.matrix

Interface Former



  • public interface Former
    Formats a double or complex (double[]) into a string (like sprintf in C).
    See Also:
    Comparator, cern.colt, Sorting
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String form(double value)
      Formats a double into a string (like sprintf in C).
      java.lang.String form(double[] value)
      Formats a complex (double[]) into a string (like sprintf in C).
      java.lang.String form(float value)
      Formats a float into a string (like sprintf in C).
      java.lang.String form(float[] value)
      Formats a complex (float[]) into a string (like sprintf in C).
      java.lang.String form(int value)
      Formats an int into a string (like sprintf in C).
      java.lang.String form(long value)
      Formats an long into a string (like sprintf in C).
    • Method Detail

      • form

        java.lang.String form(double value)
        Formats a double into a string (like sprintf in C).
        Parameters:
        value - the number to format
        Returns:
        the formatted string
        Throws:
        java.lang.IllegalArgumentException - if bad argument
      • form

        java.lang.String form(float value)
        Formats a float into a string (like sprintf in C).
        Parameters:
        value - the number to format
        Returns:
        the formatted string
        Throws:
        java.lang.IllegalArgumentException - if bad argument
      • form

        java.lang.String form(int value)
        Formats an int into a string (like sprintf in C).
        Parameters:
        value - the number to format
        Returns:
        the formatted string
        Throws:
        java.lang.IllegalArgumentException - if bad argument
      • form

        java.lang.String form(long value)
        Formats an long into a string (like sprintf in C).
        Parameters:
        value - the number to format
        Returns:
        the formatted string
        Throws:
        java.lang.IllegalArgumentException - if bad argument
      • form

        java.lang.String form(double[] value)
        Formats a complex (double[]) into a string (like sprintf in C).
        Parameters:
        value - the number to format
        Returns:
        the formatted string
        Throws:
        java.lang.IllegalArgumentException - if bad argument
      • form

        java.lang.String form(float[] value)
        Formats a complex (float[]) into a string (like sprintf in C).
        Parameters:
        value - the number to format
        Returns:
        the formatted string
        Throws:
        java.lang.IllegalArgumentException - if bad argument

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.