Uses of Class
com.irurueta.algebra.Complex

Packages that use Complex
Package
Description
This package contains classes related to algebra, such as Matrix class to contains matrices data and simple operations or Complex to handle computations with Complex numbers.
  • Uses of Complex in com.irurueta.algebra

    Methods in com.irurueta.algebra that return Complex
    Modifier and Type
    Method
    Description
    Complex.addAndReturnNew(Complex other)
    Adds this instance to provided complex and returns the result as a new instance.
    Complex.clone()
    Makes a copy of this instance having the same real and imaginary parts.
    Computes the complex conjugate of this instance and returns the result as a new instance.
    Complex.divideAndReturnNew(Complex other)
    Divides this instance by provided instance and returns the result as a new instance.
    static Complex
    ArrayUtils.dotProduct(Complex[] firstOperand, Complex[] secondOperand)
    Computes the dot product of provided arrays as the sum of the product of the elements of both arrays
    Multiplies provided instance with this instance and returns the result as a new instance.
    static Complex[]
    ArrayUtils.multiplyByScalarAndReturnNew(Complex[] inputArray, double scalar)
    Multiplies values in provided array by provided scalar value and returns the result in a new array.
    Complex.multiplyByScalarAndReturnNew(double scalar)
    Multiplies this instance by provided scalar value (multiplying both real and imaginary parts by provided value) and returns the result as a new instance.
    Complex.powAndReturnNew(double exponent)
    Computes the power of this instance by provided exponent and returns the result as a new instance.
    static Complex[]
    ArrayUtils.reverseAndReturnNew(Complex[] v)
    Returns a new array containing provided array having its elements in reversed order.
    Computes the squared root of this instance and returns the result as a new instance.
    static Complex[]
    ArrayUtils.subtractAndReturnNew(Complex[] firstOperand, Complex[] secondOperand)
    Subtracts provided operands and returns the result as a new array instance.
    Subtracts provided instance from this instance and returns the result as a new instance
    static Complex[]
    ArrayUtils.sumAndReturnNew(Complex[] firstOperand, Complex[] secondOperand)
    Sums provided operands and returns the result as a new array instance.
    Methods in com.irurueta.algebra with parameters of type Complex
    Modifier and Type
    Method
    Description
    void
    Complex.add(Complex other)
    Adds provided complex into this instance
    void
    Complex.add(Complex other, Complex result)
    Adds this instance with provided complex value and stores the result in provided instance
    Complex.addAndReturnNew(Complex other)
    Adds this instance to provided complex and returns the result as a new instance.
    void
    Complex.conjugate(Complex result)
    Computes the complex conjugate of this instance and stores the result into provided complex instance.
    void
    Complex.copyFrom(Complex value)
    Copies provided value into current instance.
    void
    Complex.divide(Complex other)
    Divides this instance by provided complex.
    void
    Complex.divide(Complex other, Complex result)
    Divides this instance by provided instance and stores the result in provided instance.
    Complex.divideAndReturnNew(Complex other)
    Divides this instance by provided instance and returns the result as a new instance.
    static Complex
    ArrayUtils.dotProduct(Complex[] firstOperand, Complex[] secondOperand)
    Computes the dot product of provided arrays as the sum of the product of the elements of both arrays
    boolean
    Complex.equals(Complex other, double tolerance)
    Determines whether two Complex objects are equal or not up to a certain level of tolerance in both their real and imaginary parts.
    private static void
    ArrayUtils.internalMultiplyByScalar(Complex[] inputArray, double scalar, Complex[] result)
    Internal method that multiplied by scalar provided input array without comparing length of input array and result array.
    private static void
    ArrayUtils.internalSubtract(Complex[] firstOperand, Complex[] secondOperand, Complex[] result)
    Subtracts provided operands arrays and stores the result in provided result array (i.e. result = firstOperand - secondOperand).
    private static void
    ArrayUtils.internalSum(Complex[] firstOperand, Complex[] secondOperand, Complex[] result)
    Sums provided operands arrays and stores the result in provided result array (i.e. result = firstOperand + secondOperand).
    void
    Complex.multiply(Complex other)
    Multiplies provided complex with this instance.
    void
    Complex.multiply(Complex other, Complex result)
    Multiplies this instance with provided instance and stores the result in provided instance.
    Multiplies provided instance with this instance and returns the result as a new instance.
    static void
    ArrayUtils.multiplyByScalar(Complex[] inputArray, double scalar, Complex[] result)
    Multiplies values in provided input array by provided scalar value and stores the result in provided result array.
    void
    Complex.multiplyByScalar(double scalar, Complex result)
    Multiplies this instance by provided scalar value (multiplying both real and imaginary parts by provided value) and stores the result in provided complex instance.
    static Complex[]
    ArrayUtils.multiplyByScalarAndReturnNew(Complex[] inputArray, double scalar)
    Multiplies values in provided array by provided scalar value and returns the result in a new array.
    void
    Complex.pow(double exponent, Complex result)
    Computes the power of this instance by provided exponent and stores the result in provided instance.
    static void
    ArrayUtils.reverse(Complex[] v)
    Reverses provided array.
    static void
    ArrayUtils.reverse(Complex[] v, Complex[] result)
    Reverses the order of elements in the array.
    static Complex[]
    ArrayUtils.reverseAndReturnNew(Complex[] v)
    Returns a new array containing provided array having its elements in reversed order.
    void
    Complex.sqrt(Complex result)
    Computes the squared root of this instance and returns the result as a new instance.
    static void
    ArrayUtils.subtract(Complex[] firstOperand, Complex[] secondOperand, Complex[] result)
    Subtracts provided operands arrays and stores the result in provided result array (i.e. result = firstOperand - secondOperand).
    void
    Complex.subtract(Complex other)
    Subtracts provided complex from this instance.
    void
    Complex.subtract(Complex other, Complex result)
    Subtracts provided instance from this instance and stores the result in provided instance.
    static Complex[]
    ArrayUtils.subtractAndReturnNew(Complex[] firstOperand, Complex[] secondOperand)
    Subtracts provided operands and returns the result as a new array instance.
    Subtracts provided instance from this instance and returns the result as a new instance
    static void
    ArrayUtils.sum(Complex[] firstOperand, Complex[] secondOperand, Complex[] result)
    Sums provided operands arrays and stores the result in provided result array (i.e. result = firstOperand + secondOperand).
    static Complex[]
    ArrayUtils.sumAndReturnNew(Complex[] firstOperand, Complex[] secondOperand)
    Sums provided operands and returns the result as a new array instance.
    Constructors in com.irurueta.algebra with parameters of type Complex
    Modifier
    Constructor
    Description
     
    Complex(Complex initValue)
    Creates new Complex number by copying provided value.