carta
wn_polish_inverse_mat(3)

wn_polish_inverse_mat3

Matrix inversion

Part of wnminv(3).

Usage

double *mat,int len_i,int iterations)

double *rhs,double **mat_inverse,double **mat,

int len,int iterations)

Overview

wn_invert_mat performs an in-place invert of mat.

Resources

Inverting a matrix requires

WORST and AVERAGE CASE:

time = len_i^3
stack memory = 1
dynamic memory = len_i

where the matrix to be inverted is a len_i*len_i matrix.

Diagnostics

code == WN_SUCCESS for successful inversion.
code == WN_SINGULAR for singular matrix.

Bugs

Cannot handle complex numbers, making these useless for many engineering applications.

Author

Will Naylor

From libwn-dev 6.0-17 in Debian 4.0 (Etch). Parsed by carta from the page's man source.