Package net.algart.math.patterns
Class UpperHalfEllipsoidOfRevolutionFunc
java.lang.Object
net.algart.math.functions.AbstractFunc
net.algart.math.patterns.UpperHalfEllipsoidOfRevolutionFunc
- 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 TypeMethodDescriptiondouble
get
(double... x) Returns the result of this function for the given arguments: f(x0, x1, ..., xx.length-1).getInstance
(double r, double semiAxisForResultingCoordinate, double resultAtOrigin) toString()
-
Method Details
-
getInstance
public static UpperHalfEllipsoidOfRevolutionFunc getInstance(double r, double semiAxisForResultingCoordinate, double resultAtOrigin) -
get
public 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.
-
toString
-