quadgrid 0.1
simple cartesian quad grid with particles for c++/octave
bspline Namespace Reference

Functions

template<typename FLT >
FLT ratio (const FLT num, const FLT denom)
 
template<typename INT , typename FLT , typename ITERATOR >
FLT onebasisfun (FLT const u, INT const p, ITERATOR const Ubegin, ITERATOR const Uend)
 function to compute the value of a BSpline basis function at a given point.
More...
 
template<typename INT , typename FLT , typename ITERATOR >
FLT onebasisfunder (FLT u, INT p, ITERATOR Ubegin, ITERATOR Uend)
 function to compute the derivative of a BSpline basis function. More...
 
template<typename INT , typename FLT , typename ITERATOR >
FLT onebasisfun2d (FLT const u, FLT const v, INT const pu, INT const pv, ITERATOR const Ubegin, ITERATOR const Uend, ITERATOR const Vbegin, ITERATOR const Vend)
 

Function Documentation

◆ onebasisfun()

template<typename INT , typename FLT , typename ITERATOR >
FLT bspline::onebasisfun ( FLT const  u,
INT const  p,
ITERATOR const  Ubegin,
ITERATOR const  Uend 
)

function to compute the value of a BSpline basis function at a given point.

Parameters
upoint where the derivative is to be evaluated.
pbasis function degree.
Ubeginiterator to the beginning of the local knot vector.
Uenditerator past the end of the local knot vector.

◆ onebasisfun2d()

template<typename INT , typename FLT , typename ITERATOR >
FLT bspline::onebasisfun2d ( FLT const  u,
FLT const  v,
INT const  pu,
INT const  pv,
ITERATOR const  Ubegin,
ITERATOR const  Uend,
ITERATOR const  Vbegin,
ITERATOR const  Vend 
)

◆ onebasisfunder()

template<typename INT , typename FLT , typename ITERATOR >
FLT bspline::onebasisfunder ( FLT  u,
INT  p,
ITERATOR  Ubegin,
ITERATOR  Uend 
)

function to compute the derivative of a BSpline basis function.

Parameters
upoint where the derivative is to be evaluated.
pbasis function degree.
Ubeginiterator to the beginning of the local knot vector.
Uenditerator past the end of the local knot vector.

◆ ratio()

template<typename FLT >
FLT bspline::ratio ( const FLT  num,
const FLT  denom 
)