vspline 1.1.0
Generic C++11 Code for Uniform B-Splines
Public Member Functions | Public Attributes | List of all members
vspline::bundle< dtype, vsize > Struct Template Reference

class 'bundle' holds all information needed to access a set of vsize 1D subarrays of an nD array. This is the data structure we use to tell the buffering and unbuffering code which data we want it to put into the buffer or distribute back out. The buffer itself holds the data in compact form, ready for vector code to access them at maximum speed. More...

#include <filter.h>

Public Member Functions

 bundle (dtype *_data, const std::ptrdiff_t *_idx, std::ptrdiff_t _stride, unsigned long _z)
 

Public Attributes

dtypedata
 
const std::ptrdiff_t * idx
 
std::ptrdiff_t stride
 
unsigned long z
 

Detailed Description

template<class dtype, size_t vsize>
struct vspline::bundle< dtype, vsize >

class 'bundle' holds all information needed to access a set of vsize 1D subarrays of an nD array. This is the data structure we use to tell the buffering and unbuffering code which data we want it to put into the buffer or distribute back out. The buffer itself holds the data in compact form, ready for vector code to access them at maximum speed.

Definition at line 92 of file filter.h.

Constructor & Destructor Documentation

◆ bundle()

template<class dtype , size_t vsize>
vspline::bundle< dtype, vsize >::bundle ( dtype _data,
const std::ptrdiff_t *  _idx,
std::ptrdiff_t  _stride,
unsigned long  _z 
)
inline

Definition at line 99 of file filter.h.

Member Data Documentation

◆ data

template<class dtype , size_t vsize>
dtype* vspline::bundle< dtype, vsize >::data

Definition at line 94 of file filter.h.

◆ idx

template<class dtype , size_t vsize>
const std::ptrdiff_t* vspline::bundle< dtype, vsize >::idx

Definition at line 95 of file filter.h.

◆ stride

template<class dtype , size_t vsize>
std::ptrdiff_t vspline::bundle< dtype, vsize >::stride

Definition at line 96 of file filter.h.

◆ z

template<class dtype , size_t vsize>
unsigned long vspline::bundle< dtype, vsize >::z

Definition at line 97 of file filter.h.


The documentation for this struct was generated from the following file: