Changeset cf85329 in sasmodels for sasmodels/kernel_template.c
- Timestamp:
- Feb 29, 2016 4:28:02 PM (9 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:
- c437dbb
- Parents:
- 73860b6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernel_template.c
r73860b6 rcf85329 104 104 //inline double square(double x) { return pow(x,2.0); } 105 105 //inline double square(double x) { return pown(x,2); } 106 inline double square( x) { return x*x; }106 inline double square(double x) { return x*x; } 107 107 inline double cube(double x) { return x*x*x; } 108 inline double sinc(double x) { return x==0 ? 1.0 : sin(x)/x; } 108 109 109 110
Note: See TracChangeset
for help on using the changeset viewer.