help-octave
[Top][All Lists]
Advanced

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

Re: Need some help with Oct files


From: Philip Goh
Subject: Re: Need some help with Oct files
Date: Tue, 5 Sep 2006 16:39:44 +0100


On 5 Sep 2006, at 14:52, John W. Eaton wrote:

More like

  octave_value_list retval;

  retval(2) = converge;
  retval(1) = fopt;
  retval(0) = xopt;

  return retval;

Since the list has to be declared before it can be used.

The () operator forces a resize of the list automatically, so loading
the values in reverse order requires just one resize.

jwe

Thanks for the replies so far! They have been very helpful. Does anyone have any idea where I would go to for documentation on oct files? I've tried Google searching for tutorials and just reference documentation (for the API) and haven't come up with much.

Philip


reply via email to

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