class="resources"
Performs a linear evaluation of the input array X, using scale and offset. Details

![]() |
X consists of the input array. |
![]() |
scale is the multiplicative constant. |
![]() |
offset is the additive constant. |
![]() |
Y[i]=X[i]*a+b returns the result of the linear evaluation of X. |
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
The VI calculates the output array Y[i]=X[i]*a+b using the following equation.
Y = aX + b
where a is the multiplicative scale constant and b is the additive constant offset.