org.djunits.value.vfloat

## Interface FloatMathFunctionsDimensionless<T>

• Type Parameters:
`T` - the return type
All Superinterfaces:
MathFunctionsDimensionless<T>

```public interface FloatMathFunctionsDimensionless<T>
extends MathFunctionsDimensionless<T>```

\$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) \$, @version \$Revision: 1147 \$, by \$Author: averbraeck \$, initial version Oct 14, 2016
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
• ### Method Summary

All Methods
Modifier and Type Method and Description
`default 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.
`default 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.
`void` `assign(FloatFunction floatFunction)`
Execute a function on a cell by cell basis.
`default 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.
`default T` `cbrt()`
Set the value(s) to the(ir) cube root.
`default T` `cos()`
Set the value(s) to the trigonometric cosine of the value(s).
`default T` `cosh()`
Set the value(s) to the hyperbolic cosine of the value(s).
`default T` `exp()`
Set the value(s) to Euler's number e raised to the power of the value(s).
`default T` `expm1()`
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
`default T` `inv()`
Set the value(s) to the complement (1.0/x) of the value(s).
`default T` `log()`
Set the value(s) to the natural logarithm (base e) of the value(s).
`default T` `log10()`
Set the value(s) to the base 10 logarithm of the value(s).
`default T` `log1p()`
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
`default T` `neg()`
Set the value(s) to the minus value.
`default T` `pow(double x)`
Set the value(s) to the value(s) raised to the power of the argument.
`default 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.
`default T` `sin()`
Set the value(s) to the trigonometric sine of the value(s).
`default T` `sinh()`
Set the value(s) to the hyperbolic sine of the value(s).
`default T` `sqrt()`
Set the value(s) to the correctly rounded positive square root of the value(s).
`default T` `tan()`
Set the value(s) to the trigonometric tangent of the value(s).
`default T` `tanh()`
Set the value(s) to the hyperbolic tangent of the value(s).
• ### Method Detail

• #### assign

`void assign(FloatFunction floatFunction)`
Execute a function on a cell by cell basis. Note: because many functions have to act on zero cells or can generate cells with a zero value, the functions have to be applied on a dense dataset which has to be transformed back to a sparse dataset if necessary.
Parameters:
`floatFunction` - FloatFunction; the function to apply
• #### acos

`default 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.
Specified by:
`acos` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### asin

`default 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.
Specified by:
`asin` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### atan

`default 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.
Specified by:
`atan` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### cbrt

`default T cbrt()`
Set the value(s) to the(ir) cube root.
Specified by:
`cbrt` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### cos

`default T cos()`
Set the value(s) to the trigonometric cosine of the value(s).
Specified by:
`cos` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### cosh

`default T cosh()`
Set the value(s) to the hyperbolic cosine of the value(s).
Specified by:
`cosh` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### exp

`default T exp()`
Set the value(s) to Euler's number e raised to the power of the value(s).
Specified by:
`exp` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### expm1

`default T expm1()`
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
Specified by:
`expm1` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### log

`default T log()`
Set the value(s) to the natural logarithm (base e) of the value(s).
Specified by:
`log` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### log10

`default T log10()`
Set the value(s) to the base 10 logarithm of the value(s).
Specified by:
`log10` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### log1p

`default T log1p()`
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
Specified by:
`log1p` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### neg

`default T neg()`
Set the value(s) to the minus value.
Specified by:
`neg` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### pow

`default T pow(double x)`
Set the value(s) to the value(s) raised to the power of the argument.
Specified by:
`pow` in interface `MathFunctionsDimensionless<T>`
Parameters:
`x` - double; the value to use as the power
Returns:
T; the modified T
• #### signum

`default 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.
Specified by:
`signum` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### sin

`default T sin()`
Set the value(s) to the trigonometric sine of the value(s).
Specified by:
`sin` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### sinh

`default T sinh()`
Set the value(s) to the hyperbolic sine of the value(s).
Specified by:
`sinh` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### sqrt

`default T sqrt()`
Set the value(s) to the correctly rounded positive square root of the value(s).
Specified by:
`sqrt` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### tan

`default T tan()`
Set the value(s) to the trigonometric tangent of the value(s).
Specified by:
`tan` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### tanh

`default T tanh()`
Set the value(s) to the hyperbolic tangent of the value(s).
Specified by:
`tanh` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T
• #### inv

`default T inv()`
Set the value(s) to the complement (1.0/x) of the value(s).
Specified by:
`inv` in interface `MathFunctionsDimensionless<T>`
Returns:
T; the modified T