Package org.ejml.data

Class ComplexPolar_F64


  • 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

    • Field Detail

      • r

        public double r
      • theta

        public double theta
    • Constructor Detail

      • ComplexPolar_F64

        public ComplexPolar_F64​(double r,
                                double theta)
      • ComplexPolar_F64

        public ComplexPolar_F64​(Complex_F64 n)
      • ComplexPolar_F64

        public ComplexPolar_F64()
    • Method Detail

      • getR

        public double getR()
      • setR

        public void setR​(double r)
      • getTheta

        public double getTheta()
      • setTheta

        public void setTheta​(double theta)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object