RcdMathLib_doc
Open Source Library for Linear and Non-linear Algebra
qr_givens.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
26
#ifndef QR_GIVENS_H_
27
#define QR_GIVENS_H_
28
29
#include <inttypes.h>
30
31
#include "
matrix.h
"
32
53
int8_t
qr_givens_decomp
(uint8_t m, uint8_t n,
matrix_t
A[][n],
54
uint8_t q_col_num,
matrix_t
Q[][q_col_num],
55
bool
reduced);
56
69
void
qr_givens_get_params
(
matrix_t
xjj,
matrix_t
xij,
matrix_t
c_s_t_r_vec[]);
70
71
#endif
/* QR_GIVENS_H_ */
matrix.h
Matrix computations.
qr_givens_decomp
int8_t qr_givens_decomp(uint8_t m, uint8_t n, matrix_t A[][n], uint8_t q_col_num, matrix_t Q[][q_col_num], bool reduced)
Computes the QR decomposition of the matrix A by using the Givens algorithm.
Definition:
qr_givens.c:33
matrix_t
#define matrix_t
Define the data type of the matrix elements.
Definition:
matrix.h:38
qr_givens_get_params
void qr_givens_get_params(matrix_t xjj, matrix_t xij, matrix_t c_s_t_r_vec[])
Compute the Givens parameters.
Definition:
qr_givens.c:110
linear_algebra
matrix_decompositions
include
qr_givens.h
Generated by
1.8.16