Math functions – Multichannel Systems NeuroExplorer User Manual
Page 279
5.5.13. Math Functions
The following math functions are available in NexScript
Function
Description
Initializes random number generator.
Generates a random value exponentially distributed with the
specified mean.
Returns the largest integer that is less than or equal to the
specified number.
Returns the smallest integer that is greater than or equal to the
specified number.
Rounds the specified number to the nearest integer.
Returns the absolute value of the specified number.
Returns square root of the specified number.
Returns the specified number raised to the specified power.
Returns exponential of the specified number.
Returns minimum of two numbers.
Returns maximum two number.
Returns logarithm of the specified number.
Returns sine of the specified number.
Returns cosine of the specified number.
Returns tangent of the specified number.
Returns arccosine of the specified number.
Returns arcsine of the specified number.
Returns arctangent of the specified number.
Rounds the number to the nearest timestamp value.
Returns the index of the first timestamp in the specified variable
that is greater or equal to the specified number.
Returns the index of the first timestamp in the specified variable
that is greater than the specified number.
Calculates the number of timestamps in neuron the specified
time interval.
Converts values to unsigned integers and performs bitwise AND
operation.
Converts values to unsigned integers and performs bitwise OR
operation.
Converts the specified number to an unsigned integer and
returns the value of the specified bit (1 to 32).
Page 277