Geophysical Inversion and Modelling Library  v1.5.2-5-g042d7f36
GIMLI::TransPower< Vec > Class Template Reference
+ Inheritance diagram for GIMLI::TransPower< Vec >:
+ Collaboration diagram for GIMLI::TransPower< Vec >:

Public Member Functions

 TransPower (double npower=-1.0, double a0=1.0)
 
virtual Vec trans (const Vec &x) 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
 

Protected Attributes

double npower_
 
double a0_
 

Detailed Description

template<class Vec>
class GIMLI::TransPower< Vec >

Power transformation f(a) = pow(a / a_0, n).

Member Function Documentation

◆ deriv()

template<class Vec >
virtual Vec GIMLI::TransPower< Vec >::deriv ( const Vec a) const
inlinevirtual

Return $ $.

Reimplemented from GIMLI::Trans< Vec >.

◆ invTrans()

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

Return $ x(f) = f^(1/b) \cdot a $.

Reimplemented from GIMLI::Trans< Vec >.

◆ trans()

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

Return $ f(x) = (x/a)^b $.

Reimplemented from GIMLI::Trans< Vec >.

References GIMLI::x().