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 ComplexModifier and TypeMethodDescriptionComplex.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.Complex.conjugateAndReturnNew()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 ComplexArrayUtils.dotProduct(Complex[] firstOperand, Complex[] secondOperand) Computes the dot product of provided arrays as the sum of the product of the elements of both arraysComplex.multiplyAndReturnNew(Complex other) 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.Complex.sqrtAndReturnNew()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.Complex.subtractAndReturnNew(Complex other) Subtracts provided instance from this instance and returns the result as a new instancestatic 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 ComplexModifier and TypeMethodDescriptionvoidAdds provided complex into this instancevoidAdds this instance with provided complex value and stores the result in provided instanceComplex.addAndReturnNew(Complex other) Adds this instance to provided complex and returns the result as a new instance.voidComputes the complex conjugate of this instance and stores the result into provided complex instance.voidCopies provided value into current instance.voidDivides this instance by provided complex.voidDivides 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 ComplexArrayUtils.dotProduct(Complex[] firstOperand, Complex[] secondOperand) Computes the dot product of provided arrays as the sum of the product of the elements of both arraysbooleanDetermines whether two Complex objects are equal or not up to a certain level of tolerance in both their real and imaginary parts.private static voidArrayUtils.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 voidArrayUtils.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 voidArrayUtils.internalSum(Complex[] firstOperand, Complex[] secondOperand, Complex[] result) Sums provided operands arrays and stores the result in provided result array (i.e. result = firstOperand + secondOperand).voidMultiplies provided complex with this instance.voidMultiplies this instance with provided instance and stores the result in provided instance.Complex.multiplyAndReturnNew(Complex other) Multiplies provided instance with this instance and returns the result as a new instance.static voidArrayUtils.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.voidComplex.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.voidComputes the power of this instance by provided exponent and stores the result in provided instance.static voidReverses provided array.static voidReverses 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.voidComputes the squared root of this instance and returns the result as a new instance.static voidSubtracts provided operands arrays and stores the result in provided result array (i.e. result = firstOperand - secondOperand).voidSubtracts provided complex from this instance.voidSubtracts 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.Complex.subtractAndReturnNew(Complex other) Subtracts provided instance from this instance and returns the result as a new instancestatic voidSums 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