NAME

cxConnMaxInd - determine the maximum one-based index of all connections in a connection list

C SPECIFICATION

#include <cx/Pyramid.h>

long cxConnMaxInd( cxConnection *con )

FORTRAN SPECIFICATION

integer function cxConnMaxInd( con )
integer con

PARAMETERS

con
The input connection list to be scanned.

FUNCTION RETURN VALUE

The return value for this function is one plus the maximal index of all connections in con.

DESCRIPTION

The returned index is one plus the maximal index of all connections in con. It is effectively
        1 + MAX( con->connections[i] ),
where the maximum is taken over then entire vector. This function is useful in determining the number of pyramid elements at the next lower layer referred to by this layer's connection list, con.

SEE ALSO


Last modified: Mon Nov 18 13:47:23 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996