Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractMean<MT,
V extends Number, W extends Number> - Class in org.djutils.math.means -
Methods and fields common to all implementations of Mean.
- AbstractMean() - Constructor for class org.djutils.math.means.AbstractMean
-
Constructor.
- acos(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Inverse cosine function of a Complex operand.
- acosh(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Inverse hyperbolic cosine of a Complex operand.
- add(Iterable<V>) - Method in class org.djutils.math.means.AbstractMean
-
Add values with weight 1.
- add(Iterable<V>, Iterable<W>) - Method in class org.djutils.math.means.AbstractMean
-
Adds weighted values.
- add(Collection<S>, Function<S, V>, Function<S, W>) - Method in class org.djutils.math.means.AbstractMean
-
Adds each value (obtained by calling the
valuesfunction on each object in a Collection) with a weight (obtained by calling theweightsfunction on the same object from the Collection). - add(Collection<V>, Function<V, W>) - Method in class org.djutils.math.means.AbstractMean
-
Adds each value with a weight obtained by calling the provided
weightsfunction. - add(Map<V, W>) - Method in class org.djutils.math.means.AbstractMean
-
Adds each key value from a map weighted with the mapped to value.
- add(V) - Method in class org.djutils.math.means.AbstractMean
-
Add a value with weight 1.
- add(V[]) - Method in class org.djutils.math.means.AbstractMean
-
Add values with weight 1.
- add(V[], W[]) - Method in class org.djutils.math.means.AbstractMean
-
Adds weighted values.
- add(V, W) - Method in class org.djutils.math.means.AbstractMean
-
Adds a value with weight.
- addImpl(V, Number) - Method in class org.djutils.math.means.AbstractMean
-
Adds a value with weight.
- addImpl(V, Number) - Method in class org.djutils.math.means.ArithmeticMean
- addImpl(V, Number) - Method in class org.djutils.math.means.GeometricMean
- addImpl(V, Number) - Method in class org.djutils.math.means.HarmonicMean
- AngleUtil - Class in org.djutils.math
-
AngleUtil has some base methods to deal with angles, such as normalization between -PI and PI, and between 0 and 2*PI.
- apply(Double) - Method in class org.djutils.math.functions.ArcSine
- apply(Double) - Method in class org.djutils.math.functions.ArcTangent
- apply(Double) - Method in class org.djutils.math.functions.Concatenation
- apply(Double) - Method in class org.djutils.math.functions.Constant
- apply(Double) - Method in class org.djutils.math.functions.Exponential
- apply(Double) - Method in class org.djutils.math.functions.Logarithm
- apply(Double) - Method in class org.djutils.math.functions.Nan
- apply(Double) - Method in class org.djutils.math.functions.Power
- apply(Double) - Method in class org.djutils.math.functions.Product
- apply(Double) - Method in class org.djutils.math.functions.Quotient
- apply(Double) - Method in class org.djutils.math.functions.Sine
- apply(Double) - Method in class org.djutils.math.functions.Sum
- arcCosine(MathFunction, double) - Static method in class org.djutils.math.functions.ArcSine
-
Construct an arc cosine function using the equation
acos(x) === π/2-asin(x). - ArcSine - Class in org.djutils.math.functions
-
ArcSine function.
- ArcSine() - Constructor for class org.djutils.math.functions.ArcSine
-
Construct a new ArcSine function with
omegaequal to1.0, noshiftand no chainedMathFunction. - ArcSine(double) - Constructor for class org.djutils.math.functions.ArcSine
-
Construct a new ArcSine function with no
shiftand no chainedMathFunction. - ArcSine(double, double) - Constructor for class org.djutils.math.functions.ArcSine
-
Construct a new ArcSine function with
shiftand no chainedMathFunction. - ArcSine(MathFunction) - Constructor for class org.djutils.math.functions.ArcSine
-
Construct a new ArcSine function with
omegaequal to1.0and noshift. - ArcSine(MathFunction, double) - Constructor for class org.djutils.math.functions.ArcSine
-
Construct a new ArcSine function with
shiftequal to0.0. - ArcSine(MathFunction, double, double) - Constructor for class org.djutils.math.functions.ArcSine
-
Construct a new ArcSine function.
- ArcTangent - Class in org.djutils.math.functions
-
ArcTangent.java.
- ArcTangent() - Constructor for class org.djutils.math.functions.ArcTangent
-
Construct a new ArcTangent function with
omegaequal to1.0, noshiftand no chainedMathFunction. - ArcTangent(double) - Constructor for class org.djutils.math.functions.ArcTangent
-
Construct a new ArcTangent function with no
shiftand no chainedMathFunction. - ArcTangent(double, double) - Constructor for class org.djutils.math.functions.ArcTangent
-
Construct a new ArcTangent function with
shiftand no chainedMathFunction. - ArcTangent(MathFunction) - Constructor for class org.djutils.math.functions.ArcTangent
-
Construct a new ArcTangent function with
omegaequal to1.0and noshift. - ArcTangent(MathFunction, double) - Constructor for class org.djutils.math.functions.ArcTangent
-
Construct a new ArcTangent function with
shiftequal to0.0. - ArcTangent(MathFunction, double, double) - Constructor for class org.djutils.math.functions.ArcTangent
-
Construct a new ArcTangent function.
- ArithmeticMean<V extends Number,
W extends Number> - Class in org.djutils.math.means -
Compute arithmetic (weighted) mean of a set of values.
- ArithmeticMean() - Constructor for class org.djutils.math.means.ArithmeticMean
- asin(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Inverse sine function of a Complex operand.
- asinh(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Inverse hyperbolic sine of a Complex operand.
- atan(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Inverse tangent function of a Complex operand.
- atanh(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Inverse hyperbolic tangent of a Complex operand.
C
- cbrt(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Principal cube root of a Complex operand.
- combineWith(KnotReport) - Method in enum class org.djutils.math.functions.KnotReport
-
Combine two
KnotReports and return the combined knowledge. - compareChains(MathFunction, MathFunction) - Method in interface org.djutils.math.functions.MathFunction
-
Compare chains for sorting.
- compareTo(Interval<T>) - Method in record class org.djutils.math.functions.Interval
- compareTo(MathFunction) - Method in interface org.djutils.math.functions.MathFunction
- compareWithinSubType(MathFunction) - Method in class org.djutils.math.functions.ArcSine
- compareWithinSubType(MathFunction) - Method in class org.djutils.math.functions.ArcTangent
- compareWithinSubType(MathFunction) - Method in class org.djutils.math.functions.Concatenation
- compareWithinSubType(MathFunction) - Method in class org.djutils.math.functions.Constant
- compareWithinSubType(MathFunction) - Method in class org.djutils.math.functions.Exponential
- compareWithinSubType(MathFunction) - Method in class org.djutils.math.functions.Logarithm
- compareWithinSubType(MathFunction) - Method in interface org.djutils.math.functions.MathFunction
-
Determine sorting order among instances of a particular sub type of
MathFunction. - compareWithinSubType(MathFunction) - Method in class org.djutils.math.functions.Nan
- compareWithinSubType(MathFunction) - Method in class org.djutils.math.functions.Power
- compareWithinSubType(MathFunction) - Method in class org.djutils.math.functions.Product
- compareWithinSubType(MathFunction) - Method in class org.djutils.math.functions.Quotient
- compareWithinSubType(MathFunction) - Method in class org.djutils.math.functions.Sine
- compareWithinSubType(MathFunction) - Method in class org.djutils.math.functions.Sum
- Complex - Class in org.djutils.math.complex
-
Complex.java.
- Complex(double) - Constructor for class org.djutils.math.complex.Complex
-
Construct a new complex number with specified real component and zero imaginary component.
- Complex(double, double) - Constructor for class org.djutils.math.complex.Complex
-
Construct a new complex number.
- ComplexMath - Class in org.djutils.math.complex
-
ComplexMath.java.
- Concatenation - Class in org.djutils.math.functions
-
Concatenate FunctionInterface objects
- Concatenation(SortedSet<Interval<MathFunction>>) - Constructor for class org.djutils.math.functions.Concatenation
-
Construct a Concatenation from a sorted set of Interval<MathFunction>.
- Concatenation(Interval<MathFunction>...) - Constructor for class org.djutils.math.functions.Concatenation
-
Construct the concatenation of one or more MathFunction objects.
- Concatenation.Discontinuity - Enum Class in org.djutils.math.functions
-
The various discontinuities reported by the
discontinuitiesmethod. - conjugate() - Method in class org.djutils.math.complex.Complex
-
Construct the complex conjugate of this Complex.
- Constant - Class in org.djutils.math.functions
-
Constant value function;
f(x) → cwherec ∈ ℝ. - Constant(double) - Constructor for class org.djutils.math.functions.Constant
-
Create a new constant value function F(x).
- continuousPiecewiseLinear(double...) - Static method in class org.djutils.math.functions.Concatenation
-
Construct a concatenation that is piecewise linear through a given set of input-output pairs.
- continuousPiecewiseLinear(SortedMap<Double, Double>) - Static method in class org.djutils.math.functions.Concatenation
-
Construct a concatenation that is piecewise linear through a given set of points.
- cos(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Cosine function of Complex operand.
- cosh(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Hyperbolic cosine function of Complex operand.
- cosine(double, double, double) - Static method in class org.djutils.math.functions.Sine
-
Construct a cosine function
factor * cos(omega * x + shift). - covers(double) - Method in record class org.djutils.math.functions.Interval
-
Check if a value falls on this Interval.
- covers(Interval<?>) - Method in record class org.djutils.math.functions.Interval
-
Check if this Interval completely covers some other Interval.
- cubicRoots(double, double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots
-
CUBIC POLYNOMIAL ROOT SOLVER.
- cubicRoots(double, double, double, boolean) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots
-
CUBIC POLYNOMIAL ROOT SOLVER.
- cubicRoots(double, double, double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots
-
CUBIC POLYNOMIAL ROOT SOLVER.
- cubicRootsAberthEhrlich(double, double, double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
CUBIC POLYNOMIAL ROOT SOLVER.
- cubicRootsCardano(double, double, double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
CUBIC POLYNOMIAL ROOT SOLVER.
- cubicRootsDurandKerner(double, double, double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
CUBIC POLYNOMIAL ROOT SOLVER.
- cubicRootsNewtonFactor(double, double, double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
CUBIC POLYNOMIAL ROOT SOLVER.
D
- discontinuities(Interval<?>) - Method in class org.djutils.math.functions.Concatenation
-
Report all non-continuities and all points where
thisfunction is non differentiable, or non-evaluable. - DISCONTINUOUS - Enum constant in enum class org.djutils.math.functions.Concatenation.Discontinuity
-
Not continuous (and, therefore, not differentiable).
- disjunct(Interval<?>) - Method in record class org.djutils.math.functions.Interval
-
Check if this Interval is completely disjunct of some other Interval.
- divideBy(double) - Method in class org.djutils.math.complex.Complex
-
Divide this Complex by a scalar.
- divideBy(Complex) - Method in class org.djutils.math.complex.Complex
-
Divide this Complex by another Complex.
E
- epsilonEquals(double, double, double) - Static method in class org.djutils.math.AngleUtil
-
Return whether two angles (in radians) are less than epsilon apart.
- equals(Object) - Method in class org.djutils.math.complex.Complex
- equals(Object) - Method in class org.djutils.math.functions.ArcSine
- equals(Object) - Method in class org.djutils.math.functions.ArcTangent
- equals(Object) - Method in class org.djutils.math.functions.Concatenation
- equals(Object) - Method in class org.djutils.math.functions.Constant
- equals(Object) - Method in class org.djutils.math.functions.Exponential
- equals(Object) - Method in record class org.djutils.math.functions.Interval
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.djutils.math.functions.Logarithm
- equals(Object) - Method in record class org.djutils.math.functions.MathFunction.TupleSt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.djutils.math.functions.Power
- equals(Object) - Method in class org.djutils.math.functions.Product
- equals(Object) - Method in class org.djutils.math.functions.Quotient
- equals(Object) - Method in class org.djutils.math.functions.Sine
- equals(Object) - Method in class org.djutils.math.functions.Sum
- exp(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Exponential function of a Complex operand.
- Exponential - Class in org.djutils.math.functions
-
Exponential function.
- Exponential() - Constructor for class org.djutils.math.functions.Exponential
-
Construct the
exfunction. - Exponential(double) - Constructor for class org.djutils.math.functions.Exponential
-
Construct a new Exponential.
- Exponential(MathFunction) - Constructor for class org.djutils.math.functions.Exponential
-
Construct a new Exponential of a
MathFunction. - Exponential(MathFunction, double) - Constructor for class org.djutils.math.functions.Exponential
-
Construct a new Exponential of a
MathFunction.
G
- GAP - Enum constant in enum class org.djutils.math.functions.Concatenation.Discontinuity
-
Function undefined in this interval; the
MathFunctionwill yieldNaNin this interval. - GeometricMean<V extends Number,
W extends Number> - Class in org.djutils.math.means -
Compute the geometric (weighted) mean of a set of values.
- GeometricMean() - Constructor for class org.djutils.math.means.GeometricMean
- getDerivative() - Method in class org.djutils.math.functions.ArcSine
- getDerivative() - Method in class org.djutils.math.functions.ArcTangent
- getDerivative() - Method in class org.djutils.math.functions.Concatenation
- getDerivative() - Method in class org.djutils.math.functions.Constant
- getDerivative() - Method in class org.djutils.math.functions.Exponential
- getDerivative() - Method in class org.djutils.math.functions.Logarithm
- getDerivative() - Method in interface org.djutils.math.functions.MathFunction
-
Returns the derivative of the data with respect to fractional length.
- getDerivative() - Method in class org.djutils.math.functions.Nan
- getDerivative() - Method in class org.djutils.math.functions.Power
- getDerivative() - Method in class org.djutils.math.functions.Product
- getDerivative() - Method in class org.djutils.math.functions.Quotient
- getDerivative() - Method in class org.djutils.math.functions.Sine
- getDerivative() - Method in class org.djutils.math.functions.Sum
- getIm() - Method in class org.djutils.math.complex.Complex
-
Retrieve the imaginary component of this complex number.
- getKnotReport(Interval<?>) - Method in class org.djutils.math.functions.ArcSine
- getKnotReport(Interval<?>) - Method in class org.djutils.math.functions.ArcTangent
- getKnotReport(Interval<?>) - Method in class org.djutils.math.functions.Concatenation
- getKnotReport(Interval<?>) - Method in class org.djutils.math.functions.Constant
- getKnotReport(Interval<?>) - Method in class org.djutils.math.functions.Exponential
- getKnotReport(Interval<?>) - Method in class org.djutils.math.functions.Logarithm
- getKnotReport(Interval<?>) - Method in interface org.djutils.math.functions.MathFunction
-
Report what is known about knots of this
MathFunctionin someInterval. - getKnotReport(Interval<?>) - Method in class org.djutils.math.functions.Nan
- getKnotReport(Interval<?>) - Method in class org.djutils.math.functions.Power
- getKnotReport(Interval<?>) - Method in class org.djutils.math.functions.Product
- getKnotReport(Interval<?>) - Method in class org.djutils.math.functions.Quotient
- getKnotReport(Interval<?>) - Method in class org.djutils.math.functions.Sine
- getKnotReport(Interval<?>) - Method in class org.djutils.math.functions.Sum
- getKnots(Interval<?>) - Method in class org.djutils.math.functions.ArcSine
- getKnots(Interval<?>) - Method in class org.djutils.math.functions.ArcTangent
- getKnots(Interval<?>) - Method in class org.djutils.math.functions.Concatenation
- getKnots(Interval<?>) - Method in class org.djutils.math.functions.Constant
- getKnots(Interval<?>) - Method in class org.djutils.math.functions.Exponential
- getKnots(Interval<?>) - Method in class org.djutils.math.functions.Logarithm
- getKnots(Interval<?>) - Method in interface org.djutils.math.functions.MathFunction
-
Report all knots of this
MathFunctionin someInterval. - getKnots(Interval<?>) - Method in class org.djutils.math.functions.Nan
- getKnots(Interval<?>) - Method in class org.djutils.math.functions.Power
- getKnots(Interval<?>) - Method in class org.djutils.math.functions.Product
- getKnots(Interval<?>) - Method in class org.djutils.math.functions.Quotient
- getKnots(Interval<?>) - Method in class org.djutils.math.functions.Sine
- getKnots(Interval<?>) - Method in class org.djutils.math.functions.Sum
- getMean() - Method in class org.djutils.math.means.AbstractMean
-
Returns the weighted mean of accumulated data.
- getMean() - Method in class org.djutils.math.means.ArithmeticMean
- getMean() - Method in class org.djutils.math.means.GeometricMean
- getMean() - Method in class org.djutils.math.means.HarmonicMean
- getRe() - Method in class org.djutils.math.complex.Complex
-
Retrieve the real component of this complex number.
- getScale() - Method in class org.djutils.math.functions.ArcSine
- getScale() - Method in class org.djutils.math.functions.ArcTangent
- getScale() - Method in class org.djutils.math.functions.Constant
- getScale() - Method in interface org.djutils.math.functions.MathFunction
-
Get the scale factor of this MathFunction.
- getScale() - Method in class org.djutils.math.functions.Power
- getScale() - Method in class org.djutils.math.functions.Sine
- getSum() - Method in class org.djutils.math.means.AbstractMean
-
Returns the weighted sum of available data.
- getSumOfWeights() - Method in class org.djutils.math.means.AbstractMean
-
Returns the sum of the weights.
H
- HarmonicMean<V extends Number,
W extends Number> - Class in org.djutils.math.means -
Compute the harmonic (weighted) mean of a set of values.
- HarmonicMean() - Constructor for class org.djutils.math.means.HarmonicMean
- hashCode() - Method in class org.djutils.math.complex.Complex
- hashCode() - Method in class org.djutils.math.functions.ArcSine
- hashCode() - Method in class org.djutils.math.functions.ArcTangent
- hashCode() - Method in class org.djutils.math.functions.Concatenation
- hashCode() - Method in class org.djutils.math.functions.Constant
- hashCode() - Method in class org.djutils.math.functions.Exponential
- hashCode() - Method in record class org.djutils.math.functions.Interval
-
Returns a hash code value for this object.
- hashCode() - Method in class org.djutils.math.functions.Logarithm
- hashCode() - Method in record class org.djutils.math.functions.MathFunction.TupleSt
-
Returns a hash code value for this object.
- hashCode() - Method in class org.djutils.math.functions.Power
- hashCode() - Method in class org.djutils.math.functions.Product
- hashCode() - Method in class org.djutils.math.functions.Quotient
- hashCode() - Method in class org.djutils.math.functions.Sine
- hashCode() - Method in class org.djutils.math.functions.Sum
- high() - Method in record class org.djutils.math.functions.Interval
-
Returns the value of the
highrecord component. - highInclusive() - Method in record class org.djutils.math.functions.Interval
-
Returns the value of the
highInclusiverecord component. - hypot(double, double) - Static method in class org.djutils.math.complex.Complex
-
Better implementation of the hypotenuse function (faster and more accurate than the one in the java Math library).
I
- I - Static variable in class org.djutils.math.complex.Complex
-
The imaginary unit value (i).
- im - Variable in class org.djutils.math.complex.Complex
-
Imaginary component.
- increment(double, double) - Method in class org.djutils.math.means.AbstractMean
-
Accumulate some data.
- interpolateClockwise(double, double, double) - Static method in class org.djutils.math.AngleUtil
-
Interpolate between two angles that will first be normalized between 0 and 2π, and take the interpolated angle when going clockwise from the first angle to the second angle.
- interpolateShortest(double, double, double) - Static method in class org.djutils.math.AngleUtil
-
Interpolate between two angles taking the shortest way.
- intersection(Interval<?>) - Method in record class org.djutils.math.functions.Interval
-
Compute the intersection of this
Intervaland some otherInterval. - Interval<T extends Comparable<T>> - Record Class in org.djutils.math.functions
-
Immutable double interval, optionally including none, one, or both boundary values.
- Interval(double, boolean, double, boolean, T) - Constructor for record class org.djutils.math.functions.Interval
-
Construct a new Interval.
- isFinite() - Method in enum class org.djutils.math.functions.KnotReport
-
Report if the number of knots is finite.
- isImaginary() - Method in class org.djutils.math.complex.Complex
-
Determine if this Complex has a real component of zero.
- isReal() - Method in class org.djutils.math.complex.Complex
-
Determine if this Complex has an imaginary component of zero.
K
- KNOT - Enum constant in enum class org.djutils.math.functions.Concatenation.Discontinuity
-
Continuous, but not differentiable.
- KnotReport - Enum Class in org.djutils.math.functions
-
Knowledge about knots (discontinuities) of a MathFunction in some interval.
- KNOWN_FINITE - Enum constant in enum class org.djutils.math.functions.KnotReport
-
There are a limited number of knots in the interval.
- KNOWN_INFINITE - Enum constant in enum class org.djutils.math.functions.KnotReport
-
There are infinitely many knots in the interval.
L
- linearRoots(double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots
-
LINEAR POLYNOMIAL ROOT SOLVER.
- linearRoots(double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
LINEAR POLYNOMIAL ROOT SOLVER.
- linearRoots(double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots
-
LINEAR POLYNOMIAL ROOT SOLVER.
- linearRoots(double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
LINEAR POLYNOMIAL ROOT SOLVER.
- ln(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Principal value of the natural logarithm of a Complex operand.
- Logarithm - Class in org.djutils.math.functions
-
Logarithms.
- Logarithm() - Constructor for class org.djutils.math.functions.Logarithm
-
Natural logarithm; logarithm with base
e. - Logarithm(double) - Constructor for class org.djutils.math.functions.Logarithm
-
Logarithm with user specified base.
- Logarithm(MathFunction) - Constructor for class org.djutils.math.functions.Logarithm
-
Natural logarithm of chained
MathFunction. - Logarithm(MathFunction, double) - Constructor for class org.djutils.math.functions.Logarithm
-
Logarithm of chained function and user specified base.
- low() - Method in record class org.djutils.math.functions.Interval
-
Returns the value of the
lowrecord component. - lowInclusive() - Method in record class org.djutils.math.functions.Interval
-
Returns the value of the
lowInclusiverecord component.
M
- main(String[]) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
- MathFunction - Interface in org.djutils.math.functions
-
MathFunction interface.
- MathFunction.TupleSt - Record Class in org.djutils.math.functions
-
Wrapper for one domain and function value pair.
- mergeAdd(MathFunction) - Method in class org.djutils.math.functions.Constant
- mergeAdd(MathFunction) - Method in class org.djutils.math.functions.Exponential
- mergeAdd(MathFunction) - Method in class org.djutils.math.functions.Logarithm
- mergeAdd(MathFunction) - Method in interface org.djutils.math.functions.MathFunction
-
This MathFunction is added to another; try to replace both by a combined
MathFunction. - mergeAdd(MathFunction) - Method in class org.djutils.math.functions.Power
- mergeAdd(MathFunction) - Method in class org.djutils.math.functions.Sine
- mergeDivide(MathFunction) - Method in interface org.djutils.math.functions.MathFunction
-
This MathFunction is divided by another; try to replace both by a combined MathFunction.
- mergeDivide(MathFunction) - Method in class org.djutils.math.functions.Power
- mergeMultiply(MathFunction) - Method in class org.djutils.math.functions.Constant
- mergeMultiply(MathFunction) - Method in interface org.djutils.math.functions.MathFunction
-
This MathFunction is multiplied by another; try to replace both by a combined MathFunction.
- mergeMultiply(MathFunction) - Method in class org.djutils.math.functions.Power
- mergeMultiply(MathFunction) - Method in class org.djutils.math.functions.Sine
- minus(double) - Method in class org.djutils.math.complex.Complex
-
Subtract a scalar from this Complex.
- minus(Complex) - Method in class org.djutils.math.complex.Complex
-
Subtract another Complex from this Complex.
- MINUS_I - Static variable in class org.djutils.math.complex.Complex
-
The negative imaginary unit value (i).
- MINUS_ONE - Static variable in class org.djutils.math.complex.Complex
-
The (real) minus one value in the complex number space.
N
- Nan - Class in org.djutils.math.functions
-
Nan; MathFunction that returns NaN.
- NAN - Static variable in class org.djutils.math.functions.Nan
-
MathFunction that always return NaN (Not A Number).
- NONE - Enum constant in enum class org.djutils.math.functions.KnotReport
-
It is certain that there are no knots in the interval.
- norm() - Method in class org.djutils.math.complex.Complex
-
Compute and return the norm, or radius, or absolute value of this complex number.
- normalizeAroundPi(double) - Static method in class org.djutils.math.AngleUtil
-
Normalize an angle (in radians) in a 2π wide interval around π, resulting in angles in the 0 to 2π interval.
- normalizeAroundZero(double) - Static method in class org.djutils.math.AngleUtil
-
Normalize an angle (in radians) in a 2π wide interval around 0, resulting in angles in the -π to π interval.
O
- ONE - Static variable in class org.djutils.math.complex.Complex
-
The (real) one value in the complex number space.
- ONE - Static variable in class org.djutils.math.functions.Constant
-
The constant value function that is always one and has infinite domain.
- org.djutils.math - package org.djutils.math
- org.djutils.math.complex - package org.djutils.math.complex
-
package-info.java.
- org.djutils.math.functions - package org.djutils.math.functions
-
Code that manipulates functions.
- org.djutils.math.means - package org.djutils.math.means
-
Compute various kinds of mean values.
- org.djutils.math.polynomialroots - package org.djutils.math.polynomialroots
-
Compute roots (zeros) of linear, quadratic, cubic and quartic polynomials.
P
- payload() - Method in record class org.djutils.math.functions.Interval
-
Returns the value of the
payloadrecord component. - phi() - Method in class org.djutils.math.complex.Complex
-
Compute and return the phase or phi of this complex number.
- PI2 - Static variable in class org.djutils.math.AngleUtil
-
The value 2π.
- plus(double) - Method in class org.djutils.math.complex.Complex
-
Add a scalar to this Complex.
- plus(Complex) - Method in class org.djutils.math.complex.Complex
-
Add this Complex and another Complex.
- PolynomialRoots - Class in org.djutils.math.polynomialroots
-
PolynomialRoots.java.
- PolynomialRoots2 - Class in org.djutils.math.polynomialroots
-
PolynomialRoots2 implements functions to find all roots of linear, quadratic, cubic and quartic polynomials, as well as higher order polynomials without restrictions on the order.
- Power - Class in org.djutils.math.functions
-
MathFunctions that are a constant times some power of x; generally
f(x) → a * x^bwhere a ∈ ℝ and b ∈ ℝ - Power(double) - Constructor for class org.djutils.math.functions.Power
-
Create a new power function with weight 1.0 and the supplied value as exponent.
- Power(double, double) - Constructor for class org.djutils.math.functions.Power
-
Construct a new power function.
- Power(MathFunction, double) - Constructor for class org.djutils.math.functions.Power
-
Create a new power function with weight 1.0 and the supplied value as exponent.
- Power(MathFunction, double, double) - Constructor for class org.djutils.math.functions.Power
-
Construct a new power function.
- printValue(double) - Method in interface org.djutils.math.functions.MathFunction
-
Format a numerical value.
- Product - Class in org.djutils.math.functions
-
Multiply functions.
- Product(List<MathFunction>) - Constructor for class org.djutils.math.functions.Product
-
Construct the product of one or more functions.
- Product(MathFunction...) - Constructor for class org.djutils.math.functions.Product
-
Construct the product of one or more functions.
Q
- quadraticRoots(double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots
-
QUADRATIC POLYNOMIAL ROOT SOLVER
- quadraticRoots(double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
QUADRATIC POLYNOMIAL ROOT SOLVER
- quadraticRoots(double, double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots
-
QUADRATIC POLYNOMIAL ROOT SOLVER
- quadraticRoots(double, double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
QUADRATIC POLYNOMIAL ROOT SOLVER
- quarticRoots(double, double, double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots
-
QUARTIC POLYNOMIAL ROOT SOLVER
- quarticRoots(double, double, double, double, boolean) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots
-
QUARTIC POLYNOMIAL ROOT SOLVER
- quarticRoots(double, double, double, double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots
-
QUARTIC POLYNOMIAL ROOT SOLVER
- quarticRootsAberthEhrlich(double, double, double, double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
QUADRATIC POLYNOMIAL ROOT SOLVER.
- quarticRootsDurandKerner(double, double, double, double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
QUADRATIC POLYNOMIAL ROOT SOLVER.
- Quotient - Class in org.djutils.math.functions
-
Quotient.java.
- Quotient(MathFunction, MathFunction) - Constructor for class org.djutils.math.functions.Quotient
-
Construct a new Quotient; division of two
MathFunctions, generallynumerator / denominator.
R
- re - Variable in class org.djutils.math.complex.Complex
-
Real component.
- reciprocal() - Method in class org.djutils.math.complex.Complex
-
Compute the reciprocal of this Complex.
- rootBisection(double[], double, double, double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
Polynomial root finder using the bisection method combined with bisection to avoid cycles and the algorithm going out of bounds.
- rootNewtonRaphson(double[], double) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
Polynomial root finder using the Newton-Raphson method.
- rootsAberthEhrlich(Complex[]) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
Polynomial root finder using the Aberth-Ehrlich method or Aberth method, with complex coefficients for the polynomial equation.
- rootsDurandKerner(Complex[]) - Static method in class org.djutils.math.polynomialroots.PolynomialRoots2
-
Polynomial root finder using the Durand-Kerner method, with complex coefficients for the polynomial equation.
- rotate(double) - Method in class org.djutils.math.complex.Complex
-
Rotate this Complex by an angle.
S
- s() - Method in record class org.djutils.math.functions.MathFunction.TupleSt
-
Returns the value of the
srecord component. - scaleBy(double) - Method in class org.djutils.math.functions.ArcSine
- scaleBy(double) - Method in class org.djutils.math.functions.ArcTangent
- scaleBy(double) - Method in class org.djutils.math.functions.Concatenation
- scaleBy(double) - Method in class org.djutils.math.functions.Constant
- scaleBy(double) - Method in class org.djutils.math.functions.Exponential
- scaleBy(double) - Method in class org.djutils.math.functions.Logarithm
- scaleBy(double) - Method in interface org.djutils.math.functions.MathFunction
-
Incorporate a multiplication factor to this MathFunction.
- scaleBy(double) - Method in class org.djutils.math.functions.Nan
- scaleBy(double) - Method in class org.djutils.math.functions.Power
- scaleBy(double) - Method in class org.djutils.math.functions.Product
- scaleBy(double) - Method in class org.djutils.math.functions.Quotient
- scaleBy(double) - Method in class org.djutils.math.functions.Sine
- scaleBy(double) - Method in class org.djutils.math.functions.Sum
- simplify() - Method in class org.djutils.math.functions.ArcSine
- simplify() - Method in class org.djutils.math.functions.ArcTangent
- simplify() - Method in class org.djutils.math.functions.Constant
- simplify() - Method in class org.djutils.math.functions.Exponential
- simplify() - Method in class org.djutils.math.functions.Logarithm
- simplify() - Method in interface org.djutils.math.functions.MathFunction
-
Attempts to find a simplified version of this MathFunction (e.g. replace
1 - 5by-4). - simplify() - Method in class org.djutils.math.functions.Power
- simplify() - Method in class org.djutils.math.functions.Product
- simplify() - Method in class org.djutils.math.functions.Quotient
- simplify() - Method in class org.djutils.math.functions.Sine
- simplify() - Method in class org.djutils.math.functions.Sum
- sin(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Sine function of a Complex operand.
- Sine - Class in org.djutils.math.functions
-
Sine function.
- Sine(double, double, double) - Constructor for class org.djutils.math.functions.Sine
-
Construct a new Sine function
factor * sin(omega * x + shift). - Sine(MathFunction, double, double, double) - Constructor for class org.djutils.math.functions.Sine
-
Construct a new Sine function
factor * sin(omega * x + shift). - sinh(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Hyperbolic sine function of a Complex operand.
- sortPriority() - Method in class org.djutils.math.functions.ArcSine
- sortPriority() - Method in class org.djutils.math.functions.ArcTangent
- sortPriority() - Method in class org.djutils.math.functions.Concatenation
- sortPriority() - Method in class org.djutils.math.functions.Constant
- sortPriority() - Method in class org.djutils.math.functions.Exponential
- sortPriority() - Method in class org.djutils.math.functions.Logarithm
- sortPriority() - Method in interface org.djutils.math.functions.MathFunction
-
Sorting priority of this type of MathFunction (low values shall sort before higher).
- sortPriority() - Method in class org.djutils.math.functions.Nan
- sortPriority() - Method in class org.djutils.math.functions.Power
- sortPriority() - Method in class org.djutils.math.functions.Product
- sortPriority() - Method in class org.djutils.math.functions.Quotient
- sortPriority() - Method in class org.djutils.math.functions.Sine
- sortPriority() - Method in class org.djutils.math.functions.Sum
- sqrt(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Principal square root of a Complex operand.
- Sum - Class in org.djutils.math.functions
-
Add up one or more MathFunction objects.
- Sum(List<MathFunction>) - Constructor for class org.djutils.math.functions.Sum
-
Construct the sum of one or more functions.
- Sum(MathFunction...) - Constructor for class org.djutils.math.functions.Sum
-
Construct the sum of one or more functions.
- SuperScript - Class in org.djutils.math.functions
-
Draw text in unicode superscript glyphs.
- SuperScript() - Constructor for class org.djutils.math.functions.SuperScript
-
Create the SuperScript converter.
T
- t() - Method in record class org.djutils.math.functions.MathFunction.TupleSt
-
Returns the value of the
trecord component. - tan(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Tangent function of a Complex operand.
- tanh(Complex) - Static method in class org.djutils.math.complex.ComplexMath
-
Hyperbolic tangent function of a Complex operand.
- times(double) - Method in class org.djutils.math.complex.Complex
-
Multiply this Complex with a scalar.
- times(Complex) - Method in class org.djutils.math.complex.Complex
-
Multiply this Complex with another Complex.
- toString() - Method in class org.djutils.math.complex.Complex
- toString() - Method in class org.djutils.math.functions.ArcSine
- toString() - Method in class org.djutils.math.functions.ArcTangent
- toString() - Method in class org.djutils.math.functions.Concatenation
- toString() - Method in class org.djutils.math.functions.Constant
- toString() - Method in class org.djutils.math.functions.Exponential
- toString() - Method in record class org.djutils.math.functions.Interval
-
Returns a string representation of this record class.
- toString() - Method in class org.djutils.math.functions.Logarithm
- toString() - Method in record class org.djutils.math.functions.MathFunction.TupleSt
-
Returns a string representation of this record class.
- toString() - Method in class org.djutils.math.functions.Nan
- toString() - Method in class org.djutils.math.functions.Power
- toString() - Method in class org.djutils.math.functions.Product
- toString() - Method in class org.djutils.math.functions.Quotient
- toString() - Method in class org.djutils.math.functions.Sine
- toString() - Method in class org.djutils.math.functions.Sum
- toString() - Method in class org.djutils.math.means.ArithmeticMean
- toString() - Method in class org.djutils.math.means.GeometricMean
- toString() - Method in class org.djutils.math.means.HarmonicMean
- translate(char) - Method in class org.djutils.math.functions.SuperScript
-
Translate one character to superscript.
- translate(String) - Method in class org.djutils.math.functions.SuperScript
-
Translate a String into superscript.
- TupleSt(double, double) - Constructor for record class org.djutils.math.functions.MathFunction.TupleSt
-
Creates an instance of a
TupleStrecord class.
U
- UNKNOWN - Enum constant in enum class org.djutils.math.functions.KnotReport
-
The presence, or number of knots in the interval is not known.
V
- valueOf(String) - Static method in enum class org.djutils.math.functions.Concatenation.Discontinuity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.djutils.math.functions.KnotReport
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.djutils.math.functions.Concatenation.Discontinuity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.djutils.math.functions.KnotReport
-
Returns an array containing the constants of this enum class, in the order they are declared.
Z
- ZERO - Static variable in class org.djutils.math.complex.Complex
-
The zero value in the complex number space.
- ZERO - Static variable in class org.djutils.math.functions.Constant
-
The constant value function that is always zero and has infinite domain.
All Classes and Interfaces|All Packages|Constant Field Values