help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bvp4c not implemented in Octave 4.0?


From: Tatsuro MATSUOKA
Subject: Re: bvp4c not implemented in Octave 4.0?
Date: Thu, 16 Jul 2015 12:49:03 +0900 (JST)

----- Original Message -----
>From: Nicholas Jankowski 
>To: Fausto Arinos de A. Barbuto 
>Cc: help 
>Date: 2015/7/16, Thu 12:09
>Subject: Re: bvp4c not implemented in Octave 4.0?
> 
>
>On Wed, Jul 15, 2015 at 11:05 PM, Nicholas Jankowski  wrote:
>
>
>>
>>On Wed, Jul 15, 2015 at 10:54 PM, Fausto Arinos de A. Barbuto  wrote:
>>
>>Otherwise, why am I getting this message?
>>>
>>>warning: the 'bvp4c' function is not yet implemented in Octave
>>>
>>>Octave 4.0 on Ubuntu 14.04-64.
>>>
>>>
>>
>>
>>
>>just as it says:
>>
>>>> bvp4c
>>warning: the 'bvp4c' function is not yet implemented in Octave
>>
>>Please read `http://www.octave.org/missing.html'; to learn how you can
>>contribute missing functionality.
>>
>>error: 'bvp4c' undefined near line 1 column 1 
>>
>
>
>I stand corrected. it seems it's in the ODE package.
>
>
>>> pkg load odepkg
>
>>> help bvp4c
>
>'bvp4c' is a function from the file 
>C:\Octave\octave-4.0.0\share\octave\packages\odepkg-0.8.5\bvp4c.m
>
> -- Function File: A = bvp4c (ODEFUN, BCFUN, SOLINIT)
>     Solves the first order system of non-linear differential equations
>     defined by ODEFUN with the boundary conditions defined in BCFUN.
>
>     The structure SOLINIT defines the grid on which to compute the
>     solution (SOLINIT.X), and an initial guess for the solution
>     (SOLINIT.Y).  The output SOL is also a structure with the
>     following fields:
>        * SOL.X list of points where the solution is evaluated
>
>        * SOL.Y solution evaluated at the points SOL.X
>
>        * SOL.YP derivative of the solution evaluated at the points
>          SOL.X
>
>        * SOL.SOLVER = "bvp4c" for compatibility
>
>     See also: odpkg.
>
>
>------------------------
>
>
>
>not sure why it gives the missing function warning without the package loaded. 
>some flag not get set so it would give the 'belongs to a package not loaded' 
>message?
>
To install odepkg, from octave prompt, execute:
>> pkg install -forge odepkg

Confirm install by:
>> pkg list

To active the package:
>> pkg load odepkg

The package to be auto loaded at octave start-up:
>> pkg rebuild -auto odepkg
Then restart octave and confirm by:
>> pkg list
(Activated package are marked by '*').

bvp4c manual with demonstration.

http://octave.sourceforge.net/odepkg/function/bvp4c.html


HTH

Tatsuro



reply via email to

[Prev in Thread] Current Thread [Next in Thread]