-
Notifications
You must be signed in to change notification settings - Fork 8
/
pydas.pxd
37 lines (28 loc) · 893 Bytes
/
pydas.pxd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import numpy as np
cimport numpy as np
cimport cython
cdef class DASSL:
cdef public int maxOrder
cdef public object tstop
cdef public double initialStep
cdef public double maximumStep
cdef public object bandwidths
cdef public bint nonnegative
cdef public bint sensitivity
cdef public int sensmethod
cdef public double t
cdef public np.ndarray y
cdef public np.ndarray dydt
cdef public np.ndarray senpar
cdef np.ndarray info
cdef np.ndarray atol
cdef np.ndarray rtol
cdef np.ndarray rwork
cdef np.ndarray iwork
cdef np.ndarray rpar
cdef np.ndarray ipar
cdef int idid
cpdef initialize(self, double t0, np.ndarray y0, np.ndarray dydt0=?, np.ndarray senpar=?, atol=?, rtol=?)
cpdef advance(self, double tout)
cpdef step(self, double tout)
cdef solve(self, double tout)