Pliss dont be mad if my q is so simple.. I'm a newbie
How do i calculate exponents?
I need to do this:
y=1/(1+exp(-x))
i'm stuck at the exponents.. please helppp...
Ttelmah Guest
Posted: Wed Apr 02, 2008 3:25 am
Just make sure you have included the file 'math.h' near the start of your code. This includes the definitions for the exp function.
If you look at the manual page for the function, it should say something like 'requires <math.h>'.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum