Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

gnn_logistic.c File Reference

#include "gnn_logistic.h"
#include <math.h>

Include dependency graph for gnn_logistic.c:

Include dependency graph

Go to the source code of this file.

Data Structures

struct  _gnn_logistic

Defines

#define GNN_LOGISTIC_A(node)   (((gnn_logistic *)(node))->a)
#define GNN_LOGISTIC_B(node)   (((gnn_logistic *)(node))->b)

Typedefs

typedef _gnn_logistic gnn_logistic

Functions

int gnn_logistic_f (gnn_node *node, const gsl_vector *x, const gsl_vector *w, gsl_vector *y)
 Computes the output.

int gnn_logistic_dx (gnn_node *node, const gsl_vector *x, const gsl_vector *w, const gsl_vector *dy, gsl_vector *dx)
 Computes .

gnn_nodegnn_logistic_new (int input_size, double a, double b)
 Creates a Logistic Sigmoid activation function node.

gnn_nodegnn_logistic_standard_new (int input_size)
 Creates a standard Logistic Sigmoid function node.

double gnn_logistic_get_a (gnn_node *node)
 Returns the amplitude constant .

void gnn_logistic_set_a (gnn_node *node, double a)
 Sets the amplitude constant .

double gnn_logistic_get_b (gnn_node *node)
 Gets the streching factor .

void gnn_logistic_set_b (gnn_node *node, double b)
 Sets the streching factor .


Define Documentation

#define GNN_LOGISTIC_A node       (((gnn_logistic *)(node))->a)
 

Definition at line 59 of file gnn_logistic.c.

#define GNN_LOGISTIC_B node       (((gnn_logistic *)(node))->b)
 

Definition at line 60 of file gnn_logistic.c.


Typedef Documentation

typedef struct _gnn_logistic gnn_logistic
 


Generated on Sun Jun 13 20:50:51 2004 for libgnn Gradient Retropropagation Machine Library by doxygen1.2.18