diff --git a/README.md b/README.md index d52fa99..c02e9d3 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,23 @@ Matrix multiplication calculator; calculates the cross & dot products of matrice ## Usage -To calculate the dot product of 2 matrices execute the `dot` command or `multrix` command in the output `bin` directory. - -To calculate the cross product of 2 vectors execute the `cross` command or `multrix` command in the output `bin` directory. - The `multrix` command can calculate both dot or cross products if given the respective command line argument. If no valid commandline argument is given the program will ask which type of calculation should be made. ## installation -The program requires no dependencies other than the nim standard library. Just run `make` in the root of the project and run the executables in `bin`. +To install using nimble: + +```sh +nimble install https://git.inamatrix.xyz/array-in-a-matrix/multrix +``` + +To install using pacman: + +```sh +git clone https://git.inamatrix.xyz/array-in-a-matrix/multrix +cd multrix +makepkg si +``` ## Math