Calculates the function values of a given function at an arbitrarily given set of n dimension points.


icon

Inputs/Outputs

  • cstr.png formula

    formula is a string representing the n dimension function under investigation. The formula can contain any number of valid variables.

  • c2ddbl.png 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.

  • c1dstr.png Variables

    Variables is an array of strings. Each element of the array stands for a variable name of the n-dimension independent terms.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • i1ddbl.png 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.

  • ierrcodeclst.png 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)