ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
bspline.hpp File Reference
#include "sqr.hpp"
#include "utils/device_qualifier.hpp"
#include <stdexcept>
#include <type_traits>
+ Include dependency graph for bspline.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Utils
 

Functions

template<int order, typename T >
DEVICE_QUALIFIER auto Utils::bspline (int i, T x) -> std::enable_if_t<(order > 0) &&(order<=7), T >
 Formula of the B-spline.
 
template<class T >
auto Utils::bspline (int i, T x, int k)
 Calculate B-splines.
 
template<int order, typename T = double>
DEVICE_QUALIFIER auto Utils::bspline_d (int i, T x) -> std::enable_if_t<(order > 0) &&(order<=7), T >
 Derivative of the B-spline.