Example usage for Java org.apache.commons.math3.complex ComplexFormat fields, constructors, methods, implement or subclass
The text is from its open source code.
ComplexFormat(String imaginaryCharacter, NumberFormat realFormat, NumberFormat imaginaryFormat) Create an instance with a custom imaginary character, a custom number format for the real part, and a custom number format for the imaginary part. | |
ComplexFormat() Create an instance with the default imaginary character, 'i', and the default number format for both real and imaginary parts. | |
ComplexFormat(NumberFormat format) Create an instance with a custom number format for both real and imaginary parts. | |
ComplexFormat(String imaginaryCharacter) Create an instance with a custom imaginary character, and the default number format for both real and imaginary parts. |
String | format(Complex c) This method calls #format(Object,StringBuffer,FieldPosition) . |
String | format(Double c) This method calls #format(Object,StringBuffer,FieldPosition) . |
ComplexFormat | getInstance() Returns the default complex format for the current locale. |
Complex | parse(String source) Parses a string to produce a Complex object. |