BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kdmatrix_identity - set matrix to identity

LIBRARY CALL

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

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, otherwise this function returns FALSE (0) and kerrno is set to KINTERNAL if the internal call to kdmatrix_clear failed.

DESCRIPTION

kdmatrix_identity() sets an input matrix to the identity matrix.

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.