|
template<typename T > |
void | math::internal::matrix_apply_givens_column (T *mat, int rows, int cols, int givens_i, int givens_k, T const &givens_c, T const &givens_s) |
| Applies a Givens rotation for columns (givens_i, givens_k) by only rotating the required set of columns in-place.
|
|
template<typename T > |
void | math::internal::matrix_apply_givens_row (T *mat, int, int cols, int givens_i, int givens_k, T const &givens_c, T const &givens_s) |
| Applies a transposed Givens rotation for rows (givens_i, givens_k) by only rotating the required set of rows in-place.
|
|
template<typename T > |
void | math::internal::matrix_givens_rotation (T const &alpha, T const &beta, T *givens_c, T *givens_s, T const &epsilon) |
| Calculates the Givens rotation coefficients c and s by solving [alpha beta] [c s;-c s] = [sqrt(alpha^2+beta^2) 0].
|
|
template<typename T , int M, int N> |
void | math::matrix_qr (Matrix< T, M, N > const &mat_a, Matrix< T, M, M > *mat_q, Matrix< T, M, N > *mat_r, T const &epsilon=T(1e-12)) |
| Matrix QR decomposition for compile-time fixed-size matrices.
|
|
template<typename T > |
void | math::matrix_qr (T const *mat_a, int rows, int cols, T *mat_q, T *mat_r, T const &epsilon=T(1e-12)) |
| Calculates a QR decomposition for a given matrix A.
|
|