Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oct
oct
Commits
c0e12ddf
Commit
c0e12ddf
authored
Apr 11, 2012
by
Raymond Toy
Browse files
Correct the computation of alpha and beta.
parent
7c5a3186
Changes
1
Hide whitespace changes
Inline
Side-by-side
qd-bessel.lisp
View file @
c0e12ddf
...
...
@@ -213,13 +213,13 @@
(
defun
alpha
(
n
z
)
(
let
((
n
(
float
n
(
realpart
z
))))
(
/
(
cf-
incomplete-gamma
(
1+
n
)
(
/
z
2
))
(
/
(
incomplete-gamma
(
1+
n
)
(
/
z
2
))
(
expt
z
(
1+
n
)))))
(
defun
beta
(
n
z
)
(
let
((
n
(
float
n
(
realpart
z
))))
(
/
(
-
(
cf-
incomplete-gamma
(
1+
n
)
(
/
z
2
))
(
cf-
incomplete-gamma
(
1+
n
)
(
/
z
-2
)))
(
/
(
-
(
incomplete-gamma
(
1+
n
)
(
/
z
2
))
(
incomplete-gamma
(
1+
n
)
(
/
z
-2
)))
(
expt
z
(
1+
n
)))))
;; a[0](k,v) := (k+sqrt(k^2+1))^(-v);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment