Class PsyComplex

    • Constructor Detail

      • PsyComplex

        public PsyComplex​(double re,
                          double im)
      • PsyComplex

        public PsyComplex​(double re)
    • Method Detail

      • realValue

        public double realValue()
        Description copied from interface: PsyNumeric
        Returns the real part of this object.
        Specified by:
        realValue in interface PsyNumeric
        Returns:
        the real part.
      • imagValue

        public double imagValue()
        Description copied from interface: PsyNumeric
        Returns the real part of this object.
        Specified by:
        imagValue in interface PsyNumeric
        Returns:
        the imaginary part.
      • psyAbs

        public PsyReal psyAbs()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric absolute value of this object.
        Specified by:
        psyAbs in interface PsyNumeric
        Returns:
        a Ψ-numeric absolute value.
      • psyRealPart

        public PsyReal psyRealPart()
        Returns a Ψ-real real part of this object.
        Returns:
        a Ψ-real real part.
      • psyImagPart

        public PsyReal psyImagPart()
        Returns a Ψ-real imaginary part of this object.
        Returns:
        a Ψ-real imaginary part.
      • psyArg

        public PsyReal psyArg()
        Returns a Ψ-real representing the complex argument of this object. The argument belongs to the range (−π; π].
        Returns:
        a Ψ-real argument.
      • psyConjugate

        public PsyComplex psyConjugate()
        Returns a Ψ-complex representing the complex conjugate of this object.
        Returns:
        a Ψ-complex conjugate of this number.
      • psyNeg

        public PsyComplex psyNeg()
        Description copied from interface: PsyAdditive
        Returns a Ψ-additive representing the result of arithmetic negation of this object.
        Specified by:
        psyNeg in interface PsyAdditive<PsyNumeric>
        Returns:
        a negation.
      • psyAdd

        public PsyComplex psyAdd​(PsyNumeric oNumeric)
        Description copied from interface: PsyAdditive
        Returns a Ψ-additive representing the result of arithmetic addition of given object to this object.
        Specified by:
        psyAdd in interface PsyAdditive<PsyNumeric>
        Parameters:
        oNumeric - given object.
        Returns:
        a sum.
      • psySub

        public PsyComplex psySub​(PsyNumeric oNumeric)
        Description copied from interface: PsyAdditive
        Returns a Ψ-additive representing the result of arithmetic subtraction of given object from this object.
        Specified by:
        psySub in interface PsyAdditive<PsyNumeric>
        Parameters:
        oNumeric - given object.
        Returns:
        a difference.
      • psyExp

        public PsyComplex psyExp()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric representing the exponent of this object.
        Specified by:
        psyExp in interface PsyNumeric
        Returns:
        a Ψ-numeric exponent.
      • psyCos

        public PsyComplex psyCos()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric representing the cosine of this object.
        Specified by:
        psyCos in interface PsyNumeric
        Returns:
        a Ψ-numeric cosine.
      • psySin

        public PsyComplex psySin()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric representing the sine of this object.
        Specified by:
        psySin in interface PsyNumeric
        Returns:
        a Ψ-numeric sine.
      • psyLog

        public PsyComplex psyLog()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric representing the natural logarithm of this object.
        Specified by:
        psyLog in interface PsyNumeric
        Returns:
        a Ψ-numeric logarithm. value.
      • psyAcos

        public PsyComplex psyAcos()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric representing the arc cosine of this object.
        Specified by:
        psyAcos in interface PsyNumeric
        Returns:
        a Ψ-numeric arc cosine.
      • psyAsin

        public PsyComplex psyAsin()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric representing the arc sine of this object.
        Specified by:
        psyAsin in interface PsyNumeric
        Returns:
        a Ψ-numeric arc sine.
      • psyAtan

        public PsyComplex psyAtan()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric representing the arc tangent of this object.
        Specified by:
        psyAtan in interface PsyNumeric
        Returns:
        a Ψ-numeric arcc tangent.
      • psySqrt

        public PsyComplex psySqrt()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric representing the square root of this object.
        Specified by:
        psySqrt in interface PsyNumeric
        Returns:
        a Ψ-numeric square root of this number.
      • psyCbrt

        public PsyComplex psyCbrt()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric representing the cubic root of this object.
        Specified by:
        psyCbrt in interface PsyNumeric
        Returns:
        a Ψ-numeric cubic root of this number.
      • psyCosh

        public PsyComplex psyCosh()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric representing the hyperbolic cosine of this object.
        Specified by:
        psyCosh in interface PsyNumeric
        Returns:
        a Ψ-numeric hyperbolic cosine of this number.
      • psyTan

        public PsyComplex psyTan()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric representing the tangent of this object.
        Specified by:
        psyTan in interface PsyNumeric
        Returns:
        a Ψ-numeric tangent.
      • psySinh

        public PsyComplex psySinh()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric representing the hyperbolic sine of this object.
        Specified by:
        psySinh in interface PsyNumeric
        Returns:
        a Ψ-numeric hyperbolic sine of this number.
      • psyTanh

        public PsyComplex psyTanh()
        Description copied from interface: PsyNumeric
        Returns a Ψ-numeric representing the hyperbolic tangent of this object.
        Specified by:
        psyTanh in interface PsyNumeric
        Returns:
        a Ψ-numeric hyperbolic tangent of this number.
      • psyFromPolar

        public static PsyComplex psyFromPolar​(double abs,
                                              double arg)