File: extrabessel.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 (52 lines) | stat: -rw-r--r-- 1,297 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
;; 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 '$extrabessel 1 '$version)

(putprop '$fbessel_j
	 '((mu x)
	   ((unk) "$order" "$fbessel_j")
	   (($dbessel_j) mu x))
	 'grad)

(putprop '$dbessel_j
	 '((mu x)
	   ((unk) "$order" "$dbessel_j")
	   ((mtimes ) -1 ((mexpt ) x -2)
	    ((mplus )
	     ((mtimes )
	      ((mplus ) ((mtimes ) -1 ((mexpt) mu 2))
	       ((mexpt  ) x 2))
	      (($fbessel_j) mu x))
	     ((mtimes) x (($dbessel_j) mu x)))))
	 'grad)

(putprop '$fbessel_y
	 '((mu x)
	   ((unk) "$order" "$fbessel_y")
	   (($dbessel_y) mu x))
	 'grad)

(putprop '$dbessel_y
	 '((mu x)
	   ((unk) "$order" "$dbessel_y")
	   ((mtimes ) -1 ((mexpt ) x -2)
	    ((mplus )
	     ((mtimes )
	      ((mplus ) ((mtimes ) -1 ((mexpt) mu 2))
	       ((mexpt  ) x 2))
	      (($fbessel_y) mu x))
	     ((mtimes) x (($dbessel_y) mu x)))))
	 'grad)