int kfmatrix_multiply(
float *matrix1,
int rows1,
int cols1,
float *matrix2,
int rows2,
int cols2,
float *outmat)
INPUT
matrix1 - input matrix stored in 1D array of floats
rows1 - number of rows in the first
matrix.
cols1 - number of columns in the first
matrix.
matrix2 - input matrix stored in 1D array of floats
rows2 - number of rows in the second
matrix.
cols2 - number of columns in the second
matrix.
OUTPUT
outmat - the output matrix. Its
dimension will be rows1 * cols2.
RETURN VALUE
TRUE (1) on success, otherwise it will return FALSE (0)
and kerrno will be set to KLIMITATION if the
input matrix dimensions are not 3x3 or 4x4.
DESCRIPTION
kfmatrix_multiply() multiplies two arbitrary
matrices. The input matrices are expected
to be organized in a 1 dimensional array
as consecutive rows. The result is
stored in the same format and has the
dimensions rows1 * cols2. The result is returned in
outmat.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
This function really only works on when the
two matrices are either 3x3 or 4x4.
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.