source:
Sophya/trunk/SophyaLib/Samba/harmspher.h
Last change on this file was 2640, checked in by , 21 years ago | |
---|---|
File size: 284 bytes |
Line | |
---|---|
1 | #ifndef HARMSPHER_SEEN |
2 | #define HARMSPHER_SEEN |
3 | |
4 | double HarmSph_array_teta(int lmax,int m,double teta,double *xlm); |
5 | |
6 | inline double HarmSph_array(int lmax,int m,double x,double *xlm) |
7 | { |
8 | if(x>1.) x=1.; else if(x<-1.) x=-1.; |
9 | return HarmSph_array_teta(lmax,m,acos(x),xlm); |
10 | } |
11 | |
12 | #endif |
Note:
See TracBrowser
for help on using the repository browser.