Java org.apache.commons.math3.complex ComplexFormat fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.complex ComplexFormat fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.complex ComplexFormat.

The text is from its open source code.

Constructor

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.

Method

Stringformat(Complex c)
This method calls #format(Object,StringBuffer,FieldPosition) .
Stringformat(Double c)
This method calls #format(Object,StringBuffer,FieldPosition) .
ComplexFormatgetInstance()
Returns the default complex format for the current locale.
Complexparse(String source)
Parses a string to produce a Complex object.