|
|
Math Objects
Infinity supports a whole range of mathematical objects. They cover basic mathematical functions such as addition, subtraction, multiplication, division, and logical or-ing and and-ing of two numbers. They let you also generate random numbers, report changes in values, limit the range of a number, record minimum and maximum values and so on. The most comprehensive math object is the Macro object which allows you to write complex mathematical functions with multiple inputs and outputs.
Abs - Takes the absolute value of a number.
Accumulator - Performs math operations on a number and store the results.
atof - Converts an Ascii character into a floating point number.
atoi - Converts an Ascii character into an integer.
Bit Extract - Extracts 8 bits from a binary number.
Bit Pack - Packs any number of bits into a binary number.
Delta - Only passes a value through when it is different from the previous one passed.
ftoa - Converts a floating point number into an Ascii character.
Increment - Increments the input value by a preset number.
itoa - Converts an integer into a hexideximal number.
Limit - Integers or floats are forced into a specific range.
Macro - Performs multiple calculations using a supplied macro formula.
Math - Performs basic mathematical functions on two numbers such as (+, -, x, /, ...).
Math Fn 1 - Integer, floating point and list processing, requiring no parameters.
Minimum/Maximum - Limits the numbers passing through to a minimum or maximum value
Peak/Trough - Remembers the minimum or maximum values that have passed through the object.
Ramp - Outputs numbers which linearly change from one value to another.
Random Number - Generates a random number.
Randomize - Generates a random number between two supplied int or float values.
Random (Unique Number) - Generates a random number between 0 and a supplied number such that no number is repeated.
Random (Relative) - Generates a new number relative to a supplied number.
Scale - Linearly scales an input value.
Shape Num - Shapes an input value to a different output scale.
|