10#define interpolation_h
13#include "matpack_data.h"
58 std::array<Numeric, 2>
fd;
78 ConstVectorView old_grid,
79 ConstVectorView new_grid,
80 const Numeric& extpolfac = 0.5);
83 ConstVectorView old_grid,
84 const Numeric& new_grid,
85 const Numeric& extpolfac = 0.5);
105 const bool& strict =
true);
143Numeric
interp(ConstVectorView itw, ConstVectorView
a,
const GridPos& tc);
145Numeric
interp(ConstVectorView itw,
150Numeric
interp(ConstVectorView itw,
156Numeric
interp(ConstVectorView itw,
163Numeric
interp(ConstVectorView itw,
171Numeric
interp(ConstVectorView itw,
296 ConstTensor3View itw,
301void interp(Tensor3View ia,
302 ConstTensor4View itw,
308void interp(Tensor4View ia,
309 ConstTensor5View itw,
316void interp(Tensor5View ia,
317 ConstTensor6View itw,
325void interp(Tensor6View ia,
326 ConstTensor7View itw,
The global header file for ARTS.
This can be used to make arrays out of anything.
Index gridpos2gridrange(const GridPos &gp, const bool &upwards)
gridpos2gridrange
bool is_gridpos_at_index_i(const GridPos &gp, const Index &i, const bool &strict=true)
is_gridpos_at_index_i
void gridpos(ArrayOfGridPos &gp, ConstVectorView old_grid, ConstVectorView new_grid, const Numeric &extpolfac=0.5)
Set up a grid position Array.
void gridpos_force_end_fd(GridPos &gp, const Index &n)
gridpos_force_end_fd
void gridpos_check_fd(GridPos &gp)
gridpos_check_fd
void gridpos_upperend_check(GridPos &gp, const Index &ie)
gridpos_upperend_check
Array< GridPos > ArrayOfGridPos
An Array of grid positions.
Array< Array< Array< Array< GridPos > > > > ArrayOfArrayOfArrayOfArrayOfGridPos
void interpweights(VectorView itw, const GridPos &tc)
Red 1D interpolation weights.
Numeric interp_poly(ConstVectorView x, ConstVectorView y, const Numeric &x_i, const GridPos &gp)
Polynomial interpolation.
Array< Array< GridPos > > ArrayOfArrayOfGridPos
void gp4length1grid(ArrayOfGridPos &gp)
Grid position matching a grid of length 1.
Numeric interp(ConstVectorView itw, ConstVectorView a, const GridPos &tc)
Red 1D Interpolate.
Array< Array< Array< GridPos > > > ArrayOfArrayOfArrayOfGridPos
void gridpos_copy(GridPos &gp_new, const GridPos &gp_old)
gridpos_copy
void gridpos_1to1(ArrayOfGridPos &gp, ConstVectorView grid)
gridpos_1to1
Numeric fractional_gp(const GridPos &gp)
fractional_gp
This file contains the definition of String, the ARTS string class.
Structure to store a grid position.
std::array< Numeric, 2 > fd
friend ostream & operator<<(ostream &os, const GridPos &gp)
Output operator for GridPos.