Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-02 08:48:23

0001 /*
0002  * ActivationFunctionHyperbolic.h
0003  *
0004  *  Created on: Apr 23, 2016
0005  *      Author: Pawel Sznajder
0006  */
0007 
0008 #ifndef ACTIVATIONFUNCTIONHYPERBOLIC_H_
0009 #define ACTIVATIONFUNCTIONHYPERBOLIC_H_
0010 
0011 #include "ActivationFunction.h"
0012 
0013 namespace NumA {
0014 
0015 class ActivationFunctionHyperbolic: public ActivationFunction {
0016 
0017 public:
0018 
0019     static const unsigned int classId;
0020 
0021     ActivationFunctionHyperbolic();
0022     virtual ~ActivationFunctionHyperbolic();
0023     virtual ActivationFunctionHyperbolic* clone() const;
0024 
0025     virtual double evaluate(double input);
0026     virtual double evaluateFirstDerivative(double input);
0027     virtual double evaluateSecondDerivative(double input);
0028 
0029 protected:
0030 
0031     ActivationFunctionHyperbolic(const ActivationFunctionHyperbolic& other);
0032 };
0033 
0034 }
0035 
0036 #endif /* ACTIVATIONFUNCTIONHYPERBOLIC_H_ */