T
- the type of the value that the functions operate onpublic interface MathFunctionsDimensionless<T>
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.
$LastChangedDate: 2015-10-04 20:48:33 +0200 (Sun, 04 Oct 2015) $, @version $Revision: 87 $, by $Author: averbraeck $, initial
version 26 jun, 2015
Modifier and Type | Method and Description |
---|---|
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 |
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 |
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 |
neg()
Set the value(s) to the minus value.
|
T |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
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 acos()
T asin()
T atan()
T cbrt()
T cos()
T cosh()
T exp()
T expm1()
T log()
T log10()
T log1p()
T neg()
T pow(double x)
x
- double; the value to use as the powerT signum()
T sin()
T sinh()
T sqrt()
T tan()
T tanh()
T inv()
Copyright © 2015–2019 Delft University of Technology. All rights reserved.