
(/VERSIONCHECK 2) 

(DEFUN |PINTERP;interpolate;Up2LUp;1| (|qx| |lx| |ly| $)
  (PROG (|px|)
    (RETURN
      (SEQ (LETT |px| (SPADCALL |lx| |ly| (QREFELT $ 11))
                 |PINTERP;interpolate;Up2LUp;1|)
           (EXIT (SPADCALL |px| |qx| (QREFELT $ 12))))))) 

(DEFUN |PINTERP;interpolate;2LSup;2| (|lx| |ly| $)
  (SPADCALL |lx| |ly| (QREFELT $ 16))) 

(DEFUN |PolynomialInterpolation| (&REST #0=#:G1819)
  (PROG ()
    (RETURN
      (PROG (#1=#:G1820)
        (RETURN
          (COND
            ((LETT #1#
                   (|lassocShiftWithFunction| (|devaluateList| #0#)
                       (HGET |$ConstructorCache|
                             '|PolynomialInterpolation|)
                       '|domainEqualList|)
                   . #2=(|PolynomialInterpolation|))
             (|CDRwithIncrement| #1#))
            ('T
             (UNWIND-PROTECT
               (PROG1 (APPLY (|function| |PolynomialInterpolation;|)
                             #0#)
                 (LETT #1# T . #2#))
               (COND
                 ((NOT #1#)
                  (HREM |$ConstructorCache| '|PolynomialInterpolation|))))))))))) 

(DEFUN |PolynomialInterpolation;| (|#1| |#2|)
  (PROG (DV$1 DV$2 |dv$| $ |pv$|)
    (RETURN
      (PROGN
        (LETT DV$1 (|devaluate| |#1|) . #0=(|PolynomialInterpolation|))
        (LETT DV$2 (|devaluate| |#2|) . #0#)
        (LETT |dv$| (LIST '|PolynomialInterpolation| DV$1 DV$2) . #0#)
        (LETT $ (GETREFV 18) . #0#)
        (QSETREFV $ 0 |dv$|)
        (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #0#))
        (|haddProp| |$ConstructorCache| '|PolynomialInterpolation|
            (LIST DV$1 DV$2) (CONS 1 $))
        (|stuffDomainSlots| $)
        (QSETREFV $ 6 |#1|)
        (QSETREFV $ 7 |#2|)
        $)))) 

(MAKEPROP '|PolynomialInterpolation| '|infovec|
    (LIST '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
             (|UnivariatePolynomial| 6 7) (|List| 7)
             (|PolynomialInterpolationAlgorithms| 7 8)
             (0 . |LagrangeInterpolation|) (6 . |elt|)
             |PINTERP;interpolate;Up2LUp;1|
             (|SparseUnivariatePolynomial| 7)
             (|PolynomialInterpolationAlgorithms| 7 14)
             (12 . |LagrangeInterpolation|)
             |PINTERP;interpolate;2LSup;2|)
          '#(|interpolate| 18) 'NIL
          (CONS (|makeByteWordVec2| 1 'NIL)
                (CONS '#()
                      (CONS '#()
                            (|makeByteWordVec2| 17
                                '(2 10 8 9 9 11 2 8 0 0 0 12 2 15 14 9
                                  9 16 2 0 14 9 9 17 3 0 8 8 9 9 13)))))
          '|lookupComplete|)) 
