lmrcsum - compute row and column sums for a matrix
LIBRARY CALL
int lmrcsum(
kobject in_obj,
int scale_type,
kobject rowsum_obj,
kobject colsum_obj)
INPUT
in_obj - input matrix object
integer
scale_type - 1 for scaling by unity,
2 for scaling by 1/N,
3 for scaling by 1/(N-1),
any other value is treated as scaling by
unity.
OUTPUT
rowsum_obj - output object to receive the
row sum vectors (NULL if not wanted).
kobject
colsum_obj - output object to receive the
column sum vectors (NULL if not wanted).
RETURN VALUE
TRUE (1) on success, FALSE (0) otherwise
DESCRIPTION
lmrcsum conputes the row and column sums for a matrix
object. If the rowsum object pointer is NULL, then the
row sums are not computed, and likewise for the colsum
object pointer.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
Restrictions on data or input as applicable
MODIFICATION
none
FILES
$MATRIX/objects/library/kmatrix/src/lmrcsum.c
SEE ALSO
kmatrix(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.