Documentation of 'edu.jas.poly.Complex' Java class
Complex
edu.jas.poly

Class Complex<C extends RingElem<C>>

    • Constructor Detail

      • Complex

        public Complex(ComplexRing<C> ring,
                       C r,
                       C i)
        The constructor creates a Complex object from two C objects as real and imaginary part.
        Parameters:
        ring - factory for Complex objects.
        r - real part.
        i - imaginary part.
      • Complex

        public Complex(ComplexRing<C> ring,
                       C r)
        The constructor creates a Complex object from a C object as real part, the imaginary part is set to 0.
        Parameters:
        r - real part.
      • Complex

        public Complex(ComplexRing<C> ring,
                       long r)
        The constructor creates a Complex object from a long element as real part, the imaginary part is set to 0.
        Parameters:
        r - real part.
      • Complex

        public Complex(ComplexRing<C> ring)
        The constructor creates a Complex object with real part 0 and imaginary part 0.
      • Complex

        public Complex(ComplexRing<C> ring,
                       java.lang.String s)
                throws java.lang.NumberFormatException
        The constructor creates a Complex object from a String representation.
        Parameters:
        s - string of a Complex.
        Throws:
        java.lang.NumberFormatException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.