BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kfmatrix_clear - zeros a matrix

LIBRARY CALL

int kfmatrix_clear(
   int    rows,
   int    cols,
   float *matrix)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, otherwise, it returns FALSE (0) and sets kerrno to KINVALID_PARAMETER if the input matrix dimensions are not positive.

DESCRIPTION

kfmatrix_clear() clears a matrix by setting all of its values to 0.0.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/klibm/src/fmatrix.c

SEE ALSO

klibm(3)

COPYRIGHT

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