Package org.ejml.data

Class ComplexPolar_F32


  • 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

    • Field Detail

      • r

        public float r
      • theta

        public float theta
    • Constructor Detail

      • ComplexPolar_F32

        public ComplexPolar_F32​(float r,
                                float theta)
      • ComplexPolar_F32

        public ComplexPolar_F32​(Complex_F32 n)
      • ComplexPolar_F32

        public ComplexPolar_F32()
    • Method Detail

      • getR

        public float getR()
      • setR

        public void setR​(float r)
      • getTheta

        public float getTheta()
      • setTheta

        public void setTheta​(float theta)
      • toString

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