RVL::RVLVectorLogisticInverse< Scalar > Class Template Reference

This FO implements the inverse of the vector version of the logistic function $ f(x) = x (1 + s^2 x^2)^{-1/2} + m $, where $ s=2/(f_{\rm max} - f_{\rm min})$ and $ m=(f_{\rm max} + f_{\rm min})/2$. More...

#include <logistic.hh>

Inheritance diagram for RVL::RVLVectorLogisticInverse< Scalar >:

RVL::LocalFunctionObject< Scalar > RVL::FunctionObject RVL::LocalEvaluation< Scalar > RVL::Writeable List of all members.

Public Member Functions

 RVLVectorLogisticInverse ()
 RVLVectorLogisticInverse (const RVLVectorLogisticInverse< Scalar > &)
 ~RVLVectorLogisticInverse ()
void operator() (LocalDataContainer< Scalar > &x, std::vector< LocalDataContainer< Scalar > const * > &v)
string getName () const

Detailed Description

template<class Scalar>
class RVL::RVLVectorLogisticInverse< Scalar >

This FO implements the inverse of the vector version of the logistic function $ f(x) = x (1 + s^2 x^2)^{-1/2} + m $, where $ s=2/(f_{\rm max} - f_{\rm min})$ and $ m=(f_{\rm max} + f_{\rm min})/2$.

The inverse is $ f^{-1}(y) = (y-m) (1 - s^2(y-m)^2))^{-1/2}$, well-defined when $f_{\rm min} < y < f_{\rm max}$.

Definition at line 405 of file logistic.hh.


Constructor & Destructor Documentation

template<class Scalar>
RVL::RVLVectorLogisticInverse< Scalar >::RVLVectorLogisticInverse (  ) 

Definition at line 407 of file logistic.hh.

template<class Scalar>
RVL::RVLVectorLogisticInverse< Scalar >::RVLVectorLogisticInverse ( const RVLVectorLogisticInverse< Scalar > &   ) 

Definition at line 408 of file logistic.hh.

template<class Scalar>
RVL::RVLVectorLogisticInverse< Scalar >::~RVLVectorLogisticInverse (  ) 

Definition at line 409 of file logistic.hh.


Member Function Documentation

template<class Scalar>
void RVL::RVLVectorLogisticInverse< Scalar >::operator() ( LocalDataContainer< Scalar > &  x,
std::vector< LocalDataContainer< Scalar > const * > &  v 
)

Definition at line 412 of file logistic.hh.

References RVL::LocalDataContainer< DataType >::getData(), and RVL::LocalDataContainer< DataType >::getSize().

template<class Scalar>
string RVL::RVLVectorLogisticInverse< Scalar >::getName (  )  const [virtual]

Implements RVL::FunctionObject.

Definition at line 452 of file logistic.hh.


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for LocalRVL by  doxygen 1.4.7