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-2020 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 Detail
-
ABS
static final FloatFunction ABS
Function that returnsMath.abs(a)
.
-
ACOS
static final FloatFunction ACOS
Function that returnsMath.acos(a)
.
-
ASIN
static final FloatFunction ASIN
Function that returnsMath.asin(a)
.
-
ATAN
static final FloatFunction ATAN
Function that returnsMath.atan(a)
.
-
CBRT
static final FloatFunction CBRT
Function that returnsMath.cbrt(a)
.
-
CEIL
static final FloatFunction CEIL
Function that returnsMath.ceil(a)
.
-
COS
static final FloatFunction COS
Function that returnsMath.cos(a)
.
-
COSH
static final FloatFunction COSH
Function that returnsMath.cosh(a)
.
-
EXP
static final FloatFunction EXP
Function that returnsMath.exp(a)
.
-
EXPM1
static final FloatFunction EXPM1
Function that returnsMath.expm1(a)
.
-
FLOOR
static final FloatFunction FLOOR
Function that returnsMath.floor(a)
.
-
LOG
static final FloatFunction LOG
Function that returnsMath.log(a)
.
-
LOG10
static final FloatFunction LOG10
Function that returnsMath.log10(a)
.
-
LOG1P
static final FloatFunction LOG1P
Function that returnsMath.log1p(a)
.
-
NEG
static final FloatFunction NEG
Function that returns-a
.
-
RINT
static final FloatFunction RINT
Function that returnsMath.rint(a)
.
-
SIGNUM
static final FloatFunction SIGNUM
Function that returnsMath.signum(a)
.
-
SIN
static final FloatFunction SIN
Function that returnsMath.sin(a)
.
-
SINH
static final FloatFunction SINH
Function that returnsMath.sinh(a)
.
-
SQRT
static final FloatFunction SQRT
Function that returnsMath.sqrt(a)
.
-
TAN
static final FloatFunction TAN
Function that returnsMath.tan(a)
.
-
TANH
static final FloatFunction TANH
Function that returnsMath.tanh(a)
.
-
INV
static final FloatFunction INV
Function that returns1/a
.
-
-
Method Detail
-
POW
static FloatFunction POW(float b)
Function that returnsMath.pow(a, b)
.- Parameters:
b
- float; power parameter- Returns:
- power function
-
INC
static FloatFunction INC(float b)
Function that returnsa + b
.- Parameters:
b
- float; increment- Returns:
- power function
-
DEC
static FloatFunction DEC(float b)
Function that returnsa - b
.- Parameters:
b
- float; decrement- Returns:
- power function
-
MULT
static FloatFunction MULT(float b)
Function that returnsa * b
.- Parameters:
b
- float; multiplier- Returns:
- power function
-
DIV
static FloatFunction DIV(float b)
Function that returnsa / b
.- Parameters:
b
- float; divisor- Returns:
- power function
-
-