Math module¶
The mathematical functions take a parameter object as argument, and return a new parameter which applies the mathematical function on the parameter given as argument.
Syntax:¶
nest.math.sin(x)
nest.math.redraw(x, min, max)
- nest.math.hl_api_math.cos(parameter)¶
Calculate the cosine of the parameter
- nest.math.hl_api_math.exp(parameter)¶
Calculate the exponential of the parameter
- nest.math.hl_api_math.max(parameter, value)¶
Yields the largest value of the value of a parameter and a given value
- nest.math.hl_api_math.min(parameter, value)¶
Yields the smallest value of the value of a parameter and a given value
- nest.math.hl_api_math.redraw(parameter, min, max)¶
Redraws the value of the parameter if it is outside of the given limits
Both min and max values are included in the limit. If the number of redraws exceeds 1000, an error is thrown.