Function trv::array::extrap2d_lin#
Defined in File arrayops.cpp
Function Documentation#
-
void trv::array::extrap2d_lin(std::vector<std::vector<double>> &a, int N_row_ext, int N_col_ext, std::vector<std::vector<double>> &a_ext)#
Extrapolate a 2-d array bi-linearly.
- Parameters:
a – [in] 2-d array.
N_row_ext – [in] Number of extra elements on either side of each row.
N_col_ext – [in] Number of extra elements on either side of each column.
a_ext – [out] Extrapolated 2-d array.