Interface FloatMathFunctions
public interface FloatMathFunctions
FloatMathFunctions provides a static implementation of Math functions.
This file was generated by the djunits value classes generator, 26 jun, 2015
Copyright (c) 2015-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
- Author:
- Alexander Verbraeck, Peter Knoppers
-
Field Summary
Fields Modifier and Type Field Description static FloatFunction
ABS
Function that returnsMath.abs(a)
.static FloatFunction
ACOS
Function that returnsMath.acos(a)
.static FloatFunction
ASIN
Function that returnsMath.asin(a)
.static FloatFunction
ATAN
Function that returnsMath.atan(a)
.static FloatFunction
CBRT
Function that returnsMath.cbrt(a)
.static FloatFunction
CEIL
Function that returnsMath.ceil(a)
.static FloatFunction
COS
Function that returnsMath.cos(a)
.static FloatFunction
COSH
Function that returnsMath.cosh(a)
.static FloatFunction
EXP
Function that returnsMath.exp(a)
.static FloatFunction
EXPM1
Function that returnsMath.expm1(a)
.static FloatFunction
FLOOR
Function that returnsMath.floor(a)
.static FloatFunction
INV
Function that returns1/a
.static FloatFunction
LOG
Function that returnsMath.log(a)
.static FloatFunction
LOG10
Function that returnsMath.log10(a)
.static FloatFunction
LOG1P
Function that returnsMath.log1p(a)
.static FloatFunction
NEG
Function that returns-a
.static FloatFunction
RINT
Function that returnsMath.rint(a)
.static FloatFunction
SIGNUM
Function that returnsMath.signum(a)
.static FloatFunction
SIN
Function that returnsMath.sin(a)
.static FloatFunction
SINH
Function that returnsMath.sinh(a)
.static FloatFunction
SQRT
Function that returnsMath.sqrt(a)
.static FloatFunction
TAN
Function that returnsMath.tan(a)
.static FloatFunction
TANH
Function that returnsMath.tanh(a)
. -
Method Summary
Static Methods Modifier and Type Method Description static FloatFunction
DEC(float b)
Function that returnsa - b
.static FloatFunction
DIV(float b)
Function that returnsa / b
.static FloatFunction
INC(float b)
Function that returnsa + b
.static FloatFunction
MULT(float b)
Function that returnsa * b
.static FloatFunction
POW(float b)
Function that returnsMath.pow(a, b)
.
-
Field Details
-
ABS
Function that returnsMath.abs(a)
. -
ACOS
Function that returnsMath.acos(a)
. -
ASIN
Function that returnsMath.asin(a)
. -
ATAN
Function that returnsMath.atan(a)
. -
CBRT
Function that returnsMath.cbrt(a)
. -
CEIL
Function that returnsMath.ceil(a)
. -
COS
Function that returnsMath.cos(a)
. -
COSH
Function that returnsMath.cosh(a)
. -
EXP
Function that returnsMath.exp(a)
. -
EXPM1
Function that returnsMath.expm1(a)
. -
FLOOR
Function that returnsMath.floor(a)
. -
LOG
Function that returnsMath.log(a)
. -
LOG10
Function that returnsMath.log10(a)
. -
LOG1P
Function that returnsMath.log1p(a)
. -
NEG
Function that returns-a
. -
RINT
Function that returnsMath.rint(a)
. -
SIGNUM
Function that returnsMath.signum(a)
. -
SIN
Function that returnsMath.sin(a)
. -
SINH
Function that returnsMath.sinh(a)
. -
SQRT
Function that returnsMath.sqrt(a)
. -
TAN
Function that returnsMath.tan(a)
. -
TANH
Function that returnsMath.tanh(a)
. -
INV
Function that returns1/a
.
-
-
Method Details
-
POW
Function that returnsMath.pow(a, b)
.- Parameters:
b
- float; power parameter- Returns:
- power function
-
INC
Function that returnsa + b
.- Parameters:
b
- float; increment- Returns:
- power function
-
DEC
Function that returnsa - b
.- Parameters:
b
- float; decrement- Returns:
- power function
-
MULT
Function that returnsa * b
.- Parameters:
b
- float; multiplier- Returns:
- power function
-
DIV
Function that returnsa / b
.- Parameters:
b
- float; divisor- Returns:
- power function
-