BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kdmatrix_clear - zeros a matrix

LIBRARY CALL

int kdmatrix_clear(
   int    rows,
   int    cols,
   double *matrix)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, otherwise it returns FALSE (0) and kerrno is set to KINVALID_PARAMETER if the dimensions of the input matrix are not positive and non-zero.

DESCRIPTION

kdmatrix_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/dmatrix.c

SEE ALSO

klibm(3)

COPYRIGHT

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