Note: This is taken from the Chicken Wiki, where a more recent version could be available.

# Introduction

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

• Matrix multiplication
• Matrix inversion
• Inner product of two vectors
• Transpose
• Determinant

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

# Examples

`(use matpak)`
```; matrix transpose
(mat-transpose '( (1 2) (3 4) ) )  ==> ((1 3) (2 4))```
```; matrix inverse
(mat-inverse b cc) ; supply the exit continuation```
```; 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) ==> ((1 0 0 0) (0 1 0 0) (0 0 1 0) (0 0 0 1))```
```; matrix determinant
(mat-determinant b)```
```; vector inner product
(mat-inner-product '(2 4) '(5 10))  ==> 50```

# Authors

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