Changeset b297ba9 in sasmodels for sasmodels/gengauss.py
- Timestamp:
- Mar 20, 2019 5:03:50 PM (5 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 4e28511
- Parents:
- 0d362b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/gengauss.py
rff31782 rb297ba9 1 1 #!/usr/bin/env python 2 """ 3 Generate the Gauss-Legendre integration points and save them as a C file. 4 """ 2 5 from __future__ import division, print_function 3 4 import sys5 6 6 7 import numpy as np … … 8 9 9 10 def gengauss(n, path): 11 """ 12 Save the Gauss-Legendre integration points for length *n* into file *path*. 13 """ 10 14 z, w = leggauss(n) 11 15
Note: See TracChangeset
for help on using the changeset viewer.