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

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

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

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

(PUT '|U16MAT;nrows;%Nni;3| '|SPADreplace| 'ANROWS_U16) 

(SDEFUN |U16MAT;nrows;%Nni;3| ((|x| (%)) (% (|NonNegativeInteger|)))
        (ANROWS_U16 |x|)) 

(PUT '|U16MAT;ncols;%Nni;4| '|SPADreplace| 'ANCOLS_U16) 

(SDEFUN |U16MAT;ncols;%Nni;4| ((|x| (%)) (% (|NonNegativeInteger|)))
        (ANCOLS_U16 |x|)) 

(SDEFUN |U16MAT;maxRowIndex;%I;5| ((|x| (%)) (% (|Integer|)))
        (- (ANROWS_U16 |x|) 1)) 

(SDEFUN |U16MAT;maxColIndex;%I;6| ((|x| (%)) (% (|Integer|)))
        (- (ANCOLS_U16 |x|) 1)) 

(PUT '|U16MAT;qelt;%3I;7| '|SPADreplace| 'AREF2_U16) 

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

(PUT '|U16MAT;elt;%3I;8| '|SPADreplace| 'AREF2_U16) 

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

(PUT '|U16MAT;qsetelt!;%4I;9| '|SPADreplace| 'SETAREF2_U16) 

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

(PUT '|U16MAT;setelt!;%4I;10| '|SPADreplace| 'SETAREF2_U16) 

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

(PUT '|U16MAT;empty;%;11| '|SPADreplace| '(XLAM NIL (MAKE_MATRIX_U16 0 0))) 

(SDEFUN |U16MAT;empty;%;11| ((% (%))) (MAKE_MATRIX_U16 0 0)) 

(PUT '|U16MAT;qnew;2Nni%;12| '|SPADreplace| 'MAKE_MATRIX_U16) 

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

(PUT '|U16MAT;new;2NniI%;13| '|SPADreplace| 'MAKE_MATRIX1_U16) 

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

(DECLAIM (NOTINLINE |U16Matrix;|)) 

(DEFUN |U16Matrix;| ()
  (SPROG
   ((|dv$| NIL) (% NIL) (#1=#:G2338 NIL) (#2=#:G2339 NIL) (#3=#:G2337 NIL)
    (|pv$| NIL))
   (PROGN
    (LETT |dv$| '(|U16Matrix|))
    (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|)
                                                       '(|AbelianMonoid|))
                                        (|HasCategory| (|Integer|)
                                                       '(|AbelianGroup|))
                                        (|HasCategory| (|Integer|)
                                                       '(|EuclideanDomain|))
                                        (|HasCategory| (|Integer|)
                                                       '(|IntegralDomain|))
                                        (|HasCategory| (|Integer|)
                                                       '(|SemiRng|))
                                        (AND
                                         (|HasCategory| (|Integer|)
                                                        '(|Monoid|))
                                         (|HasCategory| (|Integer|)
                                                        '(|SemiRng|)))
                                        (|HasCategory| (|Integer|)
                                                       '(|CommutativeRing|))
                                        (|HasCategory| (|Integer|)
                                                       '(|Field|))))))
    (|haddProp| |$ConstructorCache| '|U16Matrix| NIL (CONS 1 %))
    (|stuffDomainSlots| %)
    (AND (|HasCategory| % '(|finiteAggregate|)) (|augmentPredVector| % 524288))
    (AND (|HasCategory| % '(|finiteAggregate|))
         (|HasCategory| (|Integer|) '(|OrderedSet|))
         (|augmentPredVector| % 1048576))
    (AND (|HasCategory| % '(|finiteAggregate|))
         (|HasCategory| (|Integer|) '(|BasicType|))
         (|augmentPredVector| % 2097152))
    (AND
     (OR
      (AND (|HasCategory| % '(|finiteAggregate|))
           (|HasCategory| (|Integer|) '(|BasicType|)))
      (|HasCategory| (|Integer|) '(|Hashable|)) #1#)
     (|augmentPredVector| % 4194304))
    (SETF |pv$| (QREFELT % 3))
    %))) 

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

(MAKEPROP '|U16Matrix| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|Integer|) |U16MAT;minRowIndex;%I;1|
              |U16MAT;minColIndex;%I;2| (|NonNegativeInteger|)
              |U16MAT;nrows;%Nni;3| |U16MAT;ncols;%Nni;4|
              |U16MAT;maxRowIndex;%I;5| |U16MAT;maxColIndex;%I;6|
              |U16MAT;qelt;%3I;7| |U16MAT;elt;%3I;8| |U16MAT;qsetelt!;%4I;9|
              |U16MAT;setelt!;%4I;10| |U16MAT;empty;%;11|
              |U16MAT;qnew;2Nni%;12| |U16MAT;new;2NniI%;13| (|Boolean|)
              (|Mapping| 6 6) (|List| 25) (|U16Vector|) (|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 0))
                 (CONS
                  '#(|MatrixCategory&| |TwoDimensionalArrayCategory&| NIL
                     |HomogeneousAggregate&| |Hashable&| |SetCategory&|
                     |Evalable&| |Aggregate&| |BasicType&| NIL |InnerEvalable&|
                     NIL 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|)
                      (|MatrixOperationsCategory| 6 24 24) (|Type|))
                   (|makeByteWordVec2| 45
                                       '(2 23 21 0 0 1 1 12 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 14 0 0 1 2 0 24 0 6 1 1 15 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 16 0 0 6 1 1 0 25 0 1 1 15 9
                                         0 1 1 15 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 18 6 0 1
                                         1 0 6 0 7 1 0 6 0 8 1 21 6 0 1 1 20 25
                                         0 1 2 22 21 6 0 1 1 0 6 0 12 1 0 6 0
                                         13 1 21 6 0 1 2 20 6 39 0 1 3 0 0 9 9
                                         32 1 1 0 0 23 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 1 0 0 28 1 2 0 0
                                         0 0 1 2 16 0 0 0 1 1 16 0 28 1 1 19 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 15 42 0 6 1 2 20 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 12 21 0 1 1 18 6 0 1
                                         2 22 9 6 0 1 2 20 9 38 0 1 1 0 0 0 1 1
                                         14 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
                                         20 21 38 0 1 1 13 21 0 1 2 17 0 0 9 1
                                         2 19 0 0 6 1 1 18 6 0 1 2 23 21 0 0 1
                                         2 19 0 0 6 1 2 13 0 0 0 1 1 13 0 0 1 2
                                         12 0 0 0 1 2 13 0 6 0 1 2 16 0 0 0 1 2
                                         16 0 0 6 1 2 16 0 6 0 1 2 16 24 24 0 1
                                         2 16 24 0 24 1 1 20 9 0 1)))))
           '|lookupComplete|)) 
