Uses of Class
org.apache.commons.math.complex.Complex
Packages that use Complex
Package
Description
Root finding algorithms, for univariate real functions.
Complex number type and implementations of complex transcendental
functions.
Implementations of transform methods, including Fast Fourier transforms.
-
Uses of Complex in org.apache.commons.math.analysis.solvers
Methods in org.apache.commons.math.analysis.solvers that return ComplexModifier and TypeMethodDescriptionDeprecated.in 2.2.Complex[]
LaguerreSolver.solveAll
(double[] coefficients, double initial) Deprecated.in 2.2.Complex[]
Deprecated.in 2.2.Methods in org.apache.commons.math.analysis.solvers with parameters of type ComplexModifier and TypeMethodDescriptionprotected boolean
Returns true iff the given complex root is actually a real zero in the given interval, within the solver tolerance level.Deprecated.in 2.2.Complex[]
Deprecated.in 2.2. -
Uses of Complex in org.apache.commons.math.complex
Fields in org.apache.commons.math.complex declared as ComplexModifier and TypeFieldDescriptionstatic final Complex
Complex.I
The square root of -1.static final Complex
Complex.INF
A complex number representing "+INF + INFi"static final Complex
Complex.NaN
A complex number representing "NaN + NaNi"static final Complex
Complex.ONE
A complex number representing "1.0 + 0.0i"static final Complex
Complex.ZERO
A complex number representing "0.0 + 0.0i"Methods in org.apache.commons.math.complex that return ComplexModifier and TypeMethodDescriptionComplex.acos()
Compute the inverse cosine of this complex number.Return the sum of this complex number and the given complex number.Complex.asin()
Compute the inverse sine of this complex number.Complex.atan()
Compute the inverse tangent of this complex number.Complex.conjugate()
Return the conjugate of this complex number.Complex.cos()
Compute the cosine of this complex number.Complex.cosh()
Compute the hyperbolic cosine of this complex number.protected Complex
Complex.createComplex
(double realPart, double imaginaryPart) Create a complex number given the real and imaginary parts.Return the quotient of this complex number and the given complex number.Complex.exp()
Compute the exponential function of this complex number.ComplexField.getOne()
Get the multiplicative identity of the field.ComplexField.getZero()
Get the additive identity of the field.Complex.log()
Compute the natural logarithm of this complex number.Complex.multiply
(double rhs) Return the product of this complex number and the given scalar number.Return the product of this complex number and the given complex number.Complex.negate()
Return the additive inverse of this complex number.Parses a string to produce aComplex
object.ComplexFormat.parse
(String source, ParsePosition pos) Parses a string to produce aComplex
object.static Complex
ComplexUtils.polar2Complex
(double r, double theta) Creates a complex number from the given polar representation.Returns of value of this complex number raised to the power ofx
.Complex.sin()
Compute the sine of this complex number.Complex.sinh()
Compute the hyperbolic sine of this complex number.Complex.sqrt()
Compute the square root of this complex number.Complex.sqrt1z()
Compute the square root of 1 -this
2 for this complex number.Return the difference between this complex number and the given complex number.Complex.tan()
Compute the tangent of this complex number.Complex.tanh()
Compute the hyperbolic tangent of this complex number.Methods in org.apache.commons.math.complex that return types with arguments of type ComplexModifier and TypeMethodDescriptionComplex.nthRoot
(int n) Computes the n-th roots of this complex number.Methods in org.apache.commons.math.complex with parameters of type ComplexModifier and TypeMethodDescriptionReturn the sum of this complex number and the given complex number.Return the quotient of this complex number and the given complex number.ComplexFormat.format
(Complex complex, StringBuffer toAppendTo, FieldPosition pos) Formats aComplex
object to produce a string.static String
ComplexFormat.formatComplex
(Complex c) This static method callsFormat.format(Object)
on a default instance of ComplexFormat.Return the product of this complex number and the given complex number.Returns of value of this complex number raised to the power ofx
.Return the difference between this complex number and the given complex number. -
Uses of Complex in org.apache.commons.math.transform
Methods in org.apache.commons.math.transform that return ComplexModifier and TypeMethodDescriptionprotected Complex[]
FastFourierTransformer.fft
(double[] f, boolean isInverse) Perform the base-4 Cooley-Tukey FFT algorithm (including inverse).protected Complex[]
Perform the base-4 Cooley-Tukey FFT algorithm (including inverse).Complex[]
FastFourierTransformer.inversetransform
(double[] f) Inversely transform the given real data set.Complex[]
FastFourierTransformer.inversetransform
(UnivariateRealFunction f, double min, double max, int n) Inversely transform the given real function, sampled on the given interval.Complex[]
FastFourierTransformer.inversetransform
(Complex[] f) Inversely transform the given complex data set.Complex[]
FastFourierTransformer.inversetransform2
(double[] f) Inversely transform the given real data set.Complex[]
FastFourierTransformer.inversetransform2
(UnivariateRealFunction f, double min, double max, int n) Inversely transform the given real function, sampled on the given interval.Complex[]
FastFourierTransformer.inversetransform2
(Complex[] f) Inversely transform the given complex data set.static Complex[]
FastFourierTransformer.scaleArray
(Complex[] f, double d) Multiply every component in the given complex array by the given real number.Complex[]
FastFourierTransformer.transform
(double[] f) Transform the given real data set.Complex[]
FastFourierTransformer.transform
(UnivariateRealFunction f, double min, double max, int n) Transform the given real function, sampled on the given interval.Complex[]
Transform the given complex data set.Complex[]
FastFourierTransformer.transform2
(double[] f) Transform the given real data set.Complex[]
FastFourierTransformer.transform2
(UnivariateRealFunction f, double min, double max, int n) Transform the given real function, sampled on the given interval.Complex[]
FastFourierTransformer.transform2
(Complex[] f) Transform the given complex data set.Methods in org.apache.commons.math.transform with parameters of type ComplexModifier and TypeMethodDescriptionprotected Complex[]
Perform the base-4 Cooley-Tukey FFT algorithm (including inverse).Complex[]
FastFourierTransformer.inversetransform
(Complex[] f) Inversely transform the given complex data set.Complex[]
FastFourierTransformer.inversetransform2
(Complex[] f) Inversely transform the given complex data set.static Complex[]
FastFourierTransformer.scaleArray
(Complex[] f, double d) Multiply every component in the given complex array by the given real number.Complex[]
Transform the given complex data set.Complex[]
FastFourierTransformer.transform2
(Complex[] f) Transform the given complex data set.