MATRIX commands


PROGRAM NAME

mrcsum - Compute Row or Column Sums for a Matrix

DESCRIPTION

mrcsum computes row and column sum vectors for a matrix object. The output objects will be either of type DOUBLE or DOUBLE COMPLEX according to the input object being real or complex respectively.

The output vectors can be scaled if desired by N or N-1 where N is the number of colums (for a row sum) or the number of rows (for a column sum). This feature facilitates the computation of a mean vector, and other statistical measures.

REQUIRED ARGUMENTS

-i
type: infile
desc: Input matrix object

OPTIONAL ARGUMENTS

-scale
type: integer toggle
desc: scale by 1, 1/N or 1/(N-1)
default: 1
allowed values:
-or
type: outfile
desc: Row sum output object
default: {none}
-oc
type: outfile
desc: Column sum output object
default: {none}

EXAMPLES

SEE ALSO

RESTRICTIONS

REFERENCES

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.