Home
last modified time | relevance | path

Searched refs:PYERR (Results 1 – 8 of 8) sorted by relevance

/dports/science/py-scipy/scipy-1.7.1/scipy/odr/
H A D__odrpack.c557 PYERR(PyExc_TypeError, in odr()
629 PYERR(PyExc_ValueError, in odr()
637 PYERR(PyExc_ValueError, in odr()
642 PYERR(PyExc_ValueError, in odr()
669 PYERR(PyExc_ValueError, in odr()
690 PYERR(PyExc_ValueError, in odr()
897 PYERR(PyExc_ValueError, in odr()
903 PYERR(PyExc_ValueError, in odr()
924 PYERR(PyExc_ValueError, in odr()
943 PYERR(PyExc_ValueError, in odr()
[all …]
H A Dodrpack.h46 #define PYERR(errobj,message) {PyErr_SetString(errobj,message); goto fail;} macro
/dports/science/py-scipy/scipy-1.7.1/scipy/signal/
H A Dsplinemodule.c113 if (retval < 0) PYERR("Problem occurred inside routine"); in cspline2d()
193 if (retval < 0) PYERR("Problem occurred inside routine"); in qspline2d()
267 PYERR("hrow and hcol must be odd length"); in FIRsepsym2d()
306 PYERR("Incorrect type."); in FIRsepsym2d()
309 if (ret < 0) PYERR("Problem occurred inside routine."); in FIRsepsym2d()
424 PYERR("Incorrect type."); in IIRsymorder1()
432 if (ret == -1) PYERR("Could not allocate enough memory."); in IIRsymorder1()
433 if (ret == -2) PYERR("|z1| must be less than 1.0"); in IIRsymorder1()
436 PYERR("Unknown error."); in IIRsymorder1()
516 PYERR("Incorrect type."); in IIRsymorder2()
[all …]
H A Dsigtoolsmodule.c15 #define PYERR(message) {PyErr_SetString(PyExc_ValueError, message); goto fail;} macro
1075 PYERR("Incorrect boundary value."); in sigtools_convolve2d()
1349 PYERR("Size must be a length two sequence"); in sigtools_median2d()
1358 PYERR("Memory allocation error."); in sigtools_median2d()
1378 PYERR("2D median filter only supports uint8, float32, and float64."); in sigtools_median2d()
/dports/science/py-scipy/scipy-1.7.1/scipy/optimize/
H A Dminpack.h35 #define PYERR(errobj,message) {PyErr_SetString(errobj,message); goto fail;} macro
47 PYERR(errobj,"Extra Arguments must be in a tuple"); \
50 PYERR(errobj,"First argument must be a callable function."); \
52 PYERR(errobj,"Could not init callback");\
63 PYERR(errobj,"Extra Arguments must be in a tuple"); \
66 PYERR(errobj,"The function and its Jacobian must be callable functions."); \
68 PYERR(errobj,"Could not init callback");\
H A D__minpack.h663 PYERR(minpack_error,"Input data array (x) must have length n"); in minpack_chkder()
666 PYERR(minpack_error,"Seventh argument (xp) must be contiguous array of type Float64."); in minpack_chkder()
678 PYERR(minpack_error,"Last argument (err) must be contiguous array of type Float64."); in minpack_chkder()
697 PYERR(minpack_error,"Invalid mode, must be 1 or 2."); in minpack_chkder()
/dports/science/py-scipy/scipy-1.7.1/scipy/integrate/
H A D_odepackmodule.c44 #define PYERR(errobj,message) {\ macro
408PYERR(odepack_error, "Tolerances must be an array of the same length as the\n number of equati… in setup_extra_inputs()
430PYERR(odepack_error,"Tolerances must be an array of the same length as the\n number of equatio… in setup_extra_inputs()
463 PYERR(odepack_error,"Incorrect value for jt."); in compute_lrw_liw()
467 PYERR(odepack_error,"Incorrect value for mxordn."); in compute_lrw_liw()
470 PYERR(odepack_error,"Incorrect value for mxords."); in compute_lrw_liw()
571 PYERR(odepack_error, "Extra arguments must be in a tuple."); in odepack_odeint()
574 PYERR(odepack_error, "The function and its Jacobian must be callable functions."); in odepack_odeint()
H A D__quadpack.h57 #define PYERR(errobj,message) {PyErr_SetString(errobj,message); goto fail;} macro
675 PYERR(quadpack_error,"Chebyshev moment array has the wrong size."); in quadpack_qawoe()