transform_logit Class Reference

Defines the logit transformation class. More...

#include "likelihood/transform_logit.h"

Inheritance diagram for transform_logit:
Collaboration diagram for transform_logit:

Public Member Functions

 transform_logit (double a, double b)
 
virtual double forward (double x)
 Forward transformation function.
 
virtual double inverse (double x)
 Inverse transformation function.
 
virtual double forward_jacobian (double x)
 Jacobian for forward transform y(x) = logit(z(x)) where z(x) = (x-a)/(b-a)
 
virtual double inverse_jacobian (double y)
 Jacobian for inverse transform x(y) = z^{-1}(logit^{-1}(y))
 

Private Attributes

const double _a
 
const double _b
 

Detailed Description

Defines the logit transformation class a is the lower limit and b is the upper


The documentation for this class was generated from the following file: