Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Goran Jelic-Cizmek
coffe
Commits
b0c6b3e1
Commit
b0c6b3e1
authored
Dec 07, 2021
by
Goran Jelic-Cizmek
Browse files
Added analytical integrals for l=5,6
parent
84e0da16
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/covariance.c
View file @
b0c6b3e1
...
...
@@ -187,6 +187,18 @@ static double integral_power_spherical_bessel1_unit(
case
4
:
return
((
105
.
/
x
-
2
.
*
x
)
*
cos
(
x
)
+
(
22
.
-
105
.
/
pow
(
x
,
2
))
*
sin
(
x
)
+
15
.
*
gsl_sf_Si
(
x
))
/
2
.;
break
;
case
5
:
return
((
315
*
x
-
16
*
pow
(
x
,
3
))
*
cos
(
x
)
-
(
315
-
105
*
pow
(
x
,
2
)
+
pow
(
x
,
4
))
*
sin
(
x
))
/
pow
(
x
,
3
);
break
;
case
6
:
return
(
x
*
(
20790
-
1575
*
pow
(
x
,
2
)
+
8
*
pow
(
x
,
4
))
*
cos
(
x
)
+
(
-
20790
+
8505
*
pow
(
x
,
2
)
-
176
*
pow
(
x
,
4
))
*
sin
(
x
)
+
105
*
pow
(
x
,
4
)
*
gsl_sf_Si
(
x
)
)
/
(
8
.
*
pow
(
x
,
4
));
break
;
default:
fprintf
(
stderr
,
"WARNING: l = %d not implemented.
\n
"
,
l
);
break
;
...
...
Write
Preview
Supports
Markdown
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