Interface DoubleMathFunctions
- All Known Implementing Classes:
DimensionlessVector
public interface DoubleMathFunctions
DoubleMathFunctions provides a static implementation of Math functions.
This file was generated by the djunits value classes generator, 26 jun, 2015
Copyright (c) 2015-2024 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
Modifier and TypeFieldDescriptionstatic final DoubleFunction
Function that returnsMath.abs(a)
.static final DoubleFunction
Function that returnsMath.acos(a)
.static final DoubleFunction
Function that returnsMath.asin(a)
.static final DoubleFunction
Function that returnsMath.atan(a)
.static final DoubleFunction
Function that returnsMath.cbrt(a)
.static final DoubleFunction
Function that returnsMath.ceil(a)
.static final DoubleFunction
Function that returnsMath.cos(a)
.static final DoubleFunction
Function that returnsMath.cosh(a)
.static final DoubleFunction
Function that returnsMath.exp(a)
.static final DoubleFunction
Function that returnsMath.expm1(a)
.static final DoubleFunction
Function that returnsMath.floor(a)
.static final DoubleFunction
Function that returns1/a
.static final DoubleFunction
Function that returnsMath.log(a)
.static final DoubleFunction
Function that returnsMath.log10(a)
.static final DoubleFunction
Function that returnsMath.log1p(a)
.static final DoubleFunction
Function that returns-a
.static final DoubleFunction
Function that returnsMath.rint(a)
.static final DoubleFunction
Function that returnsMath.signum(a)
.static final DoubleFunction
Function that returnsMath.sin(a)
.static final DoubleFunction
Function that returnsMath.sinh(a)
.static final DoubleFunction
Function that returnsMath.sqrt(a)
.static final DoubleFunction
Function that returnsMath.tan(a)
.static final DoubleFunction
Function that returnsMath.tanh(a)
. -
Method Summary
Modifier and TypeMethodDescriptionstatic DoubleFunction
DEC
(double b) Function that returnsa - b
.static DoubleFunction
DIV
(double b) Function that returnsa / b
.static DoubleFunction
INC
(double b) Function that returnsa + b
.static DoubleFunction
MULT
(double b) Function that returnsa * b
.static DoubleFunction
POW
(double 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
- double; power parameter- Returns:
- power function
-
INC
Function that returnsa + b
.- Parameters:
b
- double; increment- Returns:
- power function
-
DEC
Function that returnsa - b
.- Parameters:
b
- double; decrement- Returns:
- power function
-
MULT
Function that returnsa * b
.- Parameters:
b
- double; multiplier- Returns:
- power function
-
DIV
Function that returnsa / b
.- Parameters:
b
- double; divisor- Returns:
- power function
-