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

gnn_constant_input : Constant Input Samples.
[gnn_input : Reading and handling of sets of vectors.]


Detailed Description

The gnn_memory_input : Memory Input Samples. provides a single constant sample.

Functions

const gsl_vector * gnn_constant_input_get (gnn_input *set, size_t k)
 The "get" function.

void gnn_constant_input_destroy (gnn_input *set)
 Destroy function.

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

void gnn_constant_input_destroy gnn_input   set [static]
 

This is the gnn_memory_input : Memory Input Samples. destroy function.

Parameters:
set  A pointer to a gnn_memory_input : Memory Input Samples. sampler.

Definition at line 109 of file gnn_constant_input.c.

const gsl_vector * gnn_constant_input_get gnn_input   set,
size_t    k
[static]
 

This function is returns the k-th pattern in the set.

Parameters:
set  A pointer to a gnn_constant.
k  The index of the pattern to be retrieved.
Returns:
A pointer to the sample vector.

Definition at line 89 of file gnn_constant_input.c.

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:51:43 2004 for libgnn Gradient Retropropagation Machine Library by doxygen1.2.18