Math Function
This example transformes an inputted array-presumably an array representing particle movement- such that the inputted values represent specific intervals at which a general sawtooth wave function should be used to calculate the output
Calculate function value of sine of x.
Sin(x)/x Calculate function value of sine of x divided by x.
Sign(x) or Sign of a real number, x, is -1 if x is negative, 0 if x is zero and 1 if x is positive.
Calculate function value of Triangle Wave, which is an absolute value of Sawtooth Wave.
Sign(x) or Sign of a real number, x, is -1 if x is negative, 0 if x is zero and 1 if x is positive.
Calculate function value of Sign of Sine of x, which can be -1, 0 or 1. The three possible outputs of Sign(sin) will form a line that resembles "squares" in the graph.