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 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 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 TypeMethodDescriptionvoid
Adds provided complex into this instancevoid
Adds 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.void
Computes the complex conjugate of this instance and stores the result into provided complex instance.void
Copies provided value into current instance.void
Divides this instance by provided complex.void
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 arraysboolean
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
Multiplies provided complex with this instance.void
Multiplies 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 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
Computes the power of this instance by provided exponent and stores the result in provided instance.static void
Reverses provided array.static void
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
Computes the squared root of this instance and returns the result as a new instance.static void
Subtracts provided operands arrays and stores the result in provided result array (i.e. result = firstOperand - secondOperand).void
Subtracts provided complex from this instance.void
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.Complex.subtractAndReturnNew
(Complex other) Subtracts provided instance from this instance and returns the result as a new instancestatic void
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