Bachelor's degree final project  v1.0
Faculty of Mathematics, University of Barcelona
Defines | Functions
src/householder.c File Reference

Functions for using householder vectors and matrix. More...

#include "householder.h"
+ Include dependency graph for householder.c:

Defines

#define _OPENMP_HOUSEHOLDER_DIMENSION   1e2
 Minimum value for using openmp in Householder.

Functions

void * householder_vector (size_t n, double *const x, double *const v)
 Derive the householder vector.
void * householder_matrix (size_t m, double **const A, double *const v, size_t idx)
 Derive the householder vector using a matrix.
void * premult_matrix (size_t m, size_t n, double **const A, double **const QR, double *const v, double *const w, size_t idx)
 Compute $P_vA$ where $A$ and $P_v$ are respectively m-by-n and n-by-n matrixs.
void premult_vector (size_t n, double *const v, double *const b)
 Compute $P_vb$ where $b$ and $P_v$ are respectively n-by-1 and n-by-n matrixs.
void postmult (size_t m, size_t n, double **const A, double *const v, double *const w)
 Compute $AP_v$ where $A$ and $P_v$ are respectively m-by-n and n-by-n matrixs.

Detailed Description

Functions for using householder vectors and matrix.

Author:
Joan
Date:
21/01/2014 (start)
Version:
1.0