IdentityActivationFunction.cpp

Go to the documentation of this file.
00001 #include "IdentityActivationFunction.h"
00002 #include <iostream>
00003 
00004 namespace gplib
00005   {
00006     IdentityActivationFunction::IdentityActivationFunction()
00007       {
00008       }
00009     IdentityActivationFunction::~IdentityActivationFunction()
00010       {
00011       }
00012 
00013     double IdentityActivationFunction::CalcOutput(const double input)
00014       {
00015         return input;
00016       }
00017 
00018     double IdentityActivationFunction::CalcDeriv(const double input)
00019       {
00020         return 1.0;
00021       }
00022   }

Generated on Tue May 4 16:52:14 2010 for GPLIB++ by  doxygen 1.5.8