linearImpl - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
#include "xf_fintech/linear_interpolation.hpp"
template <typename DT>
DT linearImpl (
    DT x,
    int len,
    DT* arrX,
    DT* arrY
    )

linearImpl 1D linear interpolation

Parameters:

DT data type supported include float and double.
x interpolation coordinate x
len array of length
arrX array of coordinate x
arrY array of coordinate y

Returns:

return interpolation coordinate y