A Survey of Gaussian Convolution Algorithms
|
Invert matrix through QR decomposition. More...
Invert matrix through QR decomposition.
Copyright (c) 2012-2013, Pascal Getreuer All rights reserved.
This program is free software: you can redistribute it and/or modify it under, at your option, the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version, or the terms of the simplified BSD license.
You should have received a copy of these licenses along with this program. If not, see http://www.gnu.org/licenses/ and http://www.opensource.org/licenses/bsd-license.html.
Definition in file invert_matrix.h.
Go to the source code of this file.
Functions | |
int | invert_matrix (double *inv_A, double *A, int N) |
Invert matrix through QR decomposition. More... | |
int invert_matrix | ( | double * | inv_A, |
double * | A, | ||
int | N | ||
) |
Invert matrix through QR decomposition.
inv_A | pointer to memory for holding the result |
A | pointer to column-major matrix data |
N | the number of dimensions |
The input data is overwritten during the computation. inv_A
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) = A[i + N*j], 0 <= i, j < N.
Definition at line 37 of file invert_matrix.c.