Uses of Class
org.apache.commons.math.complex.Complex
-
Packages that use Complex Package Description org.apache.commons.math.analysis.solvers Root finding algorithms, for univariate real functions.org.apache.commons.math.complex Complex number type and implementations of complex transcendental functions.org.apache.commons.math.transform 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 Complex Modifier and Type Method Description ComplexLaguerreSolver. solve(Complex[] coefficients, Complex initial)Deprecated.in 2.2.Complex[]LaguerreSolver. solveAll(double[] coefficients, double initial)Deprecated.in 2.2.Complex[]LaguerreSolver. solveAll(Complex[] coefficients, Complex initial)Deprecated.in 2.2.Methods in org.apache.commons.math.analysis.solvers with parameters of type Complex Modifier and Type Method Description protected booleanLaguerreSolver. isRootOK(double min, double max, Complex z)Returns true iff the given complex root is actually a real zero in the given interval, within the solver tolerance level.ComplexLaguerreSolver. solve(Complex[] coefficients, Complex initial)Deprecated.in 2.2.Complex[]LaguerreSolver. solveAll(Complex[] coefficients, Complex initial)Deprecated.in 2.2. -
Uses of Complex in org.apache.commons.math.complex
Fields in org.apache.commons.math.complex declared as Complex Modifier and Type Field Description static ComplexComplex. IThe square root of -1.static ComplexComplex. INFA complex number representing "+INF + INFi"static ComplexComplex. NaNA complex number representing "NaN + NaNi"static ComplexComplex. ONEA complex number representing "1.0 + 0.0i"static ComplexComplex. ZEROA complex number representing "0.0 + 0.0i"Methods in org.apache.commons.math.complex that return Complex Modifier and Type Method Description ComplexComplex. acos()Compute the inverse cosine of this complex number.ComplexComplex. add(Complex rhs)Return the sum of this complex number and the given complex number.ComplexComplex. asin()Compute the inverse sine of this complex number.ComplexComplex. atan()Compute the inverse tangent of this complex number.ComplexComplex. conjugate()Return the conjugate of this complex number.ComplexComplex. cos()Compute the cosine of this complex number.ComplexComplex. cosh()Compute the hyperbolic cosine of this complex number.protected ComplexComplex. createComplex(double realPart, double imaginaryPart)Create a complex number given the real and imaginary parts.ComplexComplex. divide(Complex rhs)Return the quotient of this complex number and the given complex number.ComplexComplex. exp()Compute the exponential function of this complex number.ComplexComplexField. getOne()Get the multiplicative identity of the field.ComplexComplexField. getZero()Get the additive identity of the field.ComplexComplex. log()Compute the natural logarithm of this complex number.ComplexComplex. multiply(double rhs)Return the product of this complex number and the given scalar number.ComplexComplex. multiply(Complex rhs)Return the product of this complex number and the given complex number.ComplexComplex. negate()Return the additive inverse of this complex number.ComplexComplexFormat. parse(java.lang.String source)Parses a string to produce aComplexobject.ComplexComplexFormat. parse(java.lang.String source, java.text.ParsePosition pos)Parses a string to produce aComplexobject.static ComplexComplexUtils. polar2Complex(double r, double theta)Creates a complex number from the given polar representation.ComplexComplex. pow(Complex x)Returns of value of this complex number raised to the power ofx.ComplexComplex. sin()Compute the sine of this complex number.ComplexComplex. sinh()Compute the hyperbolic sine of this complex number.ComplexComplex. sqrt()Compute the square root of this complex number.ComplexComplex. sqrt1z()Compute the square root of 1 -this2 for this complex number.ComplexComplex. subtract(Complex rhs)Return the difference between this complex number and the given complex number.ComplexComplex. tan()Compute the tangent of this complex number.ComplexComplex. tanh()Compute the hyperbolic tangent of this complex number.Methods in org.apache.commons.math.complex that return types with arguments of type Complex Modifier and Type Method Description java.util.List<Complex>Complex. nthRoot(int n)Computes the n-th roots of this complex number.Methods in org.apache.commons.math.complex with parameters of type Complex Modifier and Type Method Description ComplexComplex. add(Complex rhs)Return the sum of this complex number and the given complex number.ComplexComplex. divide(Complex rhs)Return the quotient of this complex number and the given complex number.java.lang.StringBufferComplexFormat. format(Complex complex, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)Formats aComplexobject to produce a string.static java.lang.StringComplexFormat. formatComplex(Complex c)This static method callsFormat.format(Object)on a default instance of ComplexFormat.ComplexComplex. multiply(Complex rhs)Return the product of this complex number and the given complex number.ComplexComplex. pow(Complex x)Returns of value of this complex number raised to the power ofx.ComplexComplex. subtract(Complex rhs)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 Complex Modifier and Type Method Description protected Complex[]FastFourierTransformer. fft(double[] f, boolean isInverse)Perform the base-4 Cooley-Tukey FFT algorithm (including inverse).protected Complex[]FastFourierTransformer. fft(Complex[] data)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[]FastFourierTransformer. transform(Complex[] f)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 Complex Modifier and Type Method Description protected Complex[]FastFourierTransformer. fft(Complex[] data)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[]FastFourierTransformer. transform(Complex[] f)Transform the given complex data set.Complex[]FastFourierTransformer. transform2(Complex[] f)Transform the given complex data set.
-