Functions | Variables
testFourier.cpp File Reference

Unit tests for Fourier Basis Decompositions with Expressions. More...

#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/basis/FitBasis.h>
#include <gtsam/basis/Fourier.h>
#include <gtsam/nonlinear/factorTesting.h>
Include dependency graph for testFourier.cpp:

Go to the source code of this file.

Functions

int main ()
 
double proxy (double x)
 
 TEST (Basis, BasisEvaluationFunctor)
 
 TEST (Basis, BasisEvaluationFunctorDerivative)
 
 TEST (Basis, Manual)
 
 TEST (Basis, EvaluationFactor)
 
 TEST (Basis, WeightMatrix)
 
 TEST (Basis, Decomposition)
 
 TEST (Basis, Derivative7)
 
 TEST (Basis, VecDerivativeFunctor)
 
 TEST (Basis, PseudoSpectral)
 
static double TestFunction (double x)
 

Variables

const Vector k3Coefficients = (Vector3() << 1.5661, 1.2717, 1.2717).finished()
 
const Vector7 k7Coefficients
 
auto model = noiseModel::Unit::Create(1)
 

Detailed Description

Unit tests for Fourier Basis Decompositions with Expressions.

Date
July 4, 2020
Author
Frank Dellaert, Varun Agrawal

Definition in file testFourier.cpp.

Function Documentation

◆ main()

int main ( void  )

Definition at line 249 of file testFourier.cpp.

◆ proxy()

double proxy ( double  x)

Definition at line 159 of file testFourier.cpp.

◆ TEST() [1/9]

TEST ( Basis  ,
BasisEvaluationFunctor   
)

Definition at line 41 of file testFourier.cpp.

◆ TEST() [2/9]

TEST ( Basis  ,
BasisEvaluationFunctorDerivative   
)

Definition at line 49 of file testFourier.cpp.

◆ TEST() [3/9]

TEST ( Basis  ,
Manual   
)

Definition at line 62 of file testFourier.cpp.

◆ TEST() [4/9]

TEST ( Basis  ,
EvaluationFactor   
)

Definition at line 108 of file testFourier.cpp.

◆ TEST() [5/9]

TEST ( Basis  ,
WeightMatrix   
)

Definition at line 130 of file testFourier.cpp.

◆ TEST() [6/9]

TEST ( Basis  ,
Decomposition   
)

Definition at line 142 of file testFourier.cpp.

◆ TEST() [7/9]

TEST ( Basis  ,
Derivative7   
)

Definition at line 163 of file testFourier.cpp.

◆ TEST() [8/9]

TEST ( Basis  ,
VecDerivativeFunctor   
)

Definition at line 182 of file testFourier.cpp.

◆ TEST() [9/9]

TEST ( Basis  ,
PseudoSpectral   
)

Definition at line 208 of file testFourier.cpp.

◆ TestFunction()

static double TestFunction ( double  x)
static

Definition at line 38 of file testFourier.cpp.

Variable Documentation

◆ k3Coefficients

const Vector k3Coefficients = (Vector3() << 1.5661, 1.2717, 1.2717).finished()

Definition at line 32 of file testFourier.cpp.

◆ k7Coefficients

const Vector7 k7Coefficients
Initial value:
=
(Vector7() << 1.5661, 1.2717, 1.2717, -0.0000, 0.5887, -0.0943, 0.0943)
.finished()

Definition at line 33 of file testFourier.cpp.

◆ model

auto model = noiseModel::Unit::Create(1)

Definition at line 28 of file testFourier.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:55