Changeset 2640 in Sophya for trunk/SophyaLib/Samba/harmspher.h
- Timestamp:
- Dec 2, 2004, 5:37:51 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/harmspher.h
r2633 r2640 2 2 #define HARMSPHER_SEEN 3 3 4 double HarmSph_array(int lmax,int m,double x,double *xlm);5 4 double HarmSph_array_teta(int lmax,int m,double teta,double *xlm); 6 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 7 12 #endif
Note:
See TracChangeset
for help on using the changeset viewer.