Geophysical Inversion and Modelling Library v1.5.4
Loading...
Searching...
No Matches
GIMLI::TransNest< Vec > Class Template Reference

#include <trans.h>

+ Inheritance diagram for GIMLI::TransNest< Vec >:
+ Collaboration diagram for GIMLI::TransNest< Vec >:

Public Member Functions

 TransNest (Trans< Vec > &T1, Trans< Vec > &T2)
 
virtual Vec trans (const Vec &a) const
 
virtual Vec invTrans (const Vec &a) 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
 

Protected Attributes

Trans< Vec > * T1_
 
Trans< Vec > * T2_
 

Detailed Description

template<class Vec>
class GIMLI::TransNest< Vec >

Different combined transformations:

Two nested TF's, e.g. log(G * resistance) or LogLU(CRIM(slowness))

Member Function Documentation

◆ deriv()

template<class Vec>
virtual Vec GIMLI::TransNest< 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::TransNest< Vec >::invTrans ( const Vec & f) const
inlinevirtual

Return inverse transformation $ x(f) $

Reimplemented from GIMLI::Trans< Vec >.

◆ trans()

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

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

Reimplemented from GIMLI::Trans< Vec >.