LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::MLP::linearActFunctor Class Reference

a linear activation function More...

#include <ltiMLP.h>

Inheritance diagram for lti::MLP::linearActFunctor:
Inheritance graph
[legend]
Collaboration diagram for lti::MLP::linearActFunctor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool apply (dvector &output) const
virtual bool apply (const dvector &src, dvector &output) const
virtual bool deriv (dvector &output) const
virtual const double & onValue () const
virtual const double & offValue () const
virtual activationFunctorclone () const

Detailed Description

a linear activation function


Member Function Documentation

virtual bool lti::MLP::linearActFunctor::apply ( const dvector src,
dvector output 
) const [inline, virtual]

the functor operator.

Operates on copy

Implements lti::MLP::activationFunctor.

References lti::genericVector< T >::copy().

virtual bool lti::MLP::linearActFunctor::apply ( dvector output  )  const [inline, virtual]

the functor operator

Implements lti::MLP::activationFunctor.

virtual activationFunctor* lti::MLP::linearActFunctor::clone (  )  const [inline, virtual]

return a copy of this functor

Implements lti::MLP::activationFunctor.

virtual bool lti::MLP::linearActFunctor::deriv ( dvector output  )  const [inline, virtual]

the derivative of the functor

Implements lti::MLP::activationFunctor.

References lti::genericVector< T >::fill().

virtual const double& lti::MLP::linearActFunctor::offValue (  )  const [inline, virtual]

return value used to represent "false" or "off"

Implements lti::MLP::activationFunctor.

virtual const double& lti::MLP::linearActFunctor::onValue (  )  const [inline, virtual]

return value used to represent "true" or "on"

Implements lti::MLP::activationFunctor.


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

Generated on Sat Apr 10 15:26:54 2010 for LTI-Lib by Doxygen 1.6.1