Cholesky decomposition

About

In this project, the Cholesky row decomposition method was implemented for solving the following linear systems:

where A1, A2 ∈ ℝn,n and b1, b2 ∈ ℝn:

input-matrices.png

In the context of this exercise, single-precision floating-point arithmetic was used in order to compare the two linear systems in terms of precision, as n takes value in {100, 1000, 10000}.

The purpose of this project was also to achieve the minimum time complexity for this specific form of input matrices A1, A2, b1 and b2, taking into account that A1 and A2 are pentadiagonal matrices.

Implementation details

The project was implemented in both Octave and C language.

The C language version supports: