Common Lisp Package: CLEM

README:

FUNCTION

Public

COMPUTE-BOUNDS (X1 Y1 X2 Y2 XFRM)

takes a region bound by x1 and x2 on the x-axis and y1 and y2 on the y-axis and returns the coordinates of the bounding rectangle after applying the affine transform xfrm

TRANSFORM-COORD (X Y XFRM)

applies the affine transformation xfrm to the point {x,y} and returns the position of the point after applying the transformation

Undocumented

COPY-AFFINE-TRANSFORMATION-7-PARAMETERS (SRC)

DECF-TRANSFORMATION-PARAMETERS (SRC DELTA)

GAUSSIAN-BLUR (M &KEY (K 2) (SIGMA 1) (TRUNCATE NIL))

GAUSSIAN-KERNEL (K SIGMA)

GET-AFFINE-TRANSFORMATION-7-PARAMETERS-PROPERTIES (TRANSVEC)

GRADMAG (M &KEY (TRUNCATE NIL))

LAPLACIAN (M &KEY (MATRIX-CLASS 'DOUBLE-FLOAT-MATRIX) (TRUNCATE T))

MAKE-AFFINE-TRANSFORMATION (&KEY (X-SHIFT 0.0d0) (Y-SHIFT 0.0d0) (X-SCALE 1.0d0) (Y-SCALE 1.0d0) (X-SHEAR 0.0d0) (Y-SHEAR 0.0d0) (THETA 0.0d0))

MAKE-AFFINE-TRANSFORMATION-MATRIX-FROM-7-PARAMETERS (TRANSVEC)

MATRIX-MEANS (&REST MATRICES)

MATRIX-MEDIANS (MATRICES)

MOVE-AFFINE-TRANSFORMATION-7-PARAMETERS (SRC DEST)

SAMPLE-VARIANCE-WINDOW (A &KEY (K 1) (TRUNCATE NIL))

TRANSFORMATION-PARAMETER (XFRM I)

SETFTRANSFORMATION-PARAMETER (V XFRM I)

VARIANCE-WINDOW (A &KEY (K 2))

X-DERIVATIVE (M &KEY (MATRIX-CLASS 'DOUBLE-FLOAT-MATRIX) (TRUNCATE T))

Y-DERIVATIVE (M &KEY (MATRIX-CLASS 'DOUBLE-FLOAT-MATRIX) (TRUNCATE T))

Private

DELISTIFY (LIST)

Some MOPs, like openmcl 0.14.2, cons attribute values in a list.

DELISTIFY-DSD (LIST)

Some MOPs, like openmcl 0.14.2, cons attribute values in a list.

Undocumented

ADD-ROOT-CLASS (ROOT-CLASS DIRECT-SUPERCLASSES)

BITNOR (INTEGER1 INTEGER2 ANDMASK)

CLOSEST-COMMON-ANCESTOR (ITM &REST LIS)

CONSTRAIN (MIN VAL MAX)

COPY-TO-MATRIX-TYPE (M MTYPE &KEY (CONSTRAIN NIL))

COUNT-RANGE (STARTR ENDR STARTC ENDC)

DISPLACE-TO-1D-ARRAY (MATRIX)

DOUBLE-FLOAT-DIVIDE (&REST ARGS)

FILL-SLOT-FROM-ANCESTOR (SLOT CLASS)

FILL-STANDARD-MATRIX-CLASS-SLOTS-FROM-ANCESTORS (CLASS &REST ALL-KEYS)

GAUSSIAN-KERNEL-1D (K SIGMA)

GET-MATRIX-NAME-FOR-TYPE (TYPE)

GET-MATRIX-TYPE-FOR-TYPE (TYPE)

GRADDIR (M &KEY (TRUNCATE NIL))

INFERIOR (A B)

INSERT-BEFORE (NEW OLD LIST)

LAPLACIAN-2 (M &KEY (MATRIX-CLASS 'DOUBLE-FLOAT-MATRIX) (TRUNCATE T))

MAKE-INTERN (X &OPTIONAL (PACKAGE *PACKAGE*))

MEDIAN (SEQ)

PARSE-MLOOP-VARS (VARS)

REMOVE-KEYWORD-ARG (ARGLIST AKEY)

RESIZE-MATRIX (M Y X &KEY (INTERPOLATION BILINEAR))

SCALAR (VAL &KEY (MATRIX-CLASS 'SCALAR))

SEPARABLE-MORPHOLOGICAL-OP (M H F)

STANDARD-DEVIATION (&REST MATRICES)

STANDARD-MATRIX-CLASS-P (CLASS)

STANDARD-MATRIX-CLASS-PRECEDENCE-LIST (CLASS)

STANDARD-MATRIX-CLASS-SLOTS (CLASS)

SUBCLASSP (C1 C2)

SUPERIOR (A B)

ZERO-COL-VECTOR (J)

ZERO-ROW-VECTOR (J)

MACRO

Public

Undocumented

DEFMATRIXCLASS (TYPE DIRECT-SUPERCLASSES &KEY (ELEMENT-TYPE NIL) (ACCUMULATOR-TYPE NIL) (INITIAL-ELEMENT NIL) MINVAL MAXVAL (VAL-FORMAT NIL))

MLOOP ((MSPECS M N I J) &BODY BODY)

Private

Undocumented

%%SUM-RANGE (M STARTR ENDR STARTC ENDC ELEMENT-TYPE ACCUMULATOR-TYPE)

BILINEAR-INTERPOLATE (G00 G01 G10 G11 A B)

DEF-BINARY-OP (NAME OP TYPE-1 TYPE-2 ACCUMULATOR-TYPE &KEY SUFFIX (ALLOW-IN-PLACE T))

DEF-MATRIX-ABS (TYPE-1 ACCUMULATOR-TYPE &KEY SUFFIX)

DEF-MATRIX-ABS! (TYPE-1 &KEY SUFFIX)

DEF-MATRIX-ADD-NUMBER (TYPE-1 TYPE-2 ACCUMULATOR-TYPE &KEY SUFFIX (ALLOW-IN-PLACE T))

DEF-MATRIX-ADD-RANGE (TYPE-1 TYPE-2 ACCUMULATOR-TYPE &KEY SUFFIX)

DEF-MATRIX-ADD-SCALAR (TYPE-1 TYPE-2 ACCUMULATOR-TYPE &KEY SUFFIX)

DEF-MATRIX-CONVOLVE (TYPE-1 TYPE-2 ACCUMULATOR-ELEMENT-TYPE DEST-TYPE)

DEF-MATRIX-EQUAL (TYPE-1 TYPE-2 &KEY SUFFIX)

DEF-MATRIX-HPROD (TYPE-1 TYPE-2 ACCUMULATOR-TYPE &KEY SUFFIX)

DEF-MATRIX-HPROD! (TYPE-1 TYPE-2 ACCUMULATOR-TYPE &KEY SUFFIX)

DEF-MATRIX-LOG (TYPE-1 ACCUMULATOR-TYPE &KEY SUFFIX)

DEF-MATRIX-LOG! (TYPE-1 &KEY SUFFIX)

DEF-MATRIX-MIN-MAX (TYPE)

DEF-MATRIX-MOVE (TYPE-1 TYPE-2)

DEF-MATRIX-MULT (TYPE-1 TYPE-2 ACCUMULATOR-TYPE &KEY SUFFIX)

DEF-MATRIX-MULT-BLOCK (TYPE-1 TYPE-2 ACCUMULATOR-TYPE &KEY SUFFIX)

DEF-MATRIX-SCALE-2 (INPUT-CLASS RESULT-CLASS)

DEF-MATRIX-SCALE-FIT (TYPE-1 ACCUMULATOR-TYPE)

DEF-MATRIX-SCALE-FIT! (TYPE-1)

DEF-MATRIX-SQUARE (MATRIX-TYPE)

DEF-MATRIX-SUBSET-MATRIX (MATRIX-TYPE)

DEF-MATRIX-SUBTR (TYPE-1 TYPE-2 ACCUMULATOR-TYPE &KEY SUFFIX)

DEF-MATRIX-TRANSFORM (TYPE-1 TYPE-2 TRANSFORM-TYPE)

DEF-MOVE-ELEMENT (TYPE-1 TYPE-2)

DEF-UNARY-OP (NAME OP TYPE-1 ACCUMULATOR-TYPE &KEY SUFFIX)

DEFMATRIXFUNCS (TYPE &KEY (ELEMENT-TYPE 'DOUBLE-FLOAT) (ACCUMULATOR-TYPE 'DOUBLE-FLOAT) MINVAL MAXVAL)

DEFMBITNOR (NAME TYPE-1 TYPE-2 ACCUMULATOR-TYPE &KEY SUFFIX)

DEFMBITNOR! (NAME TYPE-1 TYPE-2 ACCUMULATOR-TYPE &KEY SUFFIX)

FIXNUM1+ (PLACE)

MATRIX-DIMENSIONS (MATRIX)

MATRIX-TOTAL-SIZE (MATRIX)

MAYBE-COERCE (VAL TYPE-1 TYPE-2)

MAYBE-TRUNCATE (VAL TYPE-1 TYPE-2)

MLOOP-RANGE ((MSPECS STARTR ENDR STARTC ENDC I J) &BODY BODY)

ONCE-ONLY ((&REST NAMES) &BODY BODY)

QUADRATIC-INTERPOLATE (G00 G01 G02 G10 G11 G12 G20 G21 G22 A B TYPE)

QUADRATIC-KERNEL (S TYPE)

WITH-MAP-RANGE (M ELEMENT-TYPE STARTR ENDR STARTC ENDC (A I J) &BODY BODY)

WITH-MATRIX-RANGE-DO (MATRIX-CLASS M N P STARTR ENDR STARTC ENDC (A B C I J) &BODY BODY)

WITH-MATRIX-VALS ((M ELEMENT-TYPE A) &BODY BODY)

WITH-TYPED-MAP-RANGE (M ELEMENT-TYPE STARTR ENDR STARTC ENDC (A I J) &BODY BODY)

WITH-TYPED-MATRIX-ACCESSOR ((M ELEMENT-TYPE REF) &BODY BODY)

WITH-TYPED-MATRIX-VALS ((M ELEMENT-TYPE A) &BODY BODY)

WITH-TYPED-MREF ((Z ELEMENT-TYPE) &BODY BODY &ENVIRONMENT ENV)

WITH-UNTYPED-MATRIX-VALS ((M ELEMENT-TYPE A) &BODY BODY)

GENERIC-FUNCTION

Public

COLS (M)

Returns the number of columns in the matrix.

DIM (M)

Returns a list containg the number of elments in each dimension of the matrix.

M* (&REST MATRICES)

General purpose matrix multiplication operator. If one argument is supplied, returns that matrix. If two arguments are supplied, if both are matrices, performs a matrix multiplication equivalent to multiplying the first matrix by the second matrix. if one argument is a matrix and the other a number, m* scales the matrix by the numeric argument. If more than two arguments are supplied, the first two arguments are treated as in the two argument case and the results are then multiplied by the remaining arguments such that (m* m1 m2 m3) == (m* (m* m1 m2) m3).

M+ (&REST MATRICES)

Element-wise addition of matrices. All matrices must be of the same dimensions. Returns a matrix of the same size as each matrix in matrices, whoses elements are the some of the corresponding elements from each matrix in matrices.

M- (&REST MATRICES)

When passed a single matrix, returns a new matrix of the same dimensions as matrix whose elemnts are the result of perforing a unary minus (or sign inversion) on each element in the matrix. When passed more than one matrix, performs element-wise subtraction of each matrix after the first from the first matrix and returns a new matrix containing these values.

M.* (&REST MATRICES)

Hadamard multiplication operator. Performs an element-wise multiplication of the elements in each matrix.

MREF (M &REST INDICES)

Returns the value of the element in the ith row of the jth column of the matrix m.

SETFMREF (V M &REST INDICES)

Set the value of the specified element at row row and col col of matrix m to be v.

RANDOM-MATRIX (ROWS COLS &KEY MATRIX-CLASS LIMIT (MATRIX-CLASS 'MATRIX) (LIMIT 1.0d0))

Create a matrix of type <matrix-class> having <rows> rows and <cols> cols. The values of the matrix will be random numbers of the appropriate type between 0 and <limit>.

ROWS (M)

Returns the number of rows in the matrix.

SET-VAL (M I J V &KEY COERCE (COERCE T))

Sets the value of the element at row i, column j of matrix m to v.

TRANSFORM-MATRIX (M N XFRM &KEY U V X Y INTERPOLATION BACKGROUND (INTERPOLATION NEAREST-NEIGHBOR INTERPOLATION-SUPPLIED-P) (BACKGROUND NIL BACKGROUND-SUPPLIED-P))

applies the affine transform xfrm to the contents of matrix m and places the contents in n. The default supported classes of interpolation are :quadratic, :bilinear and :nearest-neighbor.

VAL (M I J)

Returns the value of the element in the ith row of the jth column of the matrix m.

Undocumented

AFFINE-TRANSFORM (MAT XFRM &KEY U V X Y INTERPOLATION BACKGROUND MATRIX-CLASS (INTERPOLATION NIL INTERPOLATION-SUPPLIED-P) (BACKGROUND NIL BACKGROUND-SUPPLIED-P) (MATRIX-CLASS (CLASS-OF MAT)))

ARRAY->BIT-MATRIX (A)

ARRAY->COMPLEX-MATRIX (A)

ARRAY->DOUBLE-FLOAT-MATRIX (A)

ARRAY->FIXNUM-MATRIX (A)

ARRAY->INTEGER-MATRIX (A)

ARRAY->MATRIX (A &KEY MATRIX-CLASS (MATRIX-CLASS 'MATRIX))

ARRAY->REAL-MATRIX (A)

ARRAY->SB16-MATRIX (A)

ARRAY->SB32-MATRIX (A)

ARRAY->SB8-MATRIX (A)

ARRAY->SINGLE-FLOAT-MATRIX (A)

ARRAY->T-MATRIX (A)

ARRAY->UB16-MATRIX (A)

ARRAY->UB32-MATRIX (A)

ARRAY->UB8-MATRIX (A)

BINARY-THRESHOLD (U TVAL)

COPY-TO-BIT-MATRIX (M &KEY CONSTRAIN (CONSTRAIN T))

COPY-TO-DOUBLE-FLOAT-MATRIX (M &KEY CONSTRAIN (CONSTRAIN NIL))

COPY-TO-FIXNUM-MATRIX (M &KEY CONSTRAIN (CONSTRAIN NIL))

COPY-TO-UB16-MATRIX (M &KEY CONSTRAIN (CONSTRAIN NIL))

COPY-TO-UB32-MATRIX (M &KEY CONSTRAIN (CONSTRAIN NIL))

COPY-TO-UB8-MATRIX (M &KEY CONSTRAIN (CONSTRAIN NIL))

DILATE (U V)

DISCRETE-CONVOLVE (U V &KEY TRUNCATE NORM-V MATRIX-CLASS (MATRIX-CLASS NIL) (NORM-V T) (TRUNCATE NIL))

ERODE (U V)

HORZCAT (M1 &REST MR)

IDENTITY-MATRIX (K &KEY MATRIX-CLASS (MATRIX-CLASS 'MATRIX))

INVERT-MATRIX (A)

MAP-COL (A K F)

MAP-MATRIX-FIT (F A)

MAP-ROW (A K F)

MAT-ABS (M)

MAT-ABS-RANGE (M STARTR ENDR STARTC ENDC)

MAT-ADD (A B &KEY IN-PLACE)

MAT-COPY-INTO (A C &KEY TRUNCATE CONSTRAIN)

MAT-COPY-PROTO (A)

MAT-EQUAL (M N)

MAT-HPROD (M N)

MAT-HPROD! (M N)

MAT-MULT (A B)

MAT-SCALE (M Q &KEY IN-PLACE (RESULT-CLASS (UNLESS IN-PLACE (COMPUTE-MAT-SCALE-RESULT-CLASS M Q))))

MAT-SQRT (U)

MAT-SQRT! (U)

MAT-SQUARE (U)

MAT-SQUARE! (U)

MAT-SUBTR (A B &KEY IN-PLACE RESULT-TYPE (RESULT-TYPE 'AFFINE-TRANSFORMATION))

MAT-TRIM (M K)

MATRIX-MOVE (M N &KEY CONSTRAIN)

MATRIX-MOVE-RANGE-2D (M N STARTR1 ENDR1 STARTC1 ENDC1 STARTR2 ENDR2 STARTC2 ENDC2)

MAX-VAL (M)

MIN-VAL (M)

MLOG (M &OPTIONAL BASE)

MLOG-RANGE (M STARTR ENDR STARTC ENDC &OPTIONAL BASE)

MLOGAND (M1 M2 &KEY IN-PLACE)

MLOGIOR (M1 M2 &KEY IN-PLACE)

MLOGXOR (M1 M2 &KEY IN-PLACE)

NORM-0-1 (U &KEY COPY)

NORM-0-255 (U &KEY COPY)

NORMALIZE (U &KEY NORMIN NORMAX COPY (TRUNCATE NIL))

PAD-MATRIX (M)

RANDOM-BIT-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-COMPLEX-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-DOUBLE-FLOAT-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-FIXNUM-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-INTEGER-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-REAL-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-SB16-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-SB32-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-SB8-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-SINGLE-FLOAT-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-T-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-UB16-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-UB32-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-UB8-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

SCALAR-DIVIDE (A Q)

SCALAR-DIVIDE-COL (A K Q)

SCALAR-DIVIDE-ROW (A K Q)

SCALAR-DOUBLE-FLOAT-DIVIDE-COL (A K Q)

SCALAR-DOUBLE-FLOAT-DIVIDE-ROW (A K Q)

SCALAR-MULT-COL (A K Q)

SCALAR-MULT-ROW (A K Q)

SCALAR-SINGLE-FLOAT-DIVIDE-COL (A K Q)

SCALAR-SINGLE-FLOAT-DIVIDE-ROW (A K Q)

SEPARABLE-DISCRETE-CONVOLVE (M H1 H2 &KEY TRUNCATE NORM-V (NORM-V NIL) (TRUNCATE NIL) (MATRIX-CLASS (CLASS-OF M)))

SUBSET-MATRIX (U STARTR ENDR STARTC ENDC)

SUM (M)

SUM-RANGE (M STARTR ENDR STARTC ENDC)

SUM-SQUARE (M)

SUM-SQUARE-RANGE (M STARTR ENDR STARTC ENDC)

SWAP-COLS (A K L)

SWAP-ROWS (A K L)

THRESHOLD (U TVAL &KEY MINVAL MAXVAL (MINVAL 0) (MAXVAL 255))

TRANSPOSE (M)

VERTCAT (M1 &REST MR)

ZERO-MATRIX (J K &KEY MATRIX-CLASS (MATRIX-CLASS 'MATRIX))

Private

ACCUMULATOR-TYPE (SMC)

the type of the result of various mathematical opreations on instances of this matrix class. needs work.

ELEMENT-TYPE (SMC)

the type of the elements of instances of this matrix class

MAXVAL (SMC)

the maximum value allowed by instances of this matrix class.

MINVAL (SMC)

the minimum value allowed by instances of this matrix class.

MLOGNOT (M &KEY IN-PLACE)

Performs element-wise logical negation of the matrix m. If in-place is nil, returns a new matrix with the resulting values, otherwise, destructively modifies matrix m.

MOVE-ELEMENT (M I1 J1 N I2 J2)

Copy the contents of the element at row i1, column j1, in matrix m to the element at row i2, column j2, in matrix n.

VAL-FORMAT (SMC)

the format string used to print out element values of instances of this matrix class

Undocumented

%DISCRETE-CONVOLVE (U V Z &KEY NORM-V (NORM-V T))

%GET-SUBTR-MATRIX-CLASS (A B)

%MAT-MULT-BLOCK (M N P MSTARTR MENDR MSTARTC MENDC NSTARTR NENDR NSTARTC NENDC)

%MAT-MULT-WITH-BLOCKS (M N P MSTARTR MENDR MSTARTC MENDC NSTARTR NENDR NSTARTC NENDC)

%SEPARABLE-DISCRETE-CONVOLVE (M H1 H2 Z1 Z2 &KEY TRUNCATE NORM-V MATRIX-CLASS (MATRIX-CLASS (CLASS-OF M)) (NORM-V NIL) (TRUNCATE NIL))

%TRANSFORM-MATRIX (M N XFRM &KEY (INTERPOLATION NEAREST-NEIGHBOR) (BACKGROUND 0.0d0))

%TRANSFROM-MATRIX (M N XFRM &KEY BACKGROUND INTERPOLATION)

ADD-COL (M &KEY VALUES INITIAL-ELEMENT)

ADD-ROW (M &KEY VALUES INITIAL-ELEMENT)

ALLOCATE-MATRIX-VALS (OBJECT &KEY ADJUSTABLE INITIAL-ELEMENT (INITIAL-ELEMENT 0) (DIMENSIONS '(1)) ROWS COLS &ALLOW-OTHER-KEYS)

ARRAY->COL-VECTOR (A)

ARRAY->FLOAT-MATRIX (A)

ARRAY->NUMBER-MATRIX (A)

ARRAY->ROW-VECTOR (A)

ARRAY->UNSIGNED-BYTE-MATRIX (A)

CLOSEST-COMMON-MATRIX-CLASS (M1 &REST MR)

COMPLEMENT-MATRIX (U &KEY MAXVAL (MAXVAL (MAX-VAL U)))

COMPUTE-MAT-SCALE-RESULT-CLASS (M Q)

CONCAT-MATRIX-COLS (A B &KEY MATRIX-TYPE)

COPY-AFFINE-TRANSFORMATION (XFRM)

COPY-TO-COMPLEX-MATRIX (M &KEY CONSTRAIN (CONSTRAIN T))

COPY-TO-SB16-MATRIX (M &KEY CONSTRAIN (CONSTRAIN NIL))

COPY-TO-SB32-MATRIX (M &KEY CONSTRAIN (CONSTRAIN NIL))

COPY-TO-SB8-MATRIX (M &KEY CONSTRAIN (CONSTRAIN NIL))

COPY-TO-SINGLE-FLOAT-MATRIX (M &KEY CONSTRAIN (CONSTRAIN NIL))

CVREF (CV I)

FIT (M VAL)

FIT-VALUE (VAL M)

GET-COL-LIST (M C &OPTIONAL START)

GET-COL-VECTOR (M R)

GET-FIRST-NON-ZERO-ROW-IN-COL (A J &OPTIONAL START)

GET-ROW-AS-COL-VECTOR (M R)

GET-ROW-LIST (M R &OPTIONAL START)

GET-ROW-VECTOR (M R)

INVERT-AFFINE-TRANSFORMATION (XFRM)

MABS (U)

MABS-RANGE (M STARTR ENDR STARTC ENDC)

MABS-RANGE! (M STARTR ENDR STARTC ENDC)

MAP-MATRIX-COPY (A F &KEY MATRIX-CLASS (MATRIX-CLASS (CLASS-OF A)))

MAP-RANGE (A STARTR ENDR STARTC ENDC FN)

MAP-SET-RANGE (A STARTR ENDR STARTC ENDC FN)

MAP-SET-VAL (A F)

MAP-SET-VAL-COPY (A F)

MAP-SET-VAL-FIT (A F &KEY TRUNCATE (TRUNCATE T))

MAT-ABS! (M)

MAT-ABS-RANGE! (M STARTR ENDR STARTC ENDC)

MAT-ADD-RANGE (M N STARTR ENDR STARTC ENDC &KEY IN-PLACE)

MAT-ADD-RANGE-DOUBLE-FLOAT (M N STARTR ENDR STARTC ENDC &KEY IN-PLACE)

MAT-ADD-RANGE-INTEGER (M N STARTR ENDR STARTC ENDC &KEY IN-PLACE)

MAT-ADD-RANGE-SINGLE-FLOAT (M N STARTR ENDR STARTC ENDC &KEY IN-PLACE)

MAT-ADDDOUBLE-FLOAT (M N &KEY IN-PLACE)

MAT-ADDINTEGER (M N &KEY IN-PLACE)

MAT-ADDSINGLE-FLOAT (M N &KEY IN-PLACE)

MAT-COPY (A &REST ARGS)

MAT-COPY-PROTO-DIM (A M N &KEY INITIAL-ELEMENT (INITIAL-ELEMENT NIL INITIAL-ELEMENT-SUPPLIED-P))

MAT-EQUAL-RANGE (M N STARTR ENDR STARTC ENDC)

MAT-HPROD-RANGE (M N STARTR ENDR STARTC ENDC)

MAT-HPROD-RANGE! (M N STARTR ENDR STARTC ENDC)

MAT-MULT-3-BLOCK (M N P)

MAT-MULT3 (M N P)

MAT-SCALAR-OP (A B OP)

MAT-SCALE-2 (M N Q)

MAT-SCALE-FIT (M Q)

MAT-SCALE-FIT! (M Q)

MAT-SCALE-FIT-RANGE (M Q STARTR ENDR STARTC ENDC)

MAT-SCALE-FIT-RANGE! (M Q STARTR ENDR STARTC ENDC)

MAT-SCALE-RANGE-2 (M N Q STARTR ENDR STARTC ENDC)

MAT-SUBTR-RANGE (M N START ENDR STARTC ENDC &KEY IN-PLACE RESULT-TYPE (RESULT-TYPE (%GET-SUBTR-MATRIX-CLASS M N)))

MAT-SUBTR-RANGE3 (M N P STARTR ENDR STARTC ENDC)

MATRIX->LIST (M)

MATRIX-L2-DISTANCE (B0 B1 &KEY DEST)

MATRIX-MOVE-RANGE-2D-CONSTRAIN (M N STARTR1 ENDR1 STARTC1 ENDC1 STARTR2 ENDR2 STARTC2 ENDC2)

MATRIX-PRECEDENCE-LIST (C)

MAX-RANGE (M STARTR ENDR STARTC ENDC)

MBITNOR (M1 M2)

MBITNOR! (M N)

MBITNOR!-RANGE (M N STARTR ENDR STARTC ENDC)

MBITNOR-RANGE (M1 M2 STARTR ENDR STARTC ENDC)

MEAN (M)

MEAN-RANGE (M STARTR ENDR STARTC ENDC)

MIN-RANGE (M STARTR ENDR STARTC ENDC)

MLOG! (M &OPTIONAL BASE)

MLOG-RANGE! (M STARTR ENDR STARTC ENDC &OPTIONAL BASE)

MLOGAND-RANGE (M1 M2 STARTR ENDR STARTC ENDC &KEY IN-PLACE)

MLOGIOR-RANGE (M1 M2 STARTR ENDR STARTC ENDC &KEY IN-PLACE)

MLOGNOT-RANGE (M STARTR ENDR STARTC ENDC &KEY IN-PLACE)

MLOGXOR-RANGE (M1 M2 STARTR ENDR STARTC ENDC &KEY IN-PLACE)

MORPHOLOGICAL-OP (U V F)

MOVE-AFFINE-TRANSFORMATION (SRC DEST)

RANDOM-FLOAT-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-NUMBER-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RANDOM-UNSIGNED-BYTE-MATRIX (ROWS COLS &KEY MAX (MAX NIL))

RESHAPE (M ROWS COLS &KEY INITIAL-ELEMENT)

ROW-MAJOR-MREF (M INDEX)

SETFROW-MAJOR-MREF (V M INDEX)

RVREF (RV I)

SAMPLE-VARIANCE (M)

SAMPLE-VARIANCE-RANGE (M STARTR ENDR STARTC ENDC)

SCALAR-DIVIDE-COPY (A Q)

SCALAR-MULT (M Q)

SCALAR-MULT-COPY (M Q)

SCALAR-SET-VAL (S V)

SCALAR-VAL (S)

SET-AFFINE-TRANSFORMATION-MATRIX (XFRM M)

SET-AFFINE-TRANSFORMATION-PARAMETERS (XFRM &KEY (Y-SHIFT 0.0d0) (X-SHIFT 0.0d0) (THETA 0.0d0) (Y-SCALE 1.0d0) (X-SCALE 1.0d0) (Y-SHEAR 0.0d0) (X-SHEAR 0.0d0))

SET-COL (M C VALUES)

SET-ROW (M R VALUES)

SET-VAL-FIT (M I J V &KEY TRUNCATE (TRUNCATE NIL))

SUBSET-MATRIX-COLS (A X Y &KEY (MATRIX-TYPE))

SUM-COLS (M &KEY MATRIX-CLASS (MATRIX-CLASS (CLASS-OF M)))

SUM-ROWS (M &KEY MATRIX-CLASS (MATRIX-CLASS (CLASS-OF M)))

TRANSPOSE-MATRIX (A)

VARIANCE (M)

VARIANCE-RANGE (M STARTR ENDR STARTC ENDC)

VEC-DIM (VEC)

VEC-SET-VAL (VEC I VAL)

VEC-VAL (VEC I)

SLOT-ACCESSOR

Public

Undocumented

THETA (OBJECT)

SETFTHETA (NEW-VALUE OBJECT)

X-SCALE (OBJECT)

SETFX-SCALE (NEW-VALUE OBJECT)

X-SHEAR (OBJECT)

SETFX-SHEAR (NEW-VALUE OBJECT)

X-SHIFT (OBJECT)

SETFX-SHIFT (NEW-VALUE OBJECT)

Y-SCALE (OBJECT)

SETFY-SCALE (NEW-VALUE OBJECT)

Y-SHEAR (OBJECT)

SETFY-SHEAR (NEW-VALUE OBJECT)

Y-SHIFT (OBJECT)

SETFY-SHIFT (NEW-VALUE OBJECT)

Private

Undocumented

ADJUSTABLE (OBJECT)

SETFADJUSTABLE (NEW-VALUE OBJECT)

INITIAL-ELEMENT (OBJECT)

SETFINITIAL-ELEMENT (NEW-VALUE OBJECT)

MATRIX-VALS (OBJECT)

SETFMATRIX-VALS (NEW-VALUE OBJECT)

RESIZABLE (OBJECT)

SETFRESIZABLE (NEW-VALUE OBJECT)

SPECIALIZED-ARRAY-P (SMC)

SETFSPECIALIZED-ARRAY-P (NEW-VALUE OBJECT)

VARIABLE

Private

Undocumented

*LAPLACIAN-CONV-MATRIX*

*LAPLACIAN-CONV-MATRIX-2*

*MATRIX-PRINT*

*MATRIX-PRINT-COL-LIMIT*

*MATRIX-PRINT-ROW-LIMIT*

*MAX-BLOCK-SIZE*

*PRINT-MATRIX-FLOAT-FORMAT*

*PRINT-MATRIX-NEWLINES*

*TYPED-MATRIX-NAMES-HASH*

*TYPED-MATRIX-TYPES*

*TYPED-MATRIX-TYPES-HASH*

*X-DERIVATIVE-CONV-MATRIX*

*Y-DERIVATIVE-CONV-MATRIX*

CLASS

Public

AFFINE-TRANSFORMATION

a matrix that represents an affine-transformation

AFFINE-TRANSFORMATION-7-PARAMETERS

a set of parameters for use in (over-) parameterizing an affine transformation by use of seven parameters, x-shift, y-shift, theta, x-scale, y-scale, x-shear, and y-shear.

Undocumented

BIT-MATRIX

COMPLEX-MATRIX

DOUBLE-FLOAT-MATRIX

FIXNUM-MATRIX

FLOAT-MATRIX

INTEGER-MATRIX

MATRIX

NUMBER-MATRIX

REAL-MATRIX

SB16-MATRIX

SB32-MATRIX

SB8-MATRIX

SB8-SCALAR

SINGLE-FLOAT-MATRIX

T-MATRIX

TYPED-MATRIX

UB16-MATRIX

UB32-MATRIX

UB8-MATRIX

UB8-SCALAR

UNSIGNED-BYTE-MATRIX

Private

Undocumented

BASE-VECTOR

BIT-SCALAR

COL-VECTOR

ROW-VECTOR

SCALAR (VAL &KEY (MATRIX-CLASS 'SCALAR))

STANDARD-MATRIX-CLASS

TYPED-MIXIN

CONDITION

Private

Undocumented

MATRIX-ARGUMENT-ERROR

MATRIX-CONDITION

MATRIX-ERROR

CONSTANT

Private

Undocumented

+EPSILON+