Unary Function
A function that accepts a single double
and returns a double
result. This is used to represent arbitrary mapping functions for converting units to and from a base unit representation. Temperature units, in particular, typically have an offset from a value in Kelvin and may have a multiplication factor added in, which means that units cannot always be represented as simple ratios of their base units.
Since
1.0.0-pre
Inheritors
Properties
Link copied to clipboard
A function that cubes the input value.
Link copied to clipboard
A function that cubes the input value and keeps the sign.
Link copied to clipboard
The identity function that simply returns the input value.
Link copied to clipboard
A function that negates the input value.
Link copied to clipboard
A function that squares the input value.
Link copied to clipboard
A function that squares the input value and keeps the sign.
Functions
Link copied to clipboard
Applies this function to the input value and returns the result.
Link copied to clipboard
Creates a composite function h(x) such that h(x) = f(x) / g(x).
Creates a composite function h(x) such that h(x) = 1/k * f(x).
Link copied to clipboard
Creates a composite function h(x) such that h(x) = f(x) ^ g(x).
Creates a composite function h(x) such that h(x) = f(x) ^ k.
Link copied to clipboard
Creates a composite function h(x) such that h(x) = f(x) * g(x).
Creates a composite function h(x) such that h(x) = k * f(x).
Link copied to clipboard
Constructs a new function that first calls this function, then passes the result to another as input.