Skip to content

Alok-work23/LDU-Factorization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ LDU Factorization Calculator

A web-based tool to perform LDU matrix factorization and verify the decomposition using matrix multiplication. Built using pure HTML, CSS, and JavaScript, this project provides an interactive and visual approach to understanding numerical linear algebra concepts.


๐Ÿš€ Features

Supports n ร— n matrices (2 โ‰ค n โ‰ค 5)

Computes LDU decomposition such that A=Lร—Dร—U

Displays:

Lower Triangular Matrix (L)

Diagonal Matrix (D)

Upper Triangular Matrix (U)

Verification module reconstructs the original matrix using Lร—Dร—U

Clean and responsive dashboard-style UI

No external libraries or frameworks used


๐Ÿ› ๏ธ Technologies Used

HTML โ€“ Structure

CSS โ€“ Styling & layout

JavaScript โ€“ Matrix operations and logic

๐Ÿ“‚ Project Structure LDU-Factorization-Calculator/ โ”‚ โ”œโ”€โ”€ LDUhome.html # Main HTML file โ”œโ”€โ”€ style.css # Styling and layout โ””โ”€โ”€ script.js # LDU logic & verification


โš™๏ธ How to Run

Clone or download this repository

Open index.html in any modern web browser

Select matrix size and enter values

Click Factorize to view L, D, U matrices and verification result


๐Ÿ“˜ Mathematical Background

LDU factorization decomposes a square matrix into:

L: Unit lower triangular matrix

D: Diagonal matrix

U: Unit upper triangular matrix

This method is widely used in numerical methods, engineering, and scientific computing.


๐ŸŽฏ Use Cases

Learning and visualizing matrix decomposition

Academic assignments and lab demonstrations

Interview and resume projects in mathematics & CS

Numerical computation practice


๐Ÿ”ฎ Future Enhancements

Step-by-step decomposition explanation

Fraction-based output

Matrix inversion and determinant calculation

Export results as PDF


๐Ÿ‘จโ€๐Ÿ’ป Author

Alok Raj (Undergraduate Student)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors