Eval Multi-Variable Array VI
- Updated2025-07-30
- 3 minute(s) read
Calculates the function values of a given function at an arbitrarily given set of n dimension points.

Inputs/Outputs
formula
—
formula is a string representing the n dimension function under investigation. The formula can contain any number of valid variables.
X Values
—
X Values is a 2D array of x values. Each row of the array represents the fixed values of each of the Variables of the n-dimensional function. The other dimension of the array marks the different n-dimension points at which the function has to be calculated.
Variables
—
Variables is an array of strings. Each element of the array stands for a variable name of the n-dimension independent terms.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Y Values
—
Y Values is the 1D array of the evaluated values Y[i] using formula(X Values). Each element of Y Values corresponds to the corresponding column of X Values.
error out
—
error out contains error information. This output provides standard error out functionality. |
The VI calculates the function values using the following equation.
yi = f(x1i, x2i, …, xni),where f is an n-dimensional function given by the formula, and (x1, x2, …, xn) are n independent variables.
The following inputs result in Y Values [3, 17]:
- formula: 3*x1 + 4*x2 + x3^2
- X Values: [1, 0; -1, 4; 2, 1] ([1, -1, 2] are the values for [x1, x2, x3] in the first iteration; [0, 4, 1] for the second)
- Variables: [x1, x2, x3] for (x1, x2, x3)
formula
—
X Values
—
Variables
—
error in (no error)
—
Y Values
—
error out
—