FUNCTIONS:

int set_weights_of(char *poolname, float *weights)
set weights of a named weight pool unit from a matrix weights. ij-element of weights (at i*num_src_neurons+j) is used to initialize value of connection from source neuron j to destination neuron i, if this connection exists (otherwise, the value is ignored). Returns the actual nr of connections set. weights should contain at least num_src_neurons*num_dest_neurons.
int get_weights_of(char *poolname, float *weights)
Analogous, but now the weight values are fetched.
int num_weights_of(char *poolname)
returns the value num_src_neurons*num_dest_neurons needed to allocate the weights array.

PLANNED:

int set_weights_of(char *poolname, float (*fun)(int i, int j))
int get_weights_of(char *poolname, void (*fun)(int i, int j, float w))
Similar, but passing the data via a callback function (avoids having to have a large array most of which is unused).

FILE

/amnt/loge/users/nistaff02/nistaff/rhaschke/nst7/man/../o.linux//../foldersrc/nst_neuron.c