pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python4astronomers/python4astronomers/tree/master/examples/compiled_extensions

href="https://github.githubassets.com/assets/primer-0fcd9af82350aeda.css" /> python4astronomers/examples/compiled_extensions at master · python4astronomers/python4astronomers · GitHub
Skip to content

Latest commit

 

History

History
This package details examples of Python code interfacing with C, CPP,
FORTRAN codes, and how each compares in execution time.  The primary focus 
is on passing NumPy arrays between C/C++/FORTRAN as function arguments.

The basic codes each implement the beta1d, beta2d, gauss1d, and gauss2d model
functions found in the Sherpa modeling and fitting package.

cppsrc:    C++ source with C++ glue

csrc:      C source with C++ glue

fsrc:      FORTRAN source with C glue (F2PY)

pyrexcsrc: C source with Cython/Pyrex generated glue

pysrc:     Python source using NumPy uFuncs


The test is run with

./build.sh
python model.py
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy