Difference between revisions of "Odepkg"

From Octave
Jump to navigation Jump to search
Line 3: Line 3:
 
The most recent official release is [https://octave.sourceforge.io/download.php?package=odepkg-0.8.5.tar.gz version 0.8.5], which however is out of date (it includes functions which have been transferred to core Octave) and [https://savannah.gnu.org/bugs/?func=detailitem&item_id=46309 will] [https://savannah.gnu.org/bugs/?func=detailitem&item_id=48280 not] [https://savannah.gnu.org/bugs/?func=detailitem&item_id=50684 install] at all with recent compilers and versions of Octave.
 
The most recent official release is [https://octave.sourceforge.io/download.php?package=odepkg-0.8.5.tar.gz version 0.8.5], which however is out of date (it includes functions which have been transferred to core Octave) and [https://savannah.gnu.org/bugs/?func=detailitem&item_id=46309 will] [https://savannah.gnu.org/bugs/?func=detailitem&item_id=48280 not] [https://savannah.gnu.org/bugs/?func=detailitem&item_id=50684 install] at all with recent compilers and versions of Octave.
  
Until a new official release is made, Octave 4.2.x users might consider installing a development snapshot of the package, as follows:<nowiki>
+
Until a new official release is made, Octave 4.2.x users might consider installing a development snapshot of the package, as follows:
[fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/default.tar.gz", [P_tmpdir "odepkg.tar.gz"]);
+
<code>
assert (success)
+
[fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/default.tar.gz", [P_tmpdir "odepkg.tar.gz"]);
pkg ("install", fname)
+
assert (success)
</nowiki>
+
pkg ("install", fname)
 +
</code>
  
 
To install under the 4.3.0+ development version of Octave one can use the following instead:
 
To install under the 4.3.0+ development version of Octave one can use the following instead:
  
<nowiki>
+
<code>
 
  [fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/octave43.tar.gz", [P_tmpdir "odepkg.tar.gz"]);
 
  [fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/octave43.tar.gz", [P_tmpdir "odepkg.tar.gz"]);
 
  assert (success)
 
  assert (success)
 
  pkg ("install", fname)
 
  pkg ("install", fname)
</nowiki>
+
</code>
  
  
 
[[Category:Octave-Forge]]
 
[[Category:Octave-Forge]]

Revision as of 01:51, 19 October 2017

odepkg is part of the octave-forge project. It contains additional functions for numerically solving ordinary differential equations.

The most recent official release is version 0.8.5, which however is out of date (it includes functions which have been transferred to core Octave) and will not install at all with recent compilers and versions of Octave.

Until a new official release is made, Octave 4.2.x users might consider installing a development snapshot of the package, as follows:

[fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/default.tar.gz", [P_tmpdir "odepkg.tar.gz"]);
assert (success)
pkg ("install", fname)

To install under the 4.3.0+ development version of Octave one can use the following instead:

[fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/octave43.tar.gz", [P_tmpdir "odepkg.tar.gz"]);
assert (success)
pkg ("install", fname)