Skip to content

Commit

Permalink
add matrices to website
Browse files Browse the repository at this point in the history
  • Loading branch information
vanilla-extracts committed Nov 17, 2023
1 parent 62b1a29 commit 03a0c37
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
Binary file added docs/assets/function.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions docs/function.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ Exponentiation
- exp
- ln (alias: log)

Vectors
- norm

Matrices
- det
- invert

Other
- sqrt
- factorial (aliases: fact or !)
Expand Down Expand Up @@ -51,3 +58,8 @@ You can round to the nth decimal with the round function, by default it round to

![img.png](assets/round.png)

## Partial function

The language supports partial function

![img.png](assets/function.png)
16 changes: 16 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,22 @@ You can compute using vectors!

![](assets/vector.png)


## Matrices !

As of 2.7.0 matrix algebra is implemented (using lup reduction)

- you can add matrices
- multiply compatible matrices

functions added
- transpose
- invert
- det

![](assets/matrix.png)


## TODO List

- [X] Lexing of basic operations
Expand Down

0 comments on commit 03a0c37

Please sign in to comment.