Changeset ebd2ba6 in sasmodels for explore


Ignore:
Timestamp:
Nov 1, 2017 12:32:31 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
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
Message:

save before commit next time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • explore/guyou.py

    r05e4f8a rebd2ba6  
    280280  } while (--i); 
    281281 
    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. 
    284284  return [sin(phi), t = cos(phi), t / cos(phi - b), phi]; 
    285285} 
Note: See TracChangeset for help on using the changeset viewer.