NAME
sum_val - compute sum of vector components
mul_val - compute sum of vector components
PROTOTYPES
unitptr sum_val(int n, unittype *host)
unitptr mul_val(int n, unittype *host)
ARGUMENTS
- int n
- vector dimension
- unittype *host
- host unit
INTERFACE OF CREATED UNIT:
- X_in[n]:
- input vector (packed field, if n<0 )
- X_out[0]:
- sum of all input vector components
SEE ALSO:
mul_vec, sum_vec
FILE
/local/homes/rhaschke/nst7/man/../o.linx86_64//../foldersrc/nst_math.c