ARTS  2.2.66
SLIData2 Class Reference

A 2D sequential linear interpolation (SLI) lookup table. More...

#include <mc_interp.h>

Public Member Functions

Numeric interpolate (Numeric x1, Numeric x2) const
 Perform sequential interpolation. More...
 

Public Attributes

Vector x1a
 
ArrayOfVector x2a
 
ArrayOfVector ya
 

Detailed Description

A 2D sequential linear interpolation (SLI) lookup table.

This class holds the gridded for 2D SLI as well as the interpolate member function for retrieving interpolated values.

Definition at line 57 of file mc_interp.h.

Member Function Documentation

◆ interpolate()

Numeric SLIData2::interpolate ( Numeric  x1,
Numeric  x2 
) const

Perform sequential interpolation.

Parameters
x1desired x1 value
x2desired x2 value
Returns
interpolated y value at x1,x2
Author
Cory Davis cdavi.nosp@m.s@st.nosp@m.affma.nosp@m.il.e.nosp@m.d.ac..nosp@m.uk
Date
2005-02-28

Definition at line 52 of file mc_interp.cc.

References gridpos(), GridPos::idx, interp(), interpweights(), x1a, x2a, and ya.

Member Data Documentation

◆ x1a

Vector SLIData2::x1a

Definition at line 61 of file mc_interp.h.

Referenced by interpolate(), xml_read_from_stream(), and xml_write_to_stream().

◆ x2a

ArrayOfVector SLIData2::x2a

Definition at line 63 of file mc_interp.h.

Referenced by interpolate(), xml_read_from_stream(), and xml_write_to_stream().

◆ ya

ArrayOfVector SLIData2::ya

Definition at line 65 of file mc_interp.h.

Referenced by interpolate(), xml_read_from_stream(), and xml_write_to_stream().


The documentation for this class was generated from the following files: