Package transsys :: Module optim :: Class TransformationFunction
[hide private]
[frames] | no frames]

Class TransformationFunction

source code

object --+
         |
        TransformationFunction

Base class for transformation functions.

This base class implements the identity transformation.

Instance Methods [hide private]
 
__call__(self, x)
Compute the transformed value of x.
source code
 
__str__(self)
str(x)
source code
 
clip(self, y)
Clip y to the nearest admissible value.
source code
 
inverse(self, y)
Compute the inverse value of y.
source code
 
check_savefile_magic(self, s) source code
 
parse_variables(self, f) source code
 
parse(self, f) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Variables [hide private]
  functionName = 'TransformationFunction'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

inverse(self, y)

source code 

Compute the inverse value of y.

This method should return the untransformed value x corresponding to y, such that f(x) = y.