USML
Data Grids and Sequences
Collaboration diagram for Data Grids and Sequences:

Detailed Description

These components define support for N-dimensional data sets and their associated axes.

Supports interpolation in any number of dimensions. Fast interpolation algorithms require an ability to quickly lookup an axis index appropriate given a floating point axis value. These axes are implemented as read-only, monotonic sequence of values.

Classes

class  data_grid_bathy
 Implements fast calculations for data_grids using a non-recursive engine on interpolation. More...
 
class  data_grid_svp
 Implements fast calculations for data_grids using a non-recursive engine on interpolation. More...
 
class  seq_data
 Sequence defined by an unevenly spaced vector of points. More...
 
class  seq_linear
 Sequence defined by an evenly spaced grid of points. More...
 
class  seq_log
 Sequence defined by a logarithmically spaced grid of points. More...
 
class  seq_rayfan
 Defines a sequence of values that are tangentially spaced. More...
 
class  seq_vector
 A read-only, monotonic sequence of values. More...
 
enum  GRID_INTERP_TYPE { GRID_INTERP_NEAREST = -1, GRID_INTERP_LINEAR = 0, GRID_INTERP_PCHIP = 1 }
 Type of interpolation used for each axis. More...
 
template<unsigned Dim>
size_t data_grid_compute_offset (seq_vector *axis[], const unsigned *index)
 
template<>
size_t data_grid_compute_offset< 0 > (seq_vector *axis[], const unsigned *index)
 

Enumeration Type Documentation

enum GRID_INTERP_TYPE

Type of interpolation used for each axis.

Enumerator
GRID_INTERP_NEAREST 
GRID_INTERP_LINEAR 
GRID_INTERP_PCHIP 

Function Documentation

size_t usml::types::data_grid_compute_offset ( seq_vector *  axis[],
const unsigned *  index 
)
inline
size_t usml::types::data_grid_compute_offset< 0 > ( seq_vector *  axis[],
const unsigned *  index 
)
inline