GEN-INTEGER (&KEY (MAX (1+ MOST-POSITIVE-FIXNUM)) (MIN (1- MOST-NEGATIVE-FIXNUM)))
Returns a generator which produces random integers greater than or equal to MIN and less than or equal to MIN.
RANDOM-ARRAY (N M)
Return a random 2D array of size N x M. Useful as input into a make-matrix initial contents, reproducible if we set seed initially.
CHECK-M* (A B)
FOR-IMPLEMENTATIONS ((&REST IMPLEMENTATIONS) &BODY BODY)
Execute BODY for each implementation in IMPLEMENTATIONS.
TEST-MATRIX-SIZE (MATRIX N M)
test all size functions of MATRIX against N and M
WITH-UNIQUE-NAMES ((&REST BINDINGS) &BODY BODY)
Evaluate BODY with BINDINGS bound to fresh unique symbols. Syntax: WITH-UNIQUE-NAMES ( [ var | (var x) ]* ) declaration* form* Executes a series of forms with each VAR bound to a fresh, uninterned symbol. The uninterned symbol is as if returned by a call to GENSYM with the string denoted by X - or, if X is not supplied, the string denoted by VAR - as argument. The variable bindings created are lexical unless special declarations are specified. The scopes of the name bindings and declarations do not include the Xs. The forms are evaluated in order, and the values of all but the last are discarded (that is, the body is an implicit PROGN).