Calculate (vuo.math.calculate)

Calculates the value of a math expression or formula.

The math expression may contain one or more input variables — names like distance, time, or a that are replaced with the numbers in values.

Optionally, the math expression may contain an output variable — a name for the calculated result, to help you remember what it represents. If there’s an output variable, the math expression should have a = sign (assignment operator) with the output variable on the left and the input variables on the right. For example, in the expression area = width * height, the output variable is area and the input variables are width and height.

The math expressions may contain:

Keywords: %, &&, *, +, -, /, <, <=, ==, >, >=, ^, abs, acos, acosh, add, and, asin, asinh, atan, atanh, avg, compare, condition, cos, cosh, difference, divide, equal, equation, exp, expression, formula, greater, if, less, ln, log, log10, log2, logic, max, min, minus, modulus, multiply, or, pi, power, product, quotient, rint, sign, sin, sinh, sqrt, subtract, sum, tan, tanh, trigonometry


Example compositions:


Back to vuo.math node set documentation.