source: sasview/sansmodels/include/libmultifunc/libfunc.h @ d555416

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since d555416 was 318b5bbb, checked in by Jae Cho <jhjcho@…>, 12 years ago

Added polarization and magnetic stuffs

  • Property mode set to 100644
File size: 616 bytes
RevLine 
[503a972]1#if !defined(o_h)
2#define libfunc_h
[318b5bbb]3typedef struct {
4        double uu;
5        double dd;
6        double re_ud;
7        double im_ud;
8        double re_du;
9        double im_du;
10} polar_sld;
[503a972]11
12int factorial(int i);
13
14double Si(double x);
15
16double sinc(double x);
17
[08648c0]18double gamln(double x);
19
[318b5bbb]20polar_sld cal_msld(int isangle, double qx, double qy, double bn, double m01, double mtheta1, 
21                        double mphi1, double spinfraci, double spinfracf, double spintheta);
22
[5da3cc5]23void gser(float *gamser, float a, float x, float *gln);
24
25void gcf(float *gammcf, float a, float x, float *gln);
26
27float gammp(float a,float x);
28
29float erff(float x);
30
[503a972]31#endif
Note: See TracBrowser for help on using the repository browser.