Package net.algart.math.patterns
Class HyperboloidOfRevolutionFunc
java.lang.Object
net.algart.math.functions.AbstractFunc
net.algart.math.patterns.HyperboloidOfRevolutionFunc
- All Implemented Interfaces:
Func
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.algart.math.functions.Func
Func.Updatable
-
Field Summary
Fields inherited from interface net.algart.math.functions.Func
ABS, ABS_DIFF, HALF_X_MINUS_Y, HALF_X_PLUS_Y, HALF_Y_MINUS_X, IDENTITY, MAX, MIN, POSITIVE_DIFF, REVERSE, SELECT, SELECT_FROM_8_DIRECTIONS_2D, SELECT_IF_GREATER, SELECT_IF_GREATER_OR_EQUAL, SHIFTS_ALONG_8_DIRECTIONS_2D, UPDATABLE_IDENTITY, X_MINUS_Y, X_PLUS_Y, Y_MINUS_X
-
Method Summary
Modifier and TypeMethodDescriptionabstract double
get
(double... x) Returns the result of this function for the given arguments: f(x0, x1, ..., xx.length-1).static HyperboloidOfRevolutionFunc
getLowerInstance
(double scale, double semiAxisForResultingCoordinate, double resultAtOrigin) static HyperboloidOfRevolutionFunc
getUpperInstance
(double scale, double semiAxisForResultingCoordinate, double resultAtOrigin)
-
Method Details
-
getUpperInstance
public static HyperboloidOfRevolutionFunc getUpperInstance(double scale, double semiAxisForResultingCoordinate, double resultAtOrigin) -
getLowerInstance
public static HyperboloidOfRevolutionFunc getLowerInstance(double scale, double semiAxisForResultingCoordinate, double resultAtOrigin) -
get
public abstract double get(double... x) Description copied from interface:Func
Returns the result of this function for the given arguments: f(x0, x1, ..., xx.length-1).This method must not change the values of x elements!
- Specified by:
get
in interfaceFunc
- Specified by:
get
in classAbstractFunc
- Parameters:
x
- the function arguments.- Returns:
- the function result.
-