Chebyshev.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
19 #pragma once
20 
21 #include <gtsam/base/Manifold.h>
22 #include <gtsam/basis/Basis.h>
23 
24 namespace gtsam {
25 
32 struct GTSAM_EXPORT Chebyshev1Basis : Basis<Chebyshev1Basis> {
33  using Parameters = Eigen::Matrix<double, -1, 1 /*Nx1*/>;
34 
36 
45  static Weights CalculateWeights(size_t N, double x, double a = -1,
46  double b = 1);
47 
66  static Weights DerivativeWeights(size_t N, double x, double a = -1,
67  double b = 1);
68 }; // Chebyshev1Basis
69 
80 struct GTSAM_EXPORT Chebyshev2Basis : Basis<Chebyshev2Basis> {
81  using Parameters = Eigen::Matrix<double, -1, 1 /*Nx1*/>;
82 
91  static Weights CalculateWeights(size_t N, double x, double a = -1,
92  double b = 1);
93 
103  static Weights DerivativeWeights(size_t N, double x, double a = -1,
104  double b = 1);
105 }; // Chebyshev2Basis
106 
107 } // namespace gtsam
Parameters parameters_
Definition: Chebyshev.h:35
#define N
Definition: gksort.c:12
Compute an interpolating basis.
Base class and basic functions for Manifold types.
const G & b
Definition: Group.h:86
traits
Definition: chartTesting.h:28
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:01