BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kfmatrix_identity - set matrix to identity

LIBRARY CALL

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

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, otherwise it returns FALSE (0) and sets kerrno to KINTERNAL if the internal call to kfmatrix_clear fails.

DESCRIPTION

kfmatrix_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/fmatrix.c

SEE ALSO

klibm(3)

COPYRIGHT

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