Geophysical Inversion and Modelling Library  v1.5.0
GIMLI::TransInv< Vec > Class Template Reference
+ Inheritance diagram for GIMLI::TransInv< Vec >:
+ Collaboration diagram for GIMLI::TransInv< Vec >:

Public Member Functions

virtual Vec trans (const Vec &a) const
 
virtual Vec invTrans (const Vec &f) const
 
virtual Vec deriv (const Vec &a) const
 
- Public Member Functions inherited from GIMLI::Trans< Vec >
 Trans ()
 
virtual ~Trans ()
 
virtual Vec operator() (const Vec &a) const
 
virtual double operator() (double x) const
 
Vec fwd (const Vec &f) const
 
double fwd (double f) const
 
Vec inv (const Vec &f) const
 
double inv (double f) const
 
virtual double trans (double x) const
 
virtual double invTrans (double f) const
 
Vec update (const Vec &a, const Vec &b) const
 
Vec error (const Vec &a, const Vec &daBya) const
 
Vec error_brute (const Vec &a, const Vec &daBya) const
 

Detailed Description

template<class Vec>
class GIMLI::TransInv< Vec >

Inverse of the parameter (e.g. velocity/slowness) f(a) = 1 / a.

Member Function Documentation

◆ deriv()

template<class Vec >
virtual Vec GIMLI::TransInv< Vec >::deriv ( const Vec x) const
inlinevirtual

Return derivative $ \frac{\partial f}{\partial x}(x) $

Reimplemented from GIMLI::Trans< Vec >.

◆ invTrans()

template<class Vec >
virtual Vec GIMLI::TransInv< Vec >::invTrans ( const Vec f) const
inlinevirtual

Return inverse transformation $ x(f) $

Reimplemented from GIMLI::Trans< Vec >.

◆ trans()

template<class Vec >
virtual Vec GIMLI::TransInv< Vec >::trans ( const Vec x) const
inlinevirtual

Apply and return the transformation. Return $ f(x) $

Reimplemented from GIMLI::Trans< Vec >.