
(PUT '|I16MAT;minRowIndex;%I;1| '|SPADreplace| '(XLAM (|x|) 0)) 

(SDEFUN |I16MAT;minRowIndex;%I;1| ((|x| (%)) (% (|Integer|))) 0) 

(PUT '|I16MAT;minColIndex;%I;2| '|SPADreplace| '(XLAM (|x|) 0)) 

(SDEFUN |I16MAT;minColIndex;%I;2| ((|x| (%)) (% (|Integer|))) 0) 

(PUT '|I16MAT;nrows;%Nni;3| '|SPADreplace| 'ANROWS_I16) 

(SDEFUN |I16MAT;nrows;%Nni;3| ((|x| (%)) (% (|NonNegativeInteger|)))
        (ANROWS_I16 |x|)) 

(PUT '|I16MAT;ncols;%Nni;4| '|SPADreplace| 'ANCOLS_I16) 

(SDEFUN |I16MAT;ncols;%Nni;4| ((|x| (%)) (% (|NonNegativeInteger|)))
        (ANCOLS_I16 |x|)) 

(SDEFUN |I16MAT;maxRowIndex;%I;5| ((|x| (%)) (% (|Integer|)))
        (- (ANROWS_I16 |x|) 1)) 

(SDEFUN |I16MAT;maxColIndex;%I;6| ((|x| (%)) (% (|Integer|)))
        (- (ANCOLS_I16 |x|) 1)) 

(PUT '|I16MAT;qelt;%3I;7| '|SPADreplace| 'AREF2_I16) 

(SDEFUN |I16MAT;qelt;%3I;7|
        ((|m| (%)) (|i| #1=(|Integer|)) (|j| #1#) (% (|Integer|)))
        (AREF2_I16 |m| |i| |j|)) 

(PUT '|I16MAT;elt;%3I;8| '|SPADreplace| 'AREF2_I16) 

(SDEFUN |I16MAT;elt;%3I;8|
        ((|m| (%)) (|i| #1=(|Integer|)) (|j| #1#) (% (|Integer|)))
        (AREF2_I16 |m| |i| |j|)) 

(PUT '|I16MAT;qsetelt!;%4I;9| '|SPADreplace| 'SETAREF2_I16) 

(SDEFUN |I16MAT;qsetelt!;%4I;9|
        ((|m| (%)) (|i| #1=(|Integer|)) (|j| #1#) (|r| #2=(|Integer|)) (% #2#))
        (SETAREF2_I16 |m| |i| |j| |r|)) 

(PUT '|I16MAT;setelt!;%4I;10| '|SPADreplace| 'SETAREF2_I16) 

(SDEFUN |I16MAT;setelt!;%4I;10|
        ((|m| (%)) (|i| #1=(|Integer|)) (|j| #1#) (|r| #2=(|Integer|)) (% #2#))
        (SETAREF2_I16 |m| |i| |j| |r|)) 

(PUT '|I16MAT;empty;%;11| '|SPADreplace| '(XLAM NIL (MAKE_MATRIX_I16 0 0))) 

(SDEFUN |I16MAT;empty;%;11| ((% (%))) (MAKE_MATRIX_I16 0 0)) 

(PUT '|I16MAT;qnew;2Nni%;12| '|SPADreplace| 'MAKE_MATRIX_I16) 

(SDEFUN |I16MAT;qnew;2Nni%;12|
        ((|rows| #1=(|NonNegativeInteger|)) (|cols| #1#) (% (%)))
        (MAKE_MATRIX_I16 |rows| |cols|)) 

(PUT '|I16MAT;new;2NniI%;13| '|SPADreplace| 'MAKE_MATRIX1_I16) 

(SDEFUN |I16MAT;new;2NniI%;13|
        ((|rows| #1=(|NonNegativeInteger|)) (|cols| #1#) (|a| (|Integer|))
         (% (%)))
        (MAKE_MATRIX1_I16 |rows| |cols| |a|)) 

(DECLAIM (NOTINLINE |I16Matrix;|)) 

(DEFUN |I16Matrix| ()
  (SPROG NIL
         (PROG (#1=#:G2588)
           (RETURN
            (COND
             ((LETT #1# (HGET |$ConstructorCache| '|I16Matrix|))
              (|CDRwithIncrement| (CDAR #1#)))
             ('T
              (UNWIND-PROTECT
                  (PROG1
                      (CDDAR
                       (HPUT |$ConstructorCache| '|I16Matrix|
                             (LIST (CONS NIL (CONS 1 (|I16Matrix;|))))))
                    (LETT #1# T))
                (COND
                 ((NOT #1#) (HREM |$ConstructorCache| '|I16Matrix|)))))))))) 

(DEFUN |I16Matrix;| ()
  (SPROG
   ((|dv$| NIL) (% NIL) (#1=#:G2585 NIL) (#2=#:G2586 NIL) (#3=#:G2584 NIL)
    (|pv$| NIL))
   (PROGN
    (LETT |dv$| '(|I16Matrix|))
    (LETT % (GETREFV 46))
    (QSETREFV % 0 |dv$|)
    (QSETREFV % 3
              (LETT |pv$|
                    (|buildPredVector| 0 0
                                       (LIST
                                        (|HasCategory| (|Integer|)
                                                       '(|Comparable|))
                                        (|HasCategory| (|Integer|)
                                                       '(|Hashable|))
                                        (|HasCategory| (|Integer|)
                                                       '(|OrderedSet|))
                                        (|HasCategory| (|Integer|)
                                                       '(|BasicType|))
                                        (LETT #1#
                                              (|HasCategory| (|Integer|)
                                                             '(|SetCategory|)))
                                        (OR
                                         (|HasCategory| (|Integer|)
                                                        '(|Comparable|))
                                         #1#)
                                        (OR
                                         (|HasCategory| (|Integer|)
                                                        '(|BasicType|))
                                         (|HasCategory| (|Integer|)
                                                        '(|Comparable|))
                                         (|HasCategory| (|Integer|)
                                                        '(|Hashable|))
                                         #1#)
                                        (LETT #2#
                                              (AND
                                               (|HasCategory| (|Integer|)
                                                              '(|Evalable|
                                                                (|Integer|)))
                                               (|HasCategory| (|Integer|)
                                                              '(|SetCategory|))))
                                        (OR
                                         (AND
                                          (|HasCategory| (|Integer|)
                                                         '(|Evalable|
                                                           (|Integer|)))
                                          (|HasCategory| (|Integer|)
                                                         '(|Comparable|)))
                                         #2#)
                                        (LETT #3#
                                              (|HasCategory| (|Integer|)
                                                             '(|CoercibleTo|
                                                               (|OutputForm|))))
                                        (OR #3# #2#)
                                        (|HasCategory| (|Integer|)
                                                       '(|AbelianGroup|))
                                        (|HasCategory| (|Integer|)
                                                       '(|SemiRng|))
                                        (AND
                                         (|HasCategory| (|Integer|)
                                                        '(|Monoid|))
                                         (|HasCategory| (|Integer|)
                                                        '(|SemiRng|)))
                                        (|HasCategory| (|Integer|)
                                                       '(|EuclideanDomain|))
                                        (|HasCategory| (|Integer|)
                                                       '(|IntegralDomain|))
                                        (|HasCategory| (|Integer|)
                                                       '(|CommutativeRing|))
                                        (|HasCategory| (|Integer|)
                                                       '(|Field|))))))
    (|haddProp| |$ConstructorCache| '|I16Matrix| NIL (CONS 1 %))
    (|stuffDomainSlots| %)
    (AND (|HasCategory| % '(|finiteAggregate|)) (|augmentPredVector| % 262144))
    (AND (|HasCategory| % '(|finiteAggregate|))
         (|HasCategory| (|Integer|) '(|OrderedSet|))
         (|augmentPredVector| % 524288))
    (AND (|HasCategory| % '(|finiteAggregate|))
         (|HasCategory| (|Integer|) '(|BasicType|))
         (|augmentPredVector| % 1048576))
    (AND
     (OR
      (AND (|HasCategory| % '(|finiteAggregate|))
           (|HasCategory| (|Integer|) '(|BasicType|)))
      (|HasCategory| (|Integer|) '(|Hashable|)) #1#)
     (|augmentPredVector| % 2097152))
    (SETF |pv$| (QREFELT % 3))
    %))) 

(MAKEPROP '|I16Matrix| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|Integer|) |I16MAT;minRowIndex;%I;1|
              |I16MAT;minColIndex;%I;2| (|NonNegativeInteger|)
              |I16MAT;nrows;%Nni;3| |I16MAT;ncols;%Nni;4|
              |I16MAT;maxRowIndex;%I;5| |I16MAT;maxColIndex;%I;6|
              |I16MAT;qelt;%3I;7| |I16MAT;elt;%3I;8| |I16MAT;qsetelt!;%4I;9|
              |I16MAT;setelt!;%4I;10| |I16MAT;empty;%;11|
              |I16MAT;qnew;2Nni%;12| |I16MAT;new;2NniI%;13| (|Boolean|)
              (|Mapping| 6 6) (|List| 25) (|I16Vector|) (|List| 6)
              (|Segment| 6) (|List| 26) (|List| %) (|List| 28) (|List| 9)
              (|PositiveInteger|) (|Mapping| 6 6 6) (|Void|) (|List| 30)
              (|Union| 6 '"one") (|List| 37) (|Equation| 6) (|Mapping| 21 6)
              (|Mapping| 21 6 6) (|OutputForm|) (|List| 24)
              (|Union| % '"failed") (|HashState|) (|SingleInteger|) (|String|))
           '#(~= 0 |zero?| 6 |zero| 11 |vertSplit| 17 |vertConcat| 29
              |transpose| 40 |symmetric?| 50 |swapRows!| 55 |swapColumns!| 62
              |subMatrix| 69 |squareTop| 78 |square?| 83 |smaller?| 88 |size?|
              94 |setsubMatrix!| 100 |setelt!| 108 |setRow!| 204 |setColumn!|
              211 |scalarMatrix| 218 |sample| 224 |rowSlice| 228 |rowEchelon|
              233 |row| 238 |rank| 244 |qsetelt!| 249 |qnew| 257 |qelt| 263
              |positivePower| 270 |parts| 276 |nullity| 281 |nullSpace| 286
              |nrows| 291 |new| 296 |ncols| 303 |more?| 308 |minordet| 314
              |minRowIndex| 319 |minColIndex| 324 |min| 329 |members| 334
              |member?| 339 |maxRowIndex| 345 |maxColIndex| 350 |max| 355
              |matrix| 366 |map!| 378 |map| 384 |listOfLists| 405 |less?| 410
              |latex| 416 |kronecker_prod1| 421 |kroneckerSum| 432
              |kroneckerProduct| 443 |inverse| 454 |horizSplit| 459
              |horizConcat| 471 |hashUpdate!| 482 |hash| 488 |fill!| 493
              |exquo| 499 |every?| 505 |eval| 511 |eq?| 537 |empty?| 543
              |empty| 548 |elt| 552 |diagonalMatrix| 644 |diagonal?| 654
              |determinant| 659 |count| 664 |copy| 676 |columnSpace| 681
              |column| 686 |colSlice| 692 |coerce| 697 |blockSplit| 707
              |blockConcat| 721 |array2| 726 |any?| 731 |antisymmetric?| 737 ^
              742 |Pfaffian| 754 = 759 / 765 - 771 + 782 * 788 |#| 824)
           'NIL
           (CONS (|makeByteWordVec2| 11 '(0 0 1 0 2 6 9 0 7 11 9 0 0 0))
                 (CONS
                  '#(|MatrixCategory&| |TwoDimensionalArrayCategory&| NIL
                     |HomogeneousAggregate&| |Hashable&| |SetCategory&|
                     |Evalable&| |Aggregate&| |BasicType&| NIL |InnerEvalable&|
                     NIL NIL NIL)
                  (CONS
                   '#((|MatrixCategory| 6 24 24)
                      (|TwoDimensionalArrayCategory| 6 24 24) (|Comparable|)
                      (|HomogeneousAggregate| 6) (|Hashable|) (|SetCategory|)
                      (|Evalable| 6) (|Aggregate|) (|BasicType|)
                      (|CoercibleTo| 40) (|InnerEvalable| 6 6)
                      (|shallowlyMutable|) (|finiteAggregate|) (|Type|))
                   (|makeByteWordVec2| 45
                                       '(2 22 21 0 0 1 1 0 21 0 1 2 0 0 9 9 1 2
                                         0 28 0 30 1 2 0 28 0 31 1 2 0 0 0 0 1
                                         1 0 0 28 1 1 0 0 0 1 1 0 0 24 1 1 0 21
                                         0 1 3 0 0 0 6 6 1 3 0 0 0 6 6 1 5 0 0
                                         0 6 6 6 6 1 1 0 0 0 1 1 0 21 0 1 2 1
                                         21 0 0 1 2 0 21 0 9 1 4 0 0 0 6 6 0 1
                                         4 0 0 0 27 6 0 1 4 0 0 0 6 27 0 1 4 0
                                         6 0 6 6 6 17 4 0 0 0 25 6 0 1 4 0 0 0
                                         6 25 0 1 4 0 0 0 26 26 0 1 4 0 0 0 25
                                         25 0 1 4 0 0 0 26 25 0 1 4 0 0 0 25 26
                                         0 1 4 0 0 0 27 26 0 1 4 0 0 0 26 27 0
                                         1 4 0 0 0 27 27 0 1 3 0 0 0 6 24 1 3 0
                                         0 0 6 24 1 2 0 0 9 6 1 0 0 0 1 1 0 26
                                         0 1 1 15 0 0 1 2 0 24 0 6 1 1 16 9 0 1
                                         4 0 6 0 6 6 6 16 2 0 0 9 9 19 3 0 6 0
                                         6 6 14 2 13 0 0 6 1 1 0 25 0 1 1 16 9
                                         0 1 1 16 41 0 1 1 0 9 0 10 3 0 0 9 9 6
                                         20 1 0 9 0 11 2 0 21 0 9 1 1 17 6 0 1
                                         1 0 6 0 7 1 0 6 0 8 1 20 6 0 1 1 19 25
                                         0 1 2 21 21 6 0 1 1 0 6 0 12 1 0 6 0
                                         13 1 20 6 0 1 2 19 6 39 0 1 1 0 0 23 1
                                         3 0 0 9 9 32 1 2 0 0 22 0 1 2 0 0 22 0
                                         1 3 0 0 32 0 0 1 4 0 0 32 0 0 6 1 1 0
                                         23 0 1 2 0 21 0 9 1 1 5 45 0 1 7 0 33
                                         0 6 34 28 9 9 35 1 2 0 0 0 0 1 1 0 0
                                         28 1 2 13 0 0 0 1 1 13 0 28 1 1 18 42
                                         0 1 2 0 28 0 30 1 2 0 28 0 31 1 2 0 0
                                         0 0 1 1 0 0 28 1 2 2 43 43 0 1 1 2 44
                                         0 1 2 0 0 0 6 1 2 16 42 0 6 1 2 19 21
                                         38 0 1 2 8 0 0 36 1 3 8 0 0 6 6 1 2 8
                                         0 0 37 1 3 8 0 0 25 25 1 2 0 21 0 0 1
                                         1 0 21 0 1 0 0 0 18 3 0 6 0 6 6 15 4 0
                                         6 0 6 6 6 1 3 0 0 0 25 6 1 3 0 0 0 6
                                         25 1 3 0 0 0 26 26 1 3 0 0 0 25 25 1 3
                                         0 0 0 26 25 1 3 0 0 0 25 26 1 3 0 0 0
                                         27 6 1 3 0 0 0 6 27 1 3 0 0 0 27 26 1
                                         3 0 0 0 26 27 1 3 0 0 0 27 27 1 1 0 0
                                         25 1 1 0 0 28 1 1 0 21 0 1 1 17 6 0 1
                                         2 21 9 6 0 1 2 19 9 38 0 1 1 0 0 0 1 1
                                         15 41 0 1 2 0 24 0 6 1 1 0 26 0 1 1 0
                                         0 24 1 1 10 40 0 1 3 0 29 0 30 30 1 3
                                         0 29 0 31 31 1 1 0 0 29 1 1 0 0 23 1 2
                                         19 21 38 0 1 1 12 21 0 1 2 14 0 0 9 1
                                         2 18 0 0 6 1 1 17 6 0 1 2 22 21 0 0 1
                                         2 18 0 0 6 1 1 12 0 0 1 2 12 0 0 0 1 2
                                         0 0 0 0 1 2 12 0 6 0 1 2 13 0 0 0 1 2
                                         13 0 0 6 1 2 13 0 6 0 1 2 13 24 24 0 1
                                         2 13 24 0 24 1 1 19 9 0 1)))))
           '|lookupComplete|)) 
