62   TString expr = 
"TMath::Exp(-x^2/2.0)\t\t-x*TMath::Exp(-x^2/2.0)";
 
 
   71   fout << 
"double " << 
fncName << 
"(double x) const {" << std::endl;
 
   72   fout << 
"   // radial" << std::endl;
 
   73   fout << 
"   return exp(-x*x/2.0);" << std::endl;
 
   74   fout << 
"}" << std::endl;
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Radial basis activation function for ANN.
 
virtual void MakeFunction(std::ostream &fout, const TString &fncName)
writes the sigmoid activation function source code
 
Double_t Eval(Double_t arg)
evaluate gaussian
 
Double_t EvalDerivative(Double_t arg)
evaluate derivative
 
TString GetExpression()
get expressions for the gaussian and its derivatives
 
Double_t Exp(Double_t x)
Returns the base-e exponential function of x, which is e raised to the power x.