Documentation of 'org.ejml.ops.ComplexMath64F' Java class
ComplexMath64F
org.ejml.ops

Class ComplexMath64F



  • public class ComplexMath64F
    extends java.lang.Object
    Basic math operations on complex numbers.
    • Constructor Detail

      • ComplexMath64F

        public ComplexMath64F()
    • Method Detail

      • conj

        public static void conj(Complex64F input,
                                Complex64F conj)
        Complex conjugate
        Parameters:
        input - Input complex number
        conj - Complex conjugate of the input number
      • plus

        public static void plus(Complex64F a,
                                Complex64F b,
                                Complex64F result)

        Addition: result = a + b

        Parameters:
        a - Complex number. Not modified.
        b - Complex number. Not modified.
        result - Storage for output
      • minus

        public static void minus(Complex64F a,
                                 Complex64F b,
                                 Complex64F result)

        Subtraction: result = a - b

        Parameters:
        a - Complex number. Not modified.
        b - Complex number. Not modified.
        result - Storage for output
      • multiply

        public static void multiply(Complex64F a,
                                    Complex64F b,
                                    Complex64F result)

        Multiplication: result = a * b

        Parameters:
        a - Complex number. Not modified.
        b - Complex number. Not modified.
        result - Storage for output
      • divide

        public static void divide(Complex64F a,
                                  Complex64F b,
                                  Complex64F result)

        Division: result = a / b

        Parameters:
        a - Complex number. Not modified.
        b - Complex number. Not modified.
        result - Storage for output
      • convert

        public static void convert(Complex64F input,
                                   ComplexPolar64F output)

        Converts a complex number into polar notation.

        Parameters:
        input - Standard notation
        output - Polar notation
      • convert

        public static void convert(ComplexPolar64F input,
                                   Complex64F output)

        Converts a complex number in polar notation into standard notation.

        Parameters:
        input - Standard notation
        output - Polar notation
      • multiply

        public static void multiply(ComplexPolar64F a,
                                    ComplexPolar64F b,
                                    ComplexPolar64F result)
        Division in polar notation.
        Parameters:
        a - Complex number in polar notation. Not modified.
        b - Complex number in polar notation. Not modified.
        result - Storage for output.
      • divide

        public static void divide(ComplexPolar64F a,
                                  ComplexPolar64F b,
                                  ComplexPolar64F result)
        Division in polar notation.
        Parameters:
        a - Complex number in polar notation. Not modified.
        b - Complex number in polar notation. Not modified.
        result - Storage for output.
      • pow

        public static void pow(ComplexPolar64F a,
                               int N,
                               ComplexPolar64F result)
        Computes the power of a complex number in polar notation
        Parameters:
        a - Complex number
        N - Power it is to be multiplied by
        result - Result
      • root

        public static void root(ComplexPolar64F a,
                                int N,
                                int k,
                                ComplexPolar64F result)
        Computes the Nth root of a complex number in polar notation. There are N distinct Nth roots.
        Parameters:
        a - Complex number
        N - The root's magnitude
        k - Specifies which root. 0 ≤ k < N
        result - Computed root
      • root

        public static void root(Complex64F a,
                                int N,
                                int k,
                                Complex64F result)
        Computes the Nth root of a complex number. There are N distinct Nth roots.
        Parameters:
        a - Complex number
        N - The root's magnitude
        k - Specifies which root. 0 ≤ k < N
        result - Computed root
      • sqrt

        public static void sqrt(Complex64F input,
                                Complex64F root)
        Computes the square root of the complex number.
        Parameters:
        input - Input complex number.
        root - Output. The square root of the input

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.