Changeset 473a9f1 in sasmodels
- Timestamp:
- Jan 11, 2017 7:31:27 AM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 1e7b0db0
- Parents:
- fcb33e4
- Location:
- sasmodels/models/lib
- Files:
-
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/lib/sas_3j1x_x.c
rba32cdd r473a9f1 7 7 * using double precision that are the source. 8 8 */ 9 double s ph_j1c(double q);9 double sas_3j1x_x(double q); 10 10 11 11 // The choice of the number of terms in the series and the cutoff value for … … 44 44 #endif 45 45 46 double s ph_j1c(double q)46 double sas_3j1x_x(double q) 47 47 { 48 48 if (q < SPH_J1C_CUTOFF) { -
sasmodels/models/lib/sas_J1.c
rc8902ac r473a9f1 217 217 218 218 //Finally J1c function that equals 2*J1(x)/x 219 double sas_ J1c(double x);220 double sas_ J1c(double x)219 double sas_2J1x_x(double x); 220 double sas_2J1x_x(double x) 221 221 { 222 222 return (x != 0.0 ) ? 2.0*sas_J1(x)/x : 1.0; -
sasmodels/models/lib/sas_Si.c
rf719764 r473a9f1 1 1 // integral of sin(x)/x Taylor series approximated to w/i 0.1% 2 double Si(double x);3 double Si(double x)2 double sas_Si(double x); 3 double sas_Si(double x) 4 4 { 5 5 if (x >= M_PI*6.2/4.0) {
Note: See TracChangeset
for help on using the changeset viewer.