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

gnn_constant_input.h File Reference

#include "gnn_input.h"

Include dependency graph for gnn_constant_input.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

gnn_inputgnn_constant_input_new_from_vector (const gsl_vector *v)
 Builds an input set from a vector.

gnn_inputgnn_constant_input_new (size_t n, double value)
 Builds a input set with the given value.


Function Documentation

gnn_input* gnn_constant_input_new size_t    n,
double    value
 

This function creates a new gnn_memory_input : Memory Input Samples.. The resulting input sampler has a single sample vector of the given size. All its elements have the same value.

Parameters:
n  The size of the sample.
value  The values for the sample's elements.
Returns:
Returns a pointer to a new gnn_memory_input : Memory Input Samples. set.

Definition at line 175 of file gnn_constant_input.c.

gnn_input* gnn_constant_input_new_from_vector const gsl_vector *    v
 

This function creates a new gnn_memory_input : Memory Input Samples. from a vector.

Parameters:
v  The sample vector.
Returns:
Returns a pointer to a new gnn_memory_input : Memory Input Samples. set.

Definition at line 137 of file gnn_constant_input.c.


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