The Complete SPRLIB & ANNLIB

matinv

- invert a matrix A into matrix B

SYNOPSIS

int matinv (A, n, B)

ARGUMENTS

double **A Input matrix.
int n Dimension of A; see FUNCTION below.
double **B Output (result) matrix.

RETURNS

TRUE if an error was detected, FALSE if no error was detected.

FUNCTION

See above. Matrix A and B must have the following format: A[1..n][1..n], B[1..n][1..n]. In mathematical form: B = A^-1.

NOTE

A core dump will probably result if the requirements are violated!

SEE ALSO

mattransp, vecinmult, matvecmult, matmult, matcopy, matinvd

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998