Resample, written in C++
ResampleCppM(X, wav, new_wav, fwhm)
X
matrix to resample
wav
a numeric vector giving the original band positions
vector
new_wav
a numeric vector giving the new band positions
fwhm
numeric vector giving the full width half maximums of the new band positions.