Image Interpolation with Contour Stencils
|
Invert matrix through QR decomposition. More...
Go to the source code of this file.
Functions | |
int | InvertMatrix (double *InverseData, double *AData, int N) |
Invert matrix through QR decomposition. |
Invert matrix through QR decomposition.
Copyright (c) 2010-2011, Pascal Getreuer All rights reserved.
This program is free software: you can use, modify and/or redistribute it under the terms of the simplified BSD License. You should have received a copy of this license along this program. If not, see <http://www.opensource.org/licenses/bsd-license.html>.
Definition in file invmat.c.
int InvertMatrix | ( | double * | InverseData, |
double * | AData, | ||
int | N | ||
) |
Invert matrix through QR decomposition.
InverseData | pointer to memory for holding the result |
AData | pointer to column-major matrix data |
N | the number of dimensions |
The input data is overwritten during the computation. InverseData
should be allocated before calling this function with space for at least N^2 doubles. Matrices are represented in column-major format, meaning A(i,j) = AData[i + N*j], 0 <= i, j < N.
Definition at line 33 of file invmat.c.