Common Lisp Package: SPARTNS-TEST

README:

FUNCTION

Private

COPY-2D-MATRIX (DATA-11520)

Copies a sparse tensor of type 2D-MATRIX

COPY-2DMAT (DATA-14193)

Copies a sparse tensor of type 2DMAT

COPY-CAD (DATA-8757)

Copies a sparse tensor of type CAD

COPY-CCD* (DATA-1121)

Copies a sparse tensor of type CCD*

COPY-CCD-TINY (DATA-10211)

Copies a sparse tensor of type CCD-TINY

COPY-CCHHCHF (DATA-5918)

Copies a sparse tensor of type CCHHCHF

COPY-CVD (DATA-9484)

Copies a sparse tensor of type CVD

COPY-HACD* (DATA-2456)

Copies a sparse tensor of type HACD*

COPY-HACHA (DATA-12748)

Copies a sparse tensor of type HACHA

COPY-HCD* (DATA-149)

Copies a sparse tensor of type HCD*

COPY-HCHF (DATA-7931)

Copies a sparse tensor of type HCHF

COPY-HHCCHCF (DATA-3599)

Copies a sparse tensor of type HHCCHCF

COPY-HHD* (DATA-914)

Copies a sparse tensor of type HHD*

COPY-SYM-MAT (DATA-14974)

Copies a sparse tensor of type SYM-MAT

DELETE-2D-MATRIX (DATA-11510 INDEX-11511 INDEX-11512)

This function deletes an element from a sparse tensor. The element type is DOUBLE-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR CVECTOR).

DELETE-2DMAT (DATA-14183 INDEX-14184 INDEX-14185)

This function deletes an element from a sparse tensor. The element type is SYMBOL, the sparse element is 'NOTHING and the tensor is represented using the scheme (CVECTOR ARRAY).

DELETE-CAD (DATA-8747 INDEX-8748 INDEX-8749)

This function deletes an element from a sparse tensor. The element type is DOUBLE-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR ARRAY).

DELETE-CCD* (DATA-1111 INDEX-1112 INDEX-1113)

This function deletes an element from a sparse tensor. The element type is LONG-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR CVECTOR).

DELETE-CCD-TINY (DATA-10201 INDEX-10202 INDEX-10203)

This function deletes an element from a sparse tensor. The element type is LONG-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR CVECTOR).

DELETE-CCHHCHF (DATA-5888 INDEX-5889 INDEX-5890 INDEX-5891 INDEX-5892 INDEX-5893 INDEX-5894)

This function deletes an element from a sparse tensor. The element type is SHORT-FLOAT, the sparse element is 0.0 and the tensor is represented using the scheme (CVECTOR CVECTOR HASH HASH CVECTOR HASH).

DELETE-CVD (DATA-9474 INDEX-9475 INDEX-9476)

This function deletes an element from a sparse tensor. The element type is DOUBLE-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR ARRAY).

DELETE-HACD* (DATA-2441 INDEX-2442 INDEX-2443 INDEX-2444)

This function deletes an element from a sparse tensor. The element type is LONG-FLOAT, the sparse element is -1.0d0 and the tensor is represented using the scheme (HASH ARRAY CVECTOR).

DELETE-HACHA (DATA-12723 INDEX-12724 INDEX-12725 INDEX-12726 INDEX-12727 INDEX-12728)

This function deletes an element from a sparse tensor. The element type is LIST, the sparse element is 'NIL and the tensor is represented using the scheme (HASH ARRAY CVECTOR HASH ARRAY).

DELETE-HCD* (DATA-139 INDEX-140 INDEX-141)

This function deletes an element from a sparse tensor. The element type is LONG-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (HASH CVECTOR).

DELETE-HCHF (DATA-7916 INDEX-7917 INDEX-7918 INDEX-7919)

This function deletes an element from a sparse tensor. The element type is SHORT-FLOAT, the sparse element is 0.0 and the tensor is represented using the scheme (HASH CVECTOR HASH).

DELETE-HHCCHCF (DATA-3569 INDEX-3570 INDEX-3571 INDEX-3572 INDEX-3573 INDEX-3574 INDEX-3575)

This function deletes an element from a sparse tensor. The element type is SHORT-FLOAT, the sparse element is 0.0 and the tensor is represented using the scheme (HASH HASH CVECTOR CVECTOR HASH CVECTOR).

DELETE-HHD* (DATA-904 INDEX-905 INDEX-906)

This function deletes an element from a sparse tensor. The element type is LONG-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (HASH HASH).

DELETE-SYM-MAT (DATA-14959 INDEX-14960 INDEX-14961 INDEX-14962)

This function deletes an element from a sparse tensor. The element type is SYMBOL, the sparse element is 'SPARSE and the tensor is represented using the scheme (HASH CVECTOR ARRAY).

GET-2D-MATRIX (DATA-11492 INDEX-11493 INDEX-11494)

This function retrieves an element from a sparse tensor. The element type is DOUBLE-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR CVECTOR).

GET-2DMAT (DATA-14165 INDEX-14166 INDEX-14167)

This function retrieves an element from a sparse tensor. The element type is SYMBOL, the sparse element is 'NOTHING and the tensor is represented using the scheme (CVECTOR ARRAY).

GET-CAD (DATA-8729 INDEX-8730 INDEX-8731)

This function retrieves an element from a sparse tensor. The element type is DOUBLE-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR ARRAY).

GET-CCD* (DATA-1093 INDEX-1094 INDEX-1095)

This function retrieves an element from a sparse tensor. The element type is LONG-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR CVECTOR).

GET-CCD-TINY (DATA-10183 INDEX-10184 INDEX-10185)

This function retrieves an element from a sparse tensor. The element type is LONG-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR CVECTOR).

GET-CCHHCHF (DATA-5842 INDEX-5843 INDEX-5844 INDEX-5845 INDEX-5846 INDEX-5847 INDEX-5848)

This function retrieves an element from a sparse tensor. The element type is SHORT-FLOAT, the sparse element is 0.0 and the tensor is represented using the scheme (CVECTOR CVECTOR HASH HASH CVECTOR HASH).

GET-CVD (DATA-9456 INDEX-9457 INDEX-9458)

This function retrieves an element from a sparse tensor. The element type is DOUBLE-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR ARRAY).

GET-HACD* (DATA-2416 INDEX-2417 INDEX-2418 INDEX-2419)

This function retrieves an element from a sparse tensor. The element type is LONG-FLOAT, the sparse element is -1.0d0 and the tensor is represented using the scheme (HASH ARRAY CVECTOR).

GET-HACHA (DATA-12684 INDEX-12685 INDEX-12686 INDEX-12687 INDEX-12688 INDEX-12689)

This function retrieves an element from a sparse tensor. The element type is LIST, the sparse element is 'NIL and the tensor is represented using the scheme (HASH ARRAY CVECTOR HASH ARRAY).

GET-HCD* (DATA-121 INDEX-122 INDEX-123)

This function retrieves an element from a sparse tensor. The element type is LONG-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (HASH CVECTOR).

GET-HCHF (DATA-7891 INDEX-7892 INDEX-7893 INDEX-7894)

This function retrieves an element from a sparse tensor. The element type is SHORT-FLOAT, the sparse element is 0.0 and the tensor is represented using the scheme (HASH CVECTOR HASH).

GET-HHCCHCF (DATA-3523 INDEX-3524 INDEX-3525 INDEX-3526 INDEX-3527 INDEX-3528 INDEX-3529)

This function retrieves an element from a sparse tensor. The element type is SHORT-FLOAT, the sparse element is 0.0 and the tensor is represented using the scheme (HASH HASH CVECTOR CVECTOR HASH CVECTOR).

GET-HHD* (DATA-886 INDEX-887 INDEX-888)

This function retrieves an element from a sparse tensor. The element type is LONG-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (HASH HASH).

GET-SYM-MAT (DATA-14934 INDEX-14935 INDEX-14936 INDEX-14937)

This function retrieves an element from a sparse tensor. The element type is SYMBOL, the sparse element is 'SPARSE and the tensor is represented using the scheme (HASH CVECTOR ARRAY).

MAKE-2D-MATRIX (&KEY (NON-ZEROS '(50 50)))

This function creates a sparse tensor with element type DOUBLE-FLOAT and representation scheme (CVECTOR CVECTOR).

MAKE-2DMAT (&KEY (NON-ZEROS '(50 50)))

This function creates a sparse tensor with element type SYMBOL and representation scheme (CVECTOR ARRAY).

MAKE-CAD (&KEY (NON-ZEROS '(5 5)))

This function creates a sparse tensor with element type DOUBLE-FLOAT and representation scheme (CVECTOR ARRAY).

MAKE-CCD* (&KEY (NON-ZEROS '(3 4)))

This function creates a sparse tensor with element type LONG-FLOAT and representation scheme (CVECTOR CVECTOR).

MAKE-CCD-TINY (&KEY (NON-ZEROS '(1 1)))

This function creates a sparse tensor with element type LONG-FLOAT and representation scheme (CVECTOR CVECTOR).

MAKE-CCHHCHF (&KEY (NON-ZEROS '(4 3 4 3 4 3)))

This function creates a sparse tensor with element type SHORT-FLOAT and representation scheme (CVECTOR CVECTOR HASH HASH CVECTOR HASH).

MAKE-CVD (&KEY (NON-ZEROS '(5 5)))

This function creates a sparse tensor with element type DOUBLE-FLOAT and representation scheme (CVECTOR ARRAY).

MAKE-HACD* (&KEY (NON-ZEROS '(3 4 4)))

This function creates a sparse tensor with element type LONG-FLOAT and representation scheme (HASH ARRAY CVECTOR).

MAKE-HACHA (&KEY (NON-ZEROS '(5 5 5 5 5)))

This function creates a sparse tensor with element type LIST and representation scheme (HASH ARRAY CVECTOR HASH ARRAY).

MAKE-HCD* (&KEY (NON-ZEROS '(3 4)))

This function creates a sparse tensor with element type LONG-FLOAT and representation scheme (HASH CVECTOR).

MAKE-HCHF (&KEY (NON-ZEROS '(3 4 3)))

This function creates a sparse tensor with element type SHORT-FLOAT and representation scheme (HASH CVECTOR HASH).

MAKE-HHCCHCF (&KEY (NON-ZEROS '(4 3 4 3 4 3)))

This function creates a sparse tensor with element type SHORT-FLOAT and representation scheme (HASH HASH CVECTOR CVECTOR HASH CVECTOR).

MAKE-HHD* (&KEY (NON-ZEROS '(10 10)))

This function creates a sparse tensor with element type LONG-FLOAT and representation scheme (HASH HASH).

MAKE-SYM-MAT (&KEY (NON-ZEROS '(5 5 5)))

This function creates a sparse tensor with element type SYMBOL and representation scheme (HASH CVECTOR ARRAY).

PACK-2D-MATRIX (DATA-11517)

This function packs a sparse tensor with element type DOUBLE-FLOAT and representation scheme (CVECTOR CVECTOR).

PACK-2DMAT (DATA-14190)

This function packs a sparse tensor with element type SYMBOL and representation scheme (CVECTOR ARRAY).

PACK-CAD (DATA-8754)

This function packs a sparse tensor with element type DOUBLE-FLOAT and representation scheme (CVECTOR ARRAY).

PACK-CCD* (DATA-1118)

This function packs a sparse tensor with element type LONG-FLOAT and representation scheme (CVECTOR CVECTOR).

PACK-CCD-TINY (DATA-10208)

This function packs a sparse tensor with element type LONG-FLOAT and representation scheme (CVECTOR CVECTOR).

PACK-CCHHCHF (DATA-5907)

This function packs a sparse tensor with element type SHORT-FLOAT and representation scheme (CVECTOR CVECTOR HASH HASH CVECTOR HASH).

PACK-CVD (DATA-9481)

This function packs a sparse tensor with element type DOUBLE-FLOAT and representation scheme (CVECTOR ARRAY).

PACK-HACD* (DATA-2451)

This function packs a sparse tensor with element type LONG-FLOAT and representation scheme (HASH ARRAY CVECTOR).

PACK-HACHA (DATA-12739)

This function packs a sparse tensor with element type LIST and representation scheme (HASH ARRAY CVECTOR HASH ARRAY).

PACK-HCD* (DATA-146)

This function packs a sparse tensor with element type LONG-FLOAT and representation scheme (HASH CVECTOR).

PACK-HCHF (DATA-7926)

This function packs a sparse tensor with element type SHORT-FLOAT and representation scheme (HASH CVECTOR HASH).

PACK-HHCCHCF (DATA-3588)

This function packs a sparse tensor with element type SHORT-FLOAT and representation scheme (HASH HASH CVECTOR CVECTOR HASH CVECTOR).

PACK-HHD* (DATA-911)

This function packs a sparse tensor with element type LONG-FLOAT and representation scheme (HASH HASH).

PACK-SYM-MAT (DATA-14969)

This function packs a sparse tensor with element type SYMBOL and representation scheme (HASH CVECTOR ARRAY).

SET-2D-MATRIX (DATA-11500 INDEX-11502 INDEX-11503 VALUE-11501)

This function sets an element on a sparse tensor. The element type is DOUBLE-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR CVECTOR).

SET-2DMAT (DATA-14173 INDEX-14175 INDEX-14176 VALUE-14174)

This function sets an element on a sparse tensor. The element type is SYMBOL, the sparse element is 'NOTHING and the tensor is represented using the scheme (CVECTOR ARRAY).

SET-CAD (DATA-8737 INDEX-8739 INDEX-8740 VALUE-8738)

This function sets an element on a sparse tensor. The element type is DOUBLE-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR ARRAY).

SET-CCD* (DATA-1101 INDEX-1103 INDEX-1104 VALUE-1102)

This function sets an element on a sparse tensor. The element type is LONG-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR CVECTOR).

SET-CCD-TINY (DATA-10191 INDEX-10193 INDEX-10194 VALUE-10192)

This function sets an element on a sparse tensor. The element type is LONG-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR CVECTOR).

SET-CCHHCHF (DATA-5862 INDEX-5864 INDEX-5865 INDEX-5866 INDEX-5867 INDEX-5868 INDEX-5869 VALUE-5863)

This function sets an element on a sparse tensor. The element type is SHORT-FLOAT, the sparse element is 0.0 and the tensor is represented using the scheme (CVECTOR CVECTOR HASH HASH CVECTOR HASH).

SET-CVD (DATA-9464 INDEX-9466 INDEX-9467 VALUE-9465)

This function sets an element on a sparse tensor. The element type is DOUBLE-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (CVECTOR ARRAY).

SET-HACD* (DATA-2427 INDEX-2429 INDEX-2430 INDEX-2431 VALUE-2428)

This function sets an element on a sparse tensor. The element type is LONG-FLOAT, the sparse element is -1.0d0 and the tensor is represented using the scheme (HASH ARRAY CVECTOR).

SET-HACHA (DATA-12701 INDEX-12703 INDEX-12704 INDEX-12705 INDEX-12706 INDEX-12707 VALUE-12702)

This function sets an element on a sparse tensor. The element type is LIST, the sparse element is 'NIL and the tensor is represented using the scheme (HASH ARRAY CVECTOR HASH ARRAY).

SET-HCD* (DATA-129 INDEX-131 INDEX-132 VALUE-130)

This function sets an element on a sparse tensor. The element type is LONG-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (HASH CVECTOR).

SET-HCHF (DATA-7902 INDEX-7904 INDEX-7905 INDEX-7906 VALUE-7903)

This function sets an element on a sparse tensor. The element type is SHORT-FLOAT, the sparse element is 0.0 and the tensor is represented using the scheme (HASH CVECTOR HASH).

SET-HHCCHCF (DATA-3543 INDEX-3545 INDEX-3546 INDEX-3547 INDEX-3548 INDEX-3549 INDEX-3550 VALUE-3544)

This function sets an element on a sparse tensor. The element type is SHORT-FLOAT, the sparse element is 0.0 and the tensor is represented using the scheme (HASH HASH CVECTOR CVECTOR HASH CVECTOR).

SET-HHD* (DATA-894 INDEX-896 INDEX-897 VALUE-895)

This function sets an element on a sparse tensor. The element type is LONG-FLOAT, the sparse element is 0.0d0 and the tensor is represented using the scheme (HASH HASH).

SET-SYM-MAT (DATA-14945 INDEX-14947 INDEX-14948 INDEX-14949 VALUE-14946)

This function sets an element on a sparse tensor. The element type is SYMBOL, the sparse element is 'SPARSE and the tensor is represented using the scheme (HASH CVECTOR ARRAY).

Undocumented

COERCE-LIST (TYPE NUMBERS)

FIRST-VALUE (VALUES)

MACRO

Private

TEST-SCHEME (SCHEME TEST-CAPACITY)

Undocumented

CHECK (TEST V1 V2)

TRAVERSE-2D-MATRIX (((G11489 G11490) VALUE-11487 DATA-11488 &KEY (DONT-BIND NIL)) &BODY BODY)

TRAVERSE-2DMAT (((G14162 G14163) VALUE-14160 DATA-14161 &KEY (DONT-BIND NIL)) &BODY BODY)

TRAVERSE-CAD (((G8726 G8727) VALUE-8724 DATA-8725 &KEY (DONT-BIND NIL)) &BODY BODY)

TRAVERSE-CCD* (((G1090 G1091) VALUE-1088 DATA-1089 &KEY (DONT-BIND NIL)) &BODY BODY)

TRAVERSE-CCD-TINY (((G10180 G10181) VALUE-10178 DATA-10179 &KEY (DONT-BIND NIL)) &BODY BODY)

TRAVERSE-CCHHCHF (((G5835 G5836 G5837 G5838 G5839 G5840) VALUE-5833 DATA-5834 &KEY (DONT-BIND NIL)) &BODY BODY)

TRAVERSE-CVD (((G9453 G9454) VALUE-9451 DATA-9452 &KEY (DONT-BIND NIL)) &BODY BODY)

TRAVERSE-HACD* (((G2412 G2413 G2414) VALUE-2410 DATA-2411 &KEY (DONT-BIND NIL)) &BODY BODY)

TRAVERSE-HACHA (((G12678 G12679 G12680 G12681 G12682) VALUE-12676 DATA-12677 &KEY (DONT-BIND NIL)) &BODY BODY)

TRAVERSE-HCD* (((G118 G119) VALUE-116 DATA-117 &KEY (DONT-BIND NIL)) &BODY BODY)

TRAVERSE-HCHF (((G7887 G7888 G7889) VALUE-7885 DATA-7886 &KEY (DONT-BIND NIL)) &BODY BODY)

TRAVERSE-HHCCHCF (((G3516 G3517 G3518 G3519 G3520 G3521) VALUE-3514 DATA-3515 &KEY (DONT-BIND NIL)) &BODY BODY)

TRAVERSE-HHD* (((G883 G884) VALUE-881 DATA-882 &KEY (DONT-BIND NIL)) &BODY BODY)

TRAVERSE-SYM-MAT (((G14930 G14931 G14932) VALUE-14928 DATA-14929 &KEY (DONT-BIND NIL)) &BODY BODY)