Function trv::array::extrap_loglin#

Function Documentation#

void trv::array::extrap_loglin(std::vector<double> &a, int N_ext, std::vector<double> &a_ext)#

Extrapolate a 1-d array exponentially (i.e. log-linearly).

Parameters:
  • a – [in] 1-d array as a vector.

  • N_ext – [in] Number of extra elements on either side.

  • a_ext – [out] Extrapolated 1-d array.