Deep network
math.hpp
Go to the documentation of this file.
1
#ifndef MATH_HPP
2
#define MATH_HPP
3
4
namespace
Math
{
5
inline
Real
exp
(
Real
x){
6
x=1+x/1024;
7
x *= x; x *= x; x *= x; x *= x;
8
x *= x; x *= x; x *= x; x *= x;
9
x *= x; x *= x;
10
return
x;
11
}
12
}
13
#endif
Math
Definition:
math.hpp:4
Math::exp
Real exp(Real x)
Definition:
math.hpp:5
Real
double Real
Definition:
vector.hpp:9
src
math.hpp
Generated by
1.9.3