Uses of Class
org.djutils.complex.Complex
Package
Description
package-info.java.
Compute roots (zeros) of linear, quadratic, cubic and quartic polynomials.
-
Uses of Complex in org.djutils.complex
Modifier and TypeFieldDescriptionstatic final Complex
Complex.I
The imaginary unit value (i).static final Complex
Complex.MINUS_I
The negative imaginary unit value (i).static final Complex
Complex.MINUS_ONE
The (real) minus one value in the complex number space.static final Complex
Complex.ONE
The (real) one value in the complex number space.static final Complex
Complex.ZERO
The zero value in the complex number space.Modifier and TypeMethodDescriptionstatic Complex
Inverse cosine function of a Complex operand.static Complex
Inverse hyperbolic cosine of a Complex operand.static Complex
Inverse sine function of a Complex operand.static Complex
Inverse hyperbolic sine of a Complex operand.static Complex
Inverse tangent function of a Complex operand.static Complex
Inverse hyperbolic tangent of a Complex operand.static Complex
Principal cube root of a Complex operand.Complex.conjugate()
Construct the complex conjugate of this Complex.static Complex
Cosine function of Complex operand.static Complex
Hyperbolic cosine function of Complex operand.Complex.divideBy
(double rightOperand) Divide this Complex by a scalar.Divide this Complex by another Complex.static Complex
Exponential function of a Complex operand.static Complex
Principal value of the natural logarithm of a Complex operand.Complex.minus
(double rightOperand) Subtract a scalar from this Complex.Subtract another Complex from this Complex.Complex.plus
(double rightOperand) Add a scalar to this Complex.Add this Complex and another Complex.Complex.reciprocal()
Compute the reciprocal of this Complex.Complex.rotate
(double angle) Rotate this Complex by an angle.static Complex
Sine function of a Complex operand.static Complex
Hyperbolic sine function of a Complex operand.static Complex
Principal square root of a Complex operand.static Complex
Tangent function of a Complex operand.static Complex
Hyperbolic tangent function of a Complex operand.Complex.times
(double rightOperand) Multiply this Complex with a scalar.Multiply this Complex with another Complex.Modifier and TypeMethodDescriptionstatic Complex
Inverse cosine function of a Complex operand.static Complex
Inverse hyperbolic cosine of a Complex operand.static Complex
Inverse sine function of a Complex operand.static Complex
Inverse hyperbolic sine of a Complex operand.static Complex
Inverse tangent function of a Complex operand.static Complex
Inverse hyperbolic tangent of a Complex operand.static Complex
Principal cube root of a Complex operand.static Complex
Cosine function of Complex operand.static Complex
Hyperbolic cosine function of Complex operand.Divide this Complex by another Complex.static Complex
Exponential function of a Complex operand.static Complex
Principal value of the natural logarithm of a Complex operand.Subtract another Complex from this Complex.Add this Complex and another Complex.static Complex
Sine function of a Complex operand.static Complex
Hyperbolic sine function of a Complex operand.static Complex
Principal square root of a Complex operand.static Complex
Tangent function of a Complex operand.static Complex
Hyperbolic tangent function of a Complex operand.Multiply this Complex with another Complex. -
Uses of Complex in org.djutils.polynomialroots
Modifier and TypeMethodDescriptionstatic Complex[]
PolynomialRoots.cubicRoots
(double c2, double c1, double c0) CUBIC POLYNOMIAL ROOT SOLVER.static Complex[]
PolynomialRoots.cubicRoots
(double c2, double c1, double c0, boolean verbose) CUBIC POLYNOMIAL ROOT SOLVER.static Complex[]
PolynomialRoots.cubicRoots
(double c3, double c2, double c1, double c0) CUBIC POLYNOMIAL ROOT SOLVER.static Complex[]
PolynomialRoots2.cubicRootsAberthEhrlich
(double a3, double a2, double a1, double a0) CUBIC POLYNOMIAL ROOT SOLVER.static Complex[]
PolynomialRoots2.cubicRootsCardano
(double a, double b, double c, double d) CUBIC POLYNOMIAL ROOT SOLVER.static Complex[]
PolynomialRoots2.cubicRootsDurandKerner
(double a3, double a2, double a1, double a0) CUBIC POLYNOMIAL ROOT SOLVER.static Complex[]
PolynomialRoots2.cubicRootsNewtonFactor
(double a3, double a2, double a1, double a0) CUBIC POLYNOMIAL ROOT SOLVER.static Complex[]
PolynomialRoots.linearRoots
(double q0) LINEAR POLYNOMIAL ROOT SOLVER.static Complex[]
PolynomialRoots.linearRoots
(double q1, double q0) LINEAR POLYNOMIAL ROOT SOLVER.static Complex[]
PolynomialRoots2.linearRoots
(double q0) LINEAR POLYNOMIAL ROOT SOLVER.static Complex[]
PolynomialRoots2.linearRoots
(double q1, double q0) LINEAR POLYNOMIAL ROOT SOLVER.static Complex[]
PolynomialRoots.quadraticRoots
(double q1, double q0) QUADRATIC POLYNOMIAL ROOT SOLVERstatic Complex[]
PolynomialRoots.quadraticRoots
(double q2, double q1, double q0) QUADRATIC POLYNOMIAL ROOT SOLVERstatic Complex[]
PolynomialRoots2.quadraticRoots
(double q1, double q0) QUADRATIC POLYNOMIAL ROOT SOLVERstatic Complex[]
PolynomialRoots2.quadraticRoots
(double q2, double q1, double q0) QUADRATIC POLYNOMIAL ROOT SOLVERstatic Complex[]
PolynomialRoots.quarticRoots
(double q3, double q2, double q1, double q0) QUARTIC POLYNOMIAL ROOT SOLVERstatic Complex[]
PolynomialRoots.quarticRoots
(double q3, double q2, double q1, double q0, boolean verbose) QUARTIC POLYNOMIAL ROOT SOLVERstatic Complex[]
PolynomialRoots.quarticRoots
(double q4, double q3, double q2, double q1, double q0) QUARTIC POLYNOMIAL ROOT SOLVERstatic Complex[]
PolynomialRoots2.quarticRootsAberthEhrlich
(double a4, double a3, double a2, double a1, double a0) QUADRATIC POLYNOMIAL ROOT SOLVER.static Complex[]
PolynomialRoots2.quarticRootsDurandKerner
(double a4, double a3, double a2, double a1, double a0) QUADRATIC POLYNOMIAL ROOT SOLVER.static Complex[]
PolynomialRoots2.rootsAberthEhrlich
(Complex[] a) Polynomial root finder using the Aberth-Ehrlich method or Aberth method, with complex coefficients for the polynomial equation.static Complex[]
PolynomialRoots2.rootsDurandKerner
(Complex[] a) Polynomial root finder using the Durand-Kerner method, with complex coefficients for the polynomial equation.Modifier and TypeMethodDescriptionstatic Complex[]
PolynomialRoots2.rootsAberthEhrlich
(Complex[] a) Polynomial root finder using the Aberth-Ehrlich method or Aberth method, with complex coefficients for the polynomial equation.static Complex[]
PolynomialRoots2.rootsDurandKerner
(Complex[] a) Polynomial root finder using the Durand-Kerner method, with complex coefficients for the polynomial equation.