klin_sgefa - factors a float matrix by gaussian elimination.
LIBRARY CALL
int klin_sgefa(
float *matrix,
int rows,
int cols,
int *pivot)
INPUT
matrix - input matrix stored in a 1D array
floats in row-major order such that
m[i][j] = a[i * cols+j]
rows - the number of rows in matrix.
cols - the number of cols in matrix.
OUTPUT
pivot - the pivot vector
RETURN VALUE
0 implies a normal value; a non-zero value of
k means that U(k,k) == 0.
This is not an error condition for this routine,
but it does indicate that klin_sgesl or
klin_sgedi will divide by zero if called.
Use the argument rcond in klin_segco for a reliable
indication of singularity.
DESCRIPTION
This routine is usually called by klin_sgeco, but
it can be called directly with a saving in time if
the rcond is not needed.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/klibm/src/flin.c
SEE ALSO
klibm(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.