Skip to content

gdiaz94/LUFactorization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

LU Factorization

Purpose

The LUFactorization.java program takes in a square matrix and performs LU factorization with partial pivoting on it (A = P'LU). It prints out P', L, and U to the console once it is finished.

Input File Format

The program gets the matrix from an input file (input.txt) in this order: first line contains an integer representing the number of rows/columns in the sqare matrix, each line after that represents the elements of the matrix (can be integers or decimals).

Example:

4

3 7 0 5

6 1 1 1

0 2 6 4

1 8 2 1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages