Skip to content

winyiC/Linear-algo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linear-algo

Learning process

Assignment 1-vector calculation and visualize

Assignment 2-Gauss Elimination

Challege project-hilbert matrix:

Initial n =index2;

While relative error percentage(err_percentage) of x_delta=x_true-x_head<=100%;

Create nxn Hilbert Matrix;

Initial x_true value= [ n size matrix with all ones];

Create b=Hx_trure;

Using Gauss elimination to get x_headl

Calculate residual: r=b-dot(H,x_head);

Calculate residual norm inf;

Calculate error: x_delta=x_true-x_head;

Calculate x_delta norm inf;

Calculate relative error percentage(err_percentage);

If err_percentage>100%, break loop;

Challenge Project-Householder Transformation

Use Householder Transform nxm matrix to solve linear square system.

Obtain Q, R matrix, and use back subsitution method to obtain x_head.

About

Learning process

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published