The Complete SPRLIB & ANNLIB

FUNCTION

- a type for bookkeeping of activation and transfer functions (LOCAL)

SYNOPSIS

typedef struct _FUNCTION

{

char name[32]; The name of a function.

double (*function)(); A pointer to a function.

int no_parameters; The number of parameters a function takes.

} FUNCTION;

DESCRIPTION

This type is used in the activation / transfer function name-pointer translation and checking scheme. If a new activation or transfer function is added, a FUNCTION record should be added to one of the FUNCTION-variables. This keeps the checking of the validity of activation or transfer functions easy to maintain.

SEE ALSO

get_trans_func_ptr, get_act_func_ptr, get_trans_func_name, get_act_func_name , get_trans_func_no_pars, valid_transfer_function, valid_der_transfer_function , valid_der_der_transfer_function, valid_trans_func, valid_activation_function , FUNCTION, FUNCTION-variables

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998