chickadee » matrix-utils » define-utility-matrices

(define-utility-matrices type)syntax

Creates utility matrix procedures that create matrices of the specified type. TYPE is one of the following:

f64Double precision IEEE floating point
f32Single precision IEEE floating point
s32Signed 32-bit integer
u32Unsigned 32-bit integer
alistAn association list of the form ((vector-ref . proc) (make-vector . proc) (vector-set! . proc))

The following procedures are created:

fill-matrix!
ones
zeros
eye
diag
linspace
logspace