You are looking at historical revision 6337 of this page. It may differ significantly from its current revision.
matpak is a Scheme library which produces the following functions for matrix/vector manipulation:
- Matrix multiplication
- Matrix inversion
- Inner product of two vectors
The matpak egg is a packaging of the original source code written by Norman Hardy.
(use matpak) ; matrix transpose (mat-transpose '( (1 2) (3 4) ) ) ==> ((1 3) (2 4))
; matrix multiply (define a '((0 2 4 5) (3 4 5 -2) (7 6 5 3) (4 6 5 7))) (define b (mat-inverse a cc)) (mat-mult a b)
; matrix inverse (mat-inverse b cc) ; supply the exit continuation
; matrix determinant (mat-determinant b)
matpak was authored entirely by Norm Howard - http://www.cap-lore.com/MathPhys/Field/. It was packaged into an egg by Terrence Brannon
Depends on the numbers extension.
- 1.0 - initial release