An interpreter for linear algebra expressions
This is a simple interpreter for applying, so far, the operators(ie. procedures) "combine", "transpose", "multiply-matrices", and "get-norm" to matrices and vectors where a vector is a List(eg. (list 2 3 4)) and where a Matrix is a list of vectors(eg. (list vector vector ...))
Install Dr. Racket from here and then download the code from GitHub. Once DrRacket is installed you can load the file by writing (load "name-of-file.rkt")
and then writing (driver-loop)
to start the REPL. At this point you can start writing expressions.
If you are using Emacs you need to install racket-mode
via Emacs(ie MELPA) and install Racket with your package manager.
Job Hernandez Lara(ie. Me)
Emacs and Racket
MIT License
This program was influenced by the interpreter in "Structure and Interpretation of Computer Programs" by Sussman and by the design recipe from the book "How to Design Programs" by Felleisen.