Ace Dynamic Comp Index  June 2020
Niagara-4.9
control::Linearize Class Reference

Detailed Description

Converts a table of values into a curve using linear interpolation between the values. Individual slope/intercept constants are computed between the x's and y's using the formula y = mx + b, where m = ym - yn/xm - xn

If in is not in the range of x0 to x9, then output is set to "nan"

Note that slope may be positive or negative, and is indicated by comparison of x1 and x0 (positive if x1 > x0, negitive if x1 < x0)

Properties


status_double out

Facets: @readonly @summary

status_double in

Facets: @input @summary

double x[10]

double y[10]