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
x
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
Definition: gnuplot_common_settings.hh:12
gtsam::Basis
Definition: Basis.h:90
gtsam::Chebyshev1Basis
Definition: Chebyshev.h:32
gtsam::Chebyshev1Basis::parameters_
Parameters parameters_
Definition: Chebyshev.h:35
Basis.h
Compute an interpolating basis.
Manifold.h
Base class and basic functions for Manifold types.
gtsam::Chebyshev2Basis
Definition: Chebyshev.h:80
gtsam::b
const G & b
Definition: Group.h:79
a
ArrayXXi a
Definition: Array_initializer_list_23_cxx11.cpp:1
gtsam
traits
Definition: SFMdata.h:40
Eigen::Matrix< double, -1, 1 >
N
#define N
Definition: igam.h:9


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:14