Changeset ebd2ba6 in sasmodels
- Timestamp:
- Nov 1, 2017 12:32:31 PM (7 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- de71632
- Parents:
- 05e4f8a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/guyou.py
r05e4f8a rebd2ba6 280 280 } while (--i); 281 281 282 // Note: cephes uses dn = sqrt(1 - m*sin^2 phi) rather than cos(phi)/cos(phi-b)283 // This agrees with matlab docs: dn = sqrt(1 - m sin^2 phi)282 // [PAK] Cephes uses dn = sqrt(1 - m*sin^2 phi) rather than cos(phi)/cos(phi-b) 283 // DLMF says the second version is unstable near x = K. 284 284 return [sin(phi), t = cos(phi), t / cos(phi - b), phi]; 285 285 }
Note: See TracChangeset
for help on using the changeset viewer.