Namespaces | Macros | Functions
MiscMath.hpp File Reference

Detailed Description

Miscellaneous mathematical algorithms

Definition in file MiscMath.hpp.

#include <cstring>
#include <vector>
#include "MathBase.hpp"
#include "Exception.hpp"
Include dependency graph for MiscMath.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 gnsstk
 For Sinex::InputHistory.
 

Macros

#define tswap(x, y)   { T tmp; tmp = x; x = y; y = tmp; }
 

Functions

template<class T >
gnsstk::LagrangeInterpolating2ndDerivative (const std::vector< T > &pos, const std::vector< T > &val, const T desiredPos)
 Returns the second derivative of Lagrange interpolation. More...
 
template<class T >
gnsstk::LagrangeInterpolation (const std::vector< T > &X, const std::vector< T > &Y, const T &x, T &err)
 
template<class T >
void gnsstk::LagrangeInterpolation (const std::vector< T > &X, const std::vector< T > &Y, const T &x, T &y, T &dydx)
 
double gnsstk::Round (double x)
 
template<class T >
gnsstk::RSS (T aa, T bb)
 Perform the root sum square of aa, bb. More...
 
template<class T >
gnsstk::RSS (T aa, T bb, T cc)
 Perform the root sum square of aa, bb and cc. More...
 
template<class T >
gnsstk::RSS (T aa, T bb, T cc, T dd)
 Perform the root sum square of aa, bb, cc and dd. More...
 
template<class T >
gnsstk::SimpleLagrangeInterpolation (const std::vector< T > &X, const std::vector< T > &Y, const T x)
 

Macro Definition Documentation

◆ tswap

#define tswap (   x,
  y 
)    { T tmp; tmp = x; x = y; y = tmp; }

Definition at line 242 of file MiscMath.hpp.



gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:43