quadgrid 0.1
simple cartesian quad grid with particles for c++/octave
Loading...
Searching...
No Matches
tbasisfun.h File Reference
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>

Go to the source code of this file.

Namespaces

namespace  bspline

Functions

template<typename FLT>
FLT bspline::ratio (const FLT num, const FLT denom)
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.
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.
template<typename INT, typename ITERATOR, typename FLT = double>
std::vector< FLT > bspline::open_knot_vector (ITERATOR const bb, ITERATOR const be, INT const p, INT const r)
 create an uniform open knot vector given the list
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)