public class BigComplex
extends java.lang.Object
| Constructor | Description |
|---|---|
BigComplex() |
Default ctor equivalent to zero.
|
BigComplex(double x,
double y) |
ctor with real and imaginary parts
|
BigComplex(java.math.BigDecimal x) |
ctor with real part.
|
BigComplex(java.math.BigDecimal x,
java.math.BigDecimal y) |
ctor with real and imaginary parts
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
toString() |
Human-readable Fortran-type display
|
java.lang.String |
toString(java.math.MathContext mc) |
Human-readable Fortran-type display
|
public BigComplex()
public BigComplex(java.math.BigDecimal x,
java.math.BigDecimal y)
x - real party - imaginary partpublic BigComplex(java.math.BigDecimal x)
x - real part.
The imaginary part is set to zero.public BigComplex(double x,
double y)
x - real party - imaginary partpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.math.MathContext mc)