INET Framework for OMNeT++/OMNEST
PrimitiveFunctions.h File Reference

Classes

class  inet::math::ConstantFunction< R, D >
 
class  inet::math::UnilinearFunction< R, D >
 Linear in one dimension and constant in the others. More...
 
class  inet::math::BilinearFunction< R, D >
 Linear in two dimensions and constant in the others. More...
 
class  inet::math::UnireciprocalFunction< R, D >
 Reciprocal in a given dimension and constant in the others. More...
 
class  inet::math::Boxcar1DFunction< R, X >
 Some constant value r between lower and upper and zero otherwise. More...
 
class  inet::math::Boxcar2DFunction< R, X, Y >
 Some constant value r between (lowerX, lowerY) and (upperX, upperY) and zero otherwise. More...
 
class  inet::math::GaussFunction< R, X >
 The one-dimensional Gauss function. More...
 
class  inet::math::SawtoothFunction< R, X >
 One-dimensional periodic function with a sawtooth shape. More...
 
class  inet::math::PeriodicallyInterpolated1DFunction< R, X >
 One-dimensional interpolated (e.g. More...
 
class  inet::math::PeriodicallyInterpolated2DFunction< R, X, Y >
 
class  inet::math::Interpolated1DFunction< R, X >
 One-dimensional interpolated (e.g. More...
 

Namespaces

 inet
 Copyright (c) 2005 Jan Ringo�, www.ringos.cz.
 
 inet::math
 Support functions for mathematical operations.
 

Functions

template<typename R , typename D >
void inet::math::simplifyAndCall (const typename D::I &i, const IFunction< R, D > *f, const std::function< void(const typename D::I &, const IFunction< R, D > *)> callback)
 
template<typename R , typename D >
void inet::math::simplifyAndCall (const typename D::I &i, const UnilinearFunction< R, D > *f, const std::function< void(const typename D::I &, const IFunction< R, D > *)> callback)
 
template<typename R , typename D >
void inet::math::simplifyAndCall (const typename D::I &i, const BilinearFunction< R, D > *f, const std::function< void(const typename D::I &, const IFunction< R, D > *)> callback)