Skip to content

Instantly share code, notes, and snippets.

@jashwanth9
Created July 13, 2012 18:21
Show Gist options
  • Save jashwanth9/3106453 to your computer and use it in GitHub Desktop.
Save jashwanth9/3106453 to your computer and use it in GitHub Desktop.
Given Matrix:
2 -1 1
4 1 -1
1 1 1
successful result
-0.5 0 1
3.37987164504112e-260 3.37999569705406e-260 1.71965088003014e-312
1.5 -1 1
Given Matrix:
11 2 3
4 5 6
7 1 2
successful result
1.61818181818182 0.8 -3
2.47650000429143e-259 2.47654962509661e-259 1.71966572012184e-312
-0.281818181818182 -0.1 0.5
Given Matrix:
11 2 3 1
4 5 6 1
7 1 2 1
1 3 7 4
successful result
4.24318181818182 0.925 -7.375 1.25
-0.806818181818182 -0.125 1.375 -0.25
5.15476623033677e-256 5.15486785374578e-256 5.15496947715478e-256 2.91244181342673e-312
0.525 0.025 -0.875 0.25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment