You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,10 @@ Structure of ``odes`` and User's Guide
6
6
There are a number of different ways of using ``odes`` to solve a system of
7
7
ODEs/DAEs:
8
8
9
-
* :py:class:`scikits.odes.ode.ode` and :py:class:`scikits.odes.dae.dae` classes, which provides an object oriented interface and significant amount of control of the solver.
10
-
* :py:func:`scikits.odes.odeint.odeint`, a single function alternative to the object
9
+
* :py:class:`scikits_odes.ode.ode` and :py:class:`scikits_odes.dae.dae` classes, which provides an object oriented interface and significant amount of control of the solver.
10
+
* :py:func:`scikits_odes.odeint.odeint`, a single function alternative to the object
11
11
oriented interface.
12
-
* Accessing the lower-level solver-specific wrappers, such as the modules in :py:mod:`scikits.odes.sundials`.
12
+
* Accessing the lower-level solver-specific wrappers, such as the modules in :py:mod:`scikits_odes_sundials`.
13
13
14
14
In general, a user supplies a function with the signature::
15
15
@@ -30,7 +30,7 @@ The simplest user program using the ``odeint`` interface, assuming you have
30
30
implemented the ODE ``right_hand_side`` mentioned above, is::
31
31
32
32
import numpy as np
33
-
from scikits.odes.odeint import odeint
33
+
from scikits_odes.odeint import odeint
34
34
35
35
tout = np.linspace(0, 1)
36
36
initial_values = np.array([0])
@@ -93,7 +93,7 @@ The simplest user program using the ``ode`` interface, assuming you have
93
93
implemented the ODE ``right_hand_side`` mentioned above, is::
94
94
95
95
import numpy as np
96
-
from scikits.odes.ode import ode
96
+
from scikits_odes.ode import ode
97
97
98
98
SOLVER = 'cvode'
99
99
tout = np.linspace(0, 1)
@@ -132,7 +132,7 @@ The simplest user program using the ``dae`` interface, assuming you have
132
132
implemented the DAE ``right_hand_side`` mentioned above, is::
Copy file name to clipboardExpand all lines: docs/installation.rst
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,8 +47,10 @@ with ``odes``:
47
47
48
48
* - SUNDIALS version
49
49
- ``odes`` version
50
+
* - 7.x
51
+
- 3.1.x
50
52
* - 6.x
51
-
- 2.7.x
53
+
- 2.7.x and 3.0.x
52
54
* - 5.x
53
55
- 2.6.x
54
56
* - 4.x
@@ -67,7 +69,7 @@ Installation
67
69
------------
68
70
To install ``odes``, use::
69
71
70
-
pip install scikits.odes
72
+
pip install scikits-odes
71
73
72
74
which will download the latest version from PyPI. This will handle the installation of the additional runtime dependencies of ``odes``. You should then run the tests to make sure everything is set up correctly.
73
75
@@ -79,7 +81,7 @@ Testing your version of ``odes``
79
81
To test the version in python, use in the python shell::
@@ -90,7 +92,7 @@ You need nose to run the tests. To install nose, run::
90
92
91
93
To run the tests, in the python shell::
92
94
93
-
>>> import scikits.odes as od; od.test()
95
+
>>> import scikits_odes as od; od.test()
94
96
95
97
Note that the sundials library must be in your ``LD_LIBRARY_PATH``. So, make sure the directory ``$SUNDIALS_INST/lib`` is included. You can do this for example as follows (assuming sundials was installed in ``/usr/local``::
96
98
@@ -120,7 +122,7 @@ LAPACK Not Found
120
122
................
121
123
Most issues with using ``odes`` are due to incorrectly setting the LAPACK libraries, resulting in error, typically::
122
124
123
-
AttributeError: module 'scikits.odes.sundials.cvode' has no attribute 'CVODE'
125
+
AttributeError: module 'scikits_odes_sundials.cvode' has no attribute 'CVODE'
124
126
125
127
or::
126
128
@@ -189,7 +191,7 @@ You can verify that lapack is available (although the nix install will have
189
191
run many tests to check this already), try the following python snippet in the interpreter::
ODE solver with BDF linear multistep method for stiff problems and Adams-Moulton linear multistep method for nonstiff problems. Supports modern features such as: root (event) finding, error control, and (Krylov-)preconditioning. See :py:mod:`scikits.odes.sundials.cvode` for more details and solver specific arguments. Part of SUNDIALS, it is a replacement for the earlier ``vode``/``dvode``.
8
+
ODE solver with BDF linear multistep method for stiff problems and Adams-Moulton linear multistep method for nonstiff problems. Supports modern features such as: root (event) finding, error control, and (Krylov-)preconditioning. See :py:mod:`scikits_odes_sundials.cvode` for more details and solver specific arguments. Part of SUNDIALS, it is a replacement for the earlier ``vode``/``dvode``.
DAE solver with BDF linear multistep method for stiff problems and Adams-Moulton linear multistep method for nonstiff problems. Supports modern features such as: root (event) finding, error control, and (Krylov-)preconditioning. See :py:mod:`scikits.odes.sundials.ida` for more details and solver specific arguments. Part of SUNDIALS.
11
+
DAE solver with BDF linear multistep method for stiff problems and Adams-Moulton linear multistep method for nonstiff problems. Supports modern features such as: root (event) finding, error control, and (Krylov-)preconditioning. See :py:mod:`scikits_odes_sundials.ida` for more details and solver specific arguments. Part of SUNDIALS.
0 commit comments