T
- the type of the value that the functions operate onpublic interface MathFunctions<T> extends Serializable
This file was generated by the OpenTrafficSim value classes generator, 26 jun, 2015
Copyright (c) 2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Method and Description |
---|---|
T |
abs()
Set the value(s) to their absolute value.
|
T |
acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
T |
asin()
Set the value(s) to the arc sine of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
T |
atan()
Set the value(s) to the arc tangent of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
T |
cbrt()
Set the value(s) to the(ir) cube root.
|
T |
ceil()
Set the value(s) to the smallest (closest to negative infinity) value(s) that are greater than or equal to the
argument and equal to a mathematical integer.
|
T |
cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
T |
cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
T |
exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
T |
expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
T |
floor()
Set the value(s) to the largest (closest to positive infinity) value(s) that are less than or equal to the
argument and equal to a mathematical integer.
|
T |
inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
T |
log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
T |
log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
T |
log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
T |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
T |
rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
T |
round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
T |
signum()
Set the value(s) to the signum function of the value(s); zero if the argument is zero, 1.0 if the argument is
greater than zero, -1.0 if the argument is less than zero.
|
T |
sin()
Set the value(s) to the trigonometric sine of the value(s).
|
T |
sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
T |
sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
T |
tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
T |
tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
T |
toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
T |
toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
T abs()
T acos()
T asin()
T atan()
T cbrt()
T ceil()
T cos()
T cosh()
T exp()
T expm1()
T floor()
T log()
T log10()
T log1p()
T pow(double x)
x
- double; the value to use as the powerT rint()
T round()
T signum()
T sin()
T sinh()
T sqrt()
T tan()
T tanh()
T toDegrees()
T toRadians()
T inv()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.