File: kummer.lisp

package info (click to toggle)
maxima-sage 5.45.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 113,788 kB
  • sloc: lisp: 440,833; fortran: 14,665; perl: 14,369; tcl: 10,997; sh: 4,475; makefile: 2,520; ansic: 447; python: 262; xml: 59; awk: 37; sed: 17
file content (54 lines) | stat: -rw-r--r-- 1,381 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
;; Author Barton Willis
;; University of Nebraska at Kearney
;; Copyright (C) 2004, Barton Willis

;; Brief Description: Maxima code for linear homogeneous second order
;; differential equations.

;; Maxima odelin is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License,
;; http://www.gnu.org/copyleft/gpl.html.

;; Maxima odelin has NO WARRANTY, not even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

($put '$kummer 1 '$version)

(putprop '$kummer_m
	 '((a b x)
	   ((unk) "$order" "$kummer_m")
	   ((unk) "$order" "$kummer_m")
	   (($dkummer_m) a b x))
	 'grad)
	 
(putprop '$dkummer_m
	 '((a b x)
	   ((unk) "$order" "$kummer_m")
	   ((unk) "$order" "$kummer_m")
	   ((mtimes ) ((mexpt  ) x -1)
	    ((mplus ) ((mtimes  ) a 
		       (($kummer_m ) a b x))
	     ((mtimes  ) -1 (($dkummer_m ) a b x) b)
	     ((mtimes  ) (($dkummer_m ) a b x) x))))
	 'grad)

(putprop '$kummer_u
	 '((a b x)
	   ((unk) "$order" "$kummer_u")
	   ((unk) "$order" "$kummer_u")
	   (($dkummer_u) a b x))
	 'grad)

(putprop '$dkummer_u
	 '((a b x)
	   ((unk) "$order" "$dkummer_u")
	   ((unk) "$order" "$dkummer_u")
	   ((mtimes ) ((mexpt  ) x -1)
	    ((mplus ) ((mtimes  ) a 
			   (($kummer_u ) a b x))
	     ((mtimes  ) -1 (($dkummer_u ) a b x) b)
	     ((mtimes  ) (($dkummer_u ) a b x) x))))
	 'grad)