Skip to content

Equation n x n variables solver using Gauss Jordan method build on Rust

License

Notifications You must be signed in to change notification settings

jdmejiav/gauss-jordan-method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gauss-jordan-method

Equation solver using Gauss Jordan method for nxn variables built on Rust

Execution

Using cargo:

$ cargo run

Using Rustup:

go to src/ and

$ rustc main.rs

Input:

  • First line must be the n of the number of variables
  • Subsequently enter the coefficients of the equations reparated by one space " ".
    Ex: x0 x1 x2 ... xn K
Example:

If we want to solve the equation

4x + 6y + 7z = 3
5x + 3y + 2z = 2
1x + 2y + 4z = 9

The input should be:

3
4 6 7 3
5 3 2 2
1 2 4 9

About

Equation n x n variables solver using Gauss Jordan method build on Rust

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages