The Complete SPRLIB & ANNLIB

eval_ptron

- evaluate a perceptron

SYNOPSIS

void eval_ptron (ptron, in, out)

ARGUMENTS

PTRON *ptron Pointer a perceptron.
double *in Input value, a vector of size [1..ptron->nin].
double *out Ouput value, a vector of size [1..ptron->nout].

FUNCTION

This function calculates the output of a perceptron using the perceptron pointed to by ptron and the input vector in. Afterwards the variable out contains the output of the perceptron.

NOTE

The variable in and out are in vector format, where the length of in is ptron.ninp and the length of out is ptron.noutp.

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