hermite  0.0.1
constants.hpp
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace hermite {
13 constexpr double h00(const double t) { return 2 * t * t * t - 3 * t * t + 1; }
14 
18 constexpr double h10(const double t) { return t * t * t - 2 * t * t + t; }
19 
23 constexpr double h01(const double t) { return -2 * t * t * t + 3 * t * t; }
24 
28 constexpr double h11(const double t) { return t * t * t - t * t; }
29 
33 constexpr double h00d(const double t) { return 6 * t * t - 6 * t; }
34 
38 constexpr double h10d(const double t) { return 3 * t * t - 4 * t + 1; }
39 
43 constexpr double h01d(const double t) { return 6 * t - 6 * t * t; }
44 
48 constexpr double h11d(const double t) { return 3 * t * t - 2 * t; }
49 
53 constexpr double h00dd(const double t) { return 12 * t - 6; }
54 
58 constexpr double h10dd(const double t) { return 6 * t - 4; }
59 
63 constexpr double h01dd(const double t) { return 6 - 12 * t; }
64 
68 constexpr double h11dd(const double t) { return 6 * t - 2; }
69 } // namespace hermite
constexpr double h00(const double t)
First Hermite basis function.
Definition: constants.hpp:13
constexpr double h11d(const double t)
Fourth Hermite basis function first derivative.
Definition: constants.hpp:48
constexpr double h10d(const double t)
Second Hermite basis function first derivative.
Definition: constants.hpp:38
constexpr double h01dd(const double t)
Third Hermite basis function second derivative.
Definition: constants.hpp:63
constexpr double h10dd(const double t)
Second Hermite basis function second derivative.
Definition: constants.hpp:58
constexpr double h00dd(const double t)
First Hermite basis function second derivative.
Definition: constants.hpp:53
constexpr double h11(const double t)
Fourth Hermite basis function.
Definition: constants.hpp:28
constexpr double h11dd(const double t)
Fourth Hermite basis function second derivative.
Definition: constants.hpp:68
constexpr double h01(const double t)
Third Hermite basis function.
Definition: constants.hpp:23
constexpr double h10(const double t)
Second Hermite basis function.
Definition: constants.hpp:18
constexpr double h00d(const double t)
First Hermite basis function first derivative.
Definition: constants.hpp:33
constexpr double h01d(const double t)
Third Hermite basis function first derivative.
Definition: constants.hpp:43