Skip to content

Simple recursive script for calculating the determinant of a square numerical matrix.

License

Notifications You must be signed in to change notification settings

ducsrs/determinant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

determinant

Simple recursive script for calculating the determinant of a square numerical matrix.

Returns an integer if the matrix contains only integers or a float otherwise.

The actual determinant calculator is simply the function det; the functions to_row and safe_input are used to turn command-line input into a list of lists of numbers. If you don't need that functionality, you can use from det import det instead of the entire module.

About

Simple recursive script for calculating the determinant of a square numerical matrix.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages