Difference between revisions of "Odepkg"

From Octave
Jump to navigation Jump to search
Line 4: Line 4:
  
 
Until a new official release is made, Octave 4.2.x users might consider installing a development snapshot of the package, as follows:
 
Until a new official release is made, Octave 4.2.x users might consider installing a development snapshot of the package, as follows:
<code>
+
 
 +
<nowiki>
 
  [fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/default.tar.gz", [P_tmpdir "odepkg.tar.gz"]);
 
  [fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/default.tar.gz", [P_tmpdir "odepkg.tar.gz"]);
 
  assert (success)
 
  assert (success)
 
  pkg ("install", fname)
 
  pkg ("install", fname)
</code>
+
</nowiki>
  
 
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:
  
<code>
+
<nowiki>
 
  [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)
</code>
+
</nowiki>
  
  
 
[[Category:Octave-Forge]]
 
[[Category:Octave-Forge]]

Revision as of 01:52, 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)