RcdMathLib_doc
Open Source Library for Linear and Non-linear Algebra
qr_pseudo_inverse.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Zakaria Kasmi <zkasmi@inf.fu-berlin.de>
3  * 2020 Freie Universität Berlin
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser General
6  * Public License v2.1. See the file LICENSE in the top level directory for more
7  * details.
8  */
9 
25 #ifndef QR_GET_PINV_H_
26 #define QR_GET_PINV_H_
27 
28 #include <inttypes.h>
29 
30 #include "matrix.h"
31 #include "qr_common.h"
32 
48 int8_t qr_get_pinv(uint8_t m, uint8_t n, matrix_t A[m][n],
49  matrix_t pinv_A[n][m], enum QR_ALGORITHM algo);
50 
51 #endif /* QR_GET_PINV_H_ */
QR_ALGORITHM
QR_ALGORITHM
Possible algorithms to compute the QR-decomposition of a matrix.
Definition: qr_common.h:32
matrix.h
Matrix computations.
qr_get_pinv
int8_t qr_get_pinv(uint8_t m, uint8_t n, matrix_t A[m][n], matrix_t pinv_A[n][m], enum QR_ALGORITHM algo)
Calculate the pseudo inverse of a rectangular matrix using the QR decomposition.
Definition: qr_pseudo_inverse.c:32
qr_common.h
Common definitions and implementations for the QR-decomposition. Provide necessary methods to constru...
matrix_t
#define matrix_t
Define the data type of the matrix elements.
Definition: matrix.h:38