You are looking at historical revision 6337 of this page. It may differ significantly from its current revision.

Introduction

matpak is a Scheme library which produces the following functions for matrix/vector manipulation:

The matpak egg is a packaging of the original source code written by Norman Hardy.

Examplest


(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)

Authors

matpak was authored entirely by Norm Howard - http://www.cap-lore.com/MathPhys/Field/. It was packaged into an egg by Terrence Brannon

License

BSD

Requirements

Depends on the numbers extension.

Version History