#include <math.h>
#include "nn.h"
Functions | |
| double | nnSigmoid (nnNode *node) |
| Sigmoid function. | |
| double | nnDSigmoid (nnNode *node) |
| Derivative of the sigmoid function. | |
| void | nnRunNetwork (nnNet *net) |
| Evaluate each successive layer of a network, from input to output. | |
| void | nnSetNetworkInputs (nnNet *net, const double inputs[]) |
| Set the input nodes of a network from an array. | |
| void | nnGetNetworkOutputs (nnNet *net, double outputs[]) |
| Stores the states of all output nodes in a network into an array. | |
|
|
Derivative of the sigmoid function.
|
|
||||||||||||
|
Stores the states of all output nodes in a network into an array.
|
|
|
Evaluate each successive layer of a network, from input to output.
|
|
||||||||||||
|
Set the input nodes of a network from an array.
|
|
|
Sigmoid function.
|
|
|
Initial value:
"$Id: nn.c 319 2003-02-22 08:57:23Z asaddi $" |
1.2.18