Changeset 380e8c9 in sasmodels for sasmodels/kernel_header.c
- Timestamp:
- Mar 24, 2016 10:56:44 AM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 151f3bc
- Parents:
- 60eab2a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernel_header.c
r5cf3c33 r380e8c9 103 103 # define M_4PI_3 4.18879020478639 104 104 #endif 105 static double square(double x) { return x*x; }106 static double cube(double x) { return x*x*x; }107 static double sinc(double x) { return x==0 ? 1.0 : sin(x)/x; }105 static inline double square(double x) { return x*x; } 106 static inline double cube(double x) { return x*x*x; } 107 static inline double sinc(double x) { return x==0 ? 1.0 : sin(x)/x; } 108 108
Note: See TracChangeset
for help on using the changeset viewer.