Update
This commit is contained in:
parent
dab88dbdba
commit
1eb8a49890
@ -25,8 +25,9 @@
|
||||
; load("carleman.lisp")$
|
||||
; * with compilation (must be compiled only once):
|
||||
; :lisp (compile-file "carleman.lisp");
|
||||
; look for the compiled file like "convolution.o" and from now on:
|
||||
; load("carleman.o")$
|
||||
; look for the compiled file like "convolution.o" or "carleman.fasl"
|
||||
; and from now on:
|
||||
; load("carleman.fasl")$
|
||||
|
||||
; Compute the Carleman matrix for series whose coefficients are in v.
|
||||
; Return a list of lists.
|
||||
|
34
thiele.lisp
34
thiele.lisp
@ -1,11 +1,41 @@
|
||||
; Copyright (c) 2022 Thomas Baruchel
|
||||
;
|
||||
; Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
; of this software and associated documentation files (the "Software"), to deal
|
||||
; in the Software without restriction, including without limitation the rights
|
||||
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
; copies of the Software, and to permit persons to whom the Software is
|
||||
; furnished to do so, subject to the following conditions:
|
||||
;
|
||||
; The above copyright notice and this permission notice shall be included in
|
||||
; all copies or substantial portions of the Software.
|
||||
;
|
||||
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
; SOFTWARE.
|
||||
;
|
||||
; Installation
|
||||
; ------------
|
||||
; The functions can be used with or without compilation:
|
||||
; * without compilation:
|
||||
; load("thiele.lisp")$
|
||||
; * with compilation (must be compiled only once):
|
||||
; :lisp (compile-file "thiele.lisp");
|
||||
; look for the compiled file like "thiele.o" or "thiele.fasl"
|
||||
; and from now on:
|
||||
; load("thiele.fasl")$
|
||||
|
||||
; Thiele's interpolation formula
|
||||
; ==============================
|
||||
|
||||
(defun $thiele (u v)
|
||||
(loop for rh on
|
||||
(loop for w on (cdr u) ; we build rho with axes transposed
|
||||
; first, building column 1 and 2
|
||||
(loop for w on (cdr u) ; we build rho with axes transposed (and reversed)
|
||||
; first, building column 2 and 1
|
||||
for r = (list
|
||||
(loop for a on u
|
||||
for b on v
|
||||
|
Loading…
x
Reference in New Issue
Block a user