-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
66 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ kiwisolver | |
matplotlib | ||
numpy | ||
patsy | ||
findblas | ||
pyparsing | ||
python-dateutil | ||
scipy | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* Generated by Cython 3.0.7 */ | ||
|
||
#ifndef __PYX_HAVE__crbfgs | ||
#define __PYX_HAVE__crbfgs | ||
|
||
#include "Python.h" | ||
|
||
#ifndef __PYX_HAVE_API__crbfgs | ||
|
||
#ifdef CYTHON_EXTERN_C | ||
#undef __PYX_EXTERN_C | ||
#define __PYX_EXTERN_C CYTHON_EXTERN_C | ||
#elif defined(__PYX_EXTERN_C) | ||
#ifdef _MSC_VER | ||
#pragma message ("Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead.") | ||
#else | ||
#warning Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead. | ||
#endif | ||
#else | ||
#define __PYX_EXTERN_C extern "C++" | ||
#endif | ||
|
||
#ifndef DL_IMPORT | ||
#define DL_IMPORT(_T) _T | ||
#endif | ||
|
||
__PYX_EXTERN_C double cblas_dnrm2(int const , double const *, int const ); | ||
|
||
#endif /* !__PYX_HAVE_API__crbfgs */ | ||
|
||
/* WARNING: the interface of the module init function changed in CPython 3.5. */ | ||
/* It now returns a PyModuleDef instance instead of a PyModule instance. */ | ||
|
||
#if PY_MAJOR_VERSION < 3 | ||
PyMODINIT_FUNC initcrbfgs(void); | ||
#else | ||
/* WARNING: Use PyImport_AppendInittab("crbfgs", PyInit_crbfgs) instead of calling PyInit_crbfgs directly from Python 3.5 */ | ||
PyMODINIT_FUNC PyInit_crbfgs(void); | ||
|
||
#if PY_VERSION_HEX >= 0x03050000 && (defined(__GNUC__) || defined(__clang__) || defined(_MSC_VER) || (defined(__cplusplus) && __cplusplus >= 201402L)) | ||
#if defined(__cplusplus) && __cplusplus >= 201402L | ||
[[deprecated("Use PyImport_AppendInittab(\"crbfgs\", PyInit_crbfgs) instead of calling PyInit_crbfgs directly.")]] inline | ||
#elif defined(__GNUC__) || defined(__clang__) | ||
__attribute__ ((__deprecated__("Use PyImport_AppendInittab(\"crbfgs\", PyInit_crbfgs) instead of calling PyInit_crbfgs directly."), __unused__)) __inline__ | ||
#elif defined(_MSC_VER) | ||
__declspec(deprecated("Use PyImport_AppendInittab(\"crbfgs\", PyInit_crbfgs) instead of calling PyInit_crbfgs directly.")) __inline | ||
#endif | ||
static PyObject* __PYX_WARN_IF_PyInit_crbfgs_INIT_CALLED(PyObject* res) { | ||
return res; | ||
} | ||
#define PyInit_crbfgs() __PYX_WARN_IF_PyInit_crbfgs_INIT_CALLED(PyInit_crbfgs()) | ||
#endif | ||
#endif | ||
|
||
#endif /* !__PYX_HAVE__crbfgs */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from scipy.linalg.cython_blas cimport ( | ||
dnrm2 | ||
) | ||
|
||
ctypedef double (*dnrm2_)(const int*, const double*, const int*) noexcept nogil | ||
|
||
cdef public double cblas_dnrm2 (const int N, const double *X, const int incX) noexcept nogil: | ||
return (<dnrm2_>dnrm2)(&N, X, &incX) |