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

homogeneous_mbf_type can be used for cases where all basis functors are the same. The evaluation code uses operator[] to pick the functor for each axis, so here we merely override operator[] to always yield a const reference to the same basis functor. More...

#include <eval.h>

Public Member Functions

 homogeneous_mbf_type (const bf_type &_bf)
 
const bf_typeoperator[] (std::size_t i) const
 

Public Attributes

const bf_type bf
 

Detailed Description

template<typename bf_type>
struct vspline::homogeneous_mbf_type< bf_type >

homogeneous_mbf_type can be used for cases where all basis functors are the same. The evaluation code uses operator[] to pick the functor for each axis, so here we merely override operator[] to always yield a const reference to the same basis functor.

Definition at line 342 of file eval.h.

Constructor & Destructor Documentation

◆ homogeneous_mbf_type()

template<typename bf_type >
vspline::homogeneous_mbf_type< bf_type >::homogeneous_mbf_type ( const bf_type _bf)
inline

Definition at line 346 of file eval.h.

Member Function Documentation

◆ operator[]()

template<typename bf_type >
const bf_type & vspline::homogeneous_mbf_type< bf_type >::operator[] ( std::size_t  i) const
inline

Definition at line 350 of file eval.h.

Member Data Documentation

◆ bf

template<typename bf_type >
const bf_type vspline::homogeneous_mbf_type< bf_type >::bf

Definition at line 344 of file eval.h.


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