| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/scipy/optimize/cython_optimize/ |
Upload File : |
# Legacy public Cython API declarations
#
# NOTE: due to the way Cython ABI compatibility works, **no changes
# should be made to this file** --- any API additions/changes should be
# done in `cython_optimize.pxd` (see gh-11793).
ctypedef double (*callback_type)(double, void*)
ctypedef struct zeros_parameters:
callback_type function
void* args
ctypedef struct zeros_full_output:
int funcalls
int iterations
int error_num
double root
cdef double bisect(callback_type f, double xa, double xb, void* args,
double xtol, double rtol, int iter,
zeros_full_output *full_output) nogil
cdef double ridder(callback_type f, double xa, double xb, void* args,
double xtol, double rtol, int iter,
zeros_full_output *full_output) nogil
cdef double brenth(callback_type f, double xa, double xb, void* args,
double xtol, double rtol, int iter,
zeros_full_output *full_output) nogil
cdef double brentq(callback_type f, double xa, double xb, void* args,
double xtol, double rtol, int iter,
zeros_full_output *full_output) nogil