public class ComplexPolar_F64
extends java.lang.Object
Complex_F64
number in polar notation.
z = r*(cos(θ) + i*sin(θ))
where r and θ are polar coordinate parameters
Constructor and Description |
---|
ComplexPolar_F64() |
ComplexPolar_F64(Complex_F64 n) |
ComplexPolar_F64(double r,
double theta) |
Modifier and Type | Method and Description |
---|---|
double |
getR() |
double |
getTheta() |
void |
setR(double r) |
void |
setTheta(double theta) |
Complex_F64 |
toStandard() |
java.lang.String |
toString() |
public ComplexPolar_F64(double r, double theta)
public ComplexPolar_F64(Complex_F64 n)
public ComplexPolar_F64()
public Complex_F64 toStandard()
public double getR()
public void setR(double r)
public double getTheta()
public void setTheta(double theta)
public java.lang.String toString()
toString
in class java.lang.Object