Uses of Interface
org.djutils.math.functions.MathFunction
Packages that use MathFunction
-
Uses of MathFunction in org.djutils.math.functions
Classes in org.djutils.math.functions that implement MathFunctionModifier and TypeClassDescriptionclassArcSine function.classArcTangent.java.classConcatenate FunctionInterface objectsclassConstant value function;f(x) → cwherec ∈ ℝ.classExponential function.classLogarithms.final classNan; MathFunction that returns NaN.classMathFunctions that are a constant times some power of x; generallyf(x) → a * x^bwhere a ∈ ℝ and b ∈ ℝclassMultiply functions.classQuotient.java.classSine function.classAdd up one or more MathFunction objects.Methods in org.djutils.math.functions that return MathFunctionModifier and TypeMethodDescriptionArcSine.getDerivative()ArcTangent.getDerivative()Exponential.getDerivative()Logarithm.getDerivative()MathFunction.getDerivative()Returns the derivative of the data with respect to fractional length.Nan.getDerivative()Power.getDerivative()Product.getDerivative()Quotient.getDerivative()Sine.getDerivative()Sum.getDerivative()Constant.mergeAdd(MathFunction other) Exponential.mergeAdd(MathFunction other) Logarithm.mergeAdd(MathFunction other) default MathFunctionMathFunction.mergeAdd(MathFunction other) This MathFunction is added to another; try to replace both by a combinedMathFunction.Power.mergeAdd(MathFunction other) Sine.mergeAdd(MathFunction other) default MathFunctionMathFunction.mergeDivide(MathFunction other) This MathFunction is divided by another; try to replace both by a combined MathFunction.Power.mergeDivide(MathFunction other) Constant.mergeMultiply(MathFunction other) default MathFunctionMathFunction.mergeMultiply(MathFunction other) This MathFunction is multiplied by another; try to replace both by a combined MathFunction.Power.mergeMultiply(MathFunction other) Sine.mergeMultiply(MathFunction other) ArcSine.scaleBy(double scaleFactor) ArcTangent.scaleBy(double scaleFactor) Concatenation.scaleBy(double factor) Constant.scaleBy(double factor) Exponential.scaleBy(double scaleFactor) Logarithm.scaleBy(double scaleFactor) MathFunction.scaleBy(double factor) Incorporate a multiplication factor to this MathFunction.Nan.scaleBy(double factor) Power.scaleBy(double factor) Product.scaleBy(double scaleFactor) Quotient.scaleBy(double factor) Sine.scaleBy(double scaleFactor) Sum.scaleBy(double factor) ArcSine.simplify()ArcTangent.simplify()Constant.simplify()Exponential.simplify()Logarithm.simplify()default MathFunctionMathFunction.simplify()Attempts to find a simplified version of this MathFunction (e.g. replace1 - 5by-4).Power.simplify()Product.simplify()Quotient.simplify()Sine.simplify()Sum.simplify()Methods in org.djutils.math.functions with parameters of type MathFunctionModifier and TypeMethodDescriptionstatic ArcSineArcSine.arcCosine(MathFunction chain, double omega) Construct an arc cosine function using the equationacos(x) === π/2-asin(x).default intMathFunction.compareChains(MathFunction chain1, MathFunction chain2) Compare chains for sorting.default intMathFunction.compareTo(MathFunction other) intArcSine.compareWithinSubType(MathFunction other) intArcTangent.compareWithinSubType(MathFunction other) intConcatenation.compareWithinSubType(MathFunction other) intConstant.compareWithinSubType(MathFunction other) intExponential.compareWithinSubType(MathFunction other) intLogarithm.compareWithinSubType(MathFunction other) intMathFunction.compareWithinSubType(MathFunction other) Determine sorting order among instances of a particular sub type ofMathFunction.intNan.compareWithinSubType(MathFunction other) intPower.compareWithinSubType(MathFunction other) intProduct.compareWithinSubType(MathFunction other) intQuotient.compareWithinSubType(MathFunction other) intSine.compareWithinSubType(MathFunction other) intSum.compareWithinSubType(MathFunction other) Constant.mergeAdd(MathFunction other) Exponential.mergeAdd(MathFunction other) Logarithm.mergeAdd(MathFunction other) default MathFunctionMathFunction.mergeAdd(MathFunction other) This MathFunction is added to another; try to replace both by a combinedMathFunction.Power.mergeAdd(MathFunction other) Sine.mergeAdd(MathFunction other) default MathFunctionMathFunction.mergeDivide(MathFunction other) This MathFunction is divided by another; try to replace both by a combined MathFunction.Power.mergeDivide(MathFunction other) Constant.mergeMultiply(MathFunction other) default MathFunctionMathFunction.mergeMultiply(MathFunction other) This MathFunction is multiplied by another; try to replace both by a combined MathFunction.Power.mergeMultiply(MathFunction other) Sine.mergeMultiply(MathFunction other) Constructors in org.djutils.math.functions with parameters of type MathFunctionModifierConstructorDescriptionArcSine(MathFunction chain) Construct a new ArcSine function withomegaequal to1.0and noshift.ArcSine(MathFunction chain, double omega) Construct a new ArcSine function withshiftequal to0.0.ArcSine(MathFunction chain, double omega, double shift) Construct a new ArcSine function.ArcTangent(MathFunction chain) Construct a new ArcTangent function withomegaequal to1.0and noshift.ArcTangent(MathFunction chain, double omega) Construct a new ArcTangent function withshiftequal to0.0.ArcTangent(MathFunction chain, double omega, double shift) Construct a new ArcTangent function.Exponential(MathFunction chain) Construct a new Exponential of aMathFunction.Exponential(MathFunction chain, double factor) Construct a new Exponential of aMathFunction.Logarithm(MathFunction chain) Natural logarithm of chainedMathFunction.Logarithm(MathFunction chain, double base) Logarithm of chained function and user specified base.Power(MathFunction chain, double power) Create a new power function with weight 1.0 and the supplied value as exponent.Power(MathFunction chain, double weight, double power) Construct a new power function.Product(MathFunction... functions) Construct the product of one or more functions.Quotient(MathFunction numerator, MathFunction denominator) Construct a new Quotient; division of twoMathFunctions, generallynumerator / denominator.Sine(MathFunction chain, double amplitude, double omega, double shift) Construct a new Sine functionfactor * sin(omega * x + shift).Sum(MathFunction... functions) Construct the sum of one or more functions.Constructor parameters in org.djutils.math.functions with type arguments of type MathFunctionModifierConstructorDescriptionConstruct a Concatenation from a sorted set of Interval<MathFunction>.Product(List<MathFunction> functions) Construct the product of one or more functions.Sum(List<MathFunction> functions) Construct the sum of one or more functions.