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

Set of different function for solving linear systems. More...

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

Functions

void forward_substitution_ones (size_t n, double **const L, double *const x, double *const b)
 Forward substitution for lower triangular matrices (Lx = b) where the diagonal of L are 1's.
void * forward_substitution (size_t n, double **const L, double *const x, double *const b, double tol)
 Forward substitution for lower triangular matrices (Lx = b)
void * back_substitution (size_t n, double **const U, double *const x, double *const b, double tol)
 Back substitution for upper triangular matrices (Ux = b)
void * solve_qr (size_t m, size_t n, double **const A, double *const x, double *const b, double tol)
 QR solve linear system (QRx = b)
void * solve_lu (size_t m, size_t n, double **const A, double *const x, double *const b, double tol)
 LU solve linear system (LUx = b)
void * solve (size_t m, size_t n, double **const A, double *const x, double *const b, double tol, void *(*s)(size_t, size_t, double **const, double *const, double *const, double))
 solve a linear system (Ax = b) with the pointer to a solve function
solve_ptr get_solve_with_lu ()
solve_ptr get_solve_with_qr ()

Detailed Description

Set of different function for solving linear systems.

Author:
Joan Gimeno
Date:
22/11/2013 (start)
Version:
1.0