smooth
A C++ library for Lie theory
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
spline_specs::FixedDerCubic< G, P1, P2 > Struct Template Reference

SplineSpec for a cubic spline with two boundary conditions. More...

#include <fit.hpp>

Public Attributes

std::array< Tangent< G >, 1 > left_values {Tangent<G>::Zero()}
 Values of left-side boundary constraints.
 
std::array< Tangent< G >, 1 > rght_values {Tangent<G>::Zero()}
 Values of right-side boundary constraints.
 

Static Public Attributes

static constexpr int Degree = 3
 Polynomial degree.
 
static constexpr int OptDeg = -1
 Optimization degree (absolute integral of derivative OptDeg is minimized)
 
static constexpr int InnCnt = 2
 Number of derivatives to enforce continuity for.
 
static constexpr std::array< int, 1 > LeftDeg {P1}
 Degrees of left-side boundary constraints: P1.
 
static constexpr std::array< int, 1 > RghtDeg {P2}
 Degrees of right-side boundary constraints: P2.
 

Detailed Description

template<LieGroup G, int P1 = 2, int P2 = P1>
struct spline_specs::FixedDerCubic< G, P1, P2 >

SplineSpec for a cubic spline with two boundary conditions.

Template Parameters
P1order of left boundary contraint (must be 1 or 2).
P2order of right boundary contraint (must be 1 or 2).

Definition at line 74 of file fit.hpp.

Member Data Documentation

◆ Degree

template<LieGroup G, int P1 = 2, int P2 = P1>
constexpr int spline_specs::FixedDerCubic< G, P1, P2 >::Degree = 3
staticconstexpr

Polynomial degree.

Definition at line 77 of file fit.hpp.

◆ InnCnt

template<LieGroup G, int P1 = 2, int P2 = P1>
constexpr int spline_specs::FixedDerCubic< G, P1, P2 >::InnCnt = 2
staticconstexpr

Number of derivatives to enforce continuity for.

Definition at line 81 of file fit.hpp.

◆ left_values

template<LieGroup G, int P1 = 2, int P2 = P1>
std::array<Tangent<G>, 1> spline_specs::FixedDerCubic< G, P1, P2 >::left_values {Tangent<G>::Zero()}

Values of left-side boundary constraints.

Definition at line 86 of file fit.hpp.

◆ LeftDeg

template<LieGroup G, int P1 = 2, int P2 = P1>
constexpr std::array<int, 1> spline_specs::FixedDerCubic< G, P1, P2 >::LeftDeg {P1}
staticconstexpr

Degrees of left-side boundary constraints: P1.

Definition at line 84 of file fit.hpp.

◆ OptDeg

template<LieGroup G, int P1 = 2, int P2 = P1>
constexpr int spline_specs::FixedDerCubic< G, P1, P2 >::OptDeg = -1
staticconstexpr

Optimization degree (absolute integral of derivative OptDeg is minimized)

Definition at line 79 of file fit.hpp.

◆ rght_values

template<LieGroup G, int P1 = 2, int P2 = P1>
std::array<Tangent<G>, 1> spline_specs::FixedDerCubic< G, P1, P2 >::rght_values {Tangent<G>::Zero()}

Values of right-side boundary constraints.

Definition at line 91 of file fit.hpp.

◆ RghtDeg

template<LieGroup G, int P1 = 2, int P2 = P1>
constexpr std::array<int, 1> spline_specs::FixedDerCubic< G, P1, P2 >::RghtDeg {P2}
staticconstexpr

Degrees of right-side boundary constraints: P2.

Definition at line 89 of file fit.hpp.


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