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