cern.colt.matrix
Interface Former
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.Stringform(double value)Formats a double into a string (like sprintf in C).java.lang.Stringform(double[] value)Formats a complex (double[]) into a string (like sprintf in C).java.lang.Stringform(float value)Formats a float into a string (like sprintf in C).java.lang.Stringform(float[] value)Formats a complex (float[]) into a string (like sprintf in C).java.lang.Stringform(int value)Formats an int into a string (like sprintf in C).java.lang.Stringform(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