diff --git a/README.md b/README.md index 45ea118..8dba32d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,28 @@ clojure matrix-repl thing, the last two methods in src/matrix/core.clj are the o src/matrix/core.clj is the only file with interesting stuff -\*actual\* usage example: +current version's usage example (only the first line is user-input): +``` +[[3 1 1 2] [1 -2 1 4] [-1 1 0 4]] +Steps: +1/3R₁ +-1R₁ + R₂ +R₁ + R₃ +-3/7R₂ +-4/3R₂ + R₃ +7/5R₃ +-1/3R₃ + R₁ +2/7R₃ + R₂ +-1/3R₂ + R₁ +Final: +┏ ┓ +┃ 1 0 0 -14/5 ┃ +┃ 0 1 0 6/5 ┃ +┃ 0 0 1 46/5 ┃ +┗ ┛ +``` + +OLD \*actual\* usage example: ``` matrix.core=> (matrix-repl [[1 1 -1 -5] [5 -1 1 -1] [-1 3 -2 1]] :yeah) ┏ ┓