NAME

invert_matrix0 -- Inverse of a matrix, C-convention

PROTOTYPE

float invert_matrix0(int iDim, float* pfA, float* pfInverse)

ARGUMENTS

int iDim
dimension
float* pfA
matrix
float* pfInverse
inverse of matrix

DESCRIPTION:

Find the inverse y[0..n-1][0..n-1] of a matrix a[0..n-1][0..n-1], so that AY=1=YA. The input matrix 'a' will be destroyed afterwards. The matrices are given as linear arrays, i.e. A[i][j]=A[i*n+j] The algorithm employs one step of iterative improvement of each solution.

RETURN VALUE:

The matrix determinant. A return value of zero indicates that the matrix was singular. The inverse pfInverse is invalid in this case.

FILE

/amnt/loge/users/nistaff02/nistaff/rhaschke/nst7/man/../o.linux//../nstsrc/nst_nr.c