help-octave
[Top][All Lists]
Advanced

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

Re: problem installing packages (3.2.4)


From: Márcio Diniz
Subject: Re: problem installing packages (3.2.4)
Date: Mon, 23 Apr 2012 11:03:32 -0300

I just type
octave:3> help numgradient
error: help: `numgradient' not found
octave:3> help numhhessian
error: help: `numhhessian' not found
However, as I wrote before, when I type help bfgsmin, it finds the function.

`bfgsmin' is a function from the file /usr/share/octave/packages/3.2/optim-1.0.12/bfgsmin.m

 bfgsmin: bfgs or limited memory bfgs minimization of function

 Usage: [x, obj_value, convergence, iters] = bfgsmin(f, args, control)

 The function must be of the form ... etc

As you can see, I have optim-1.0.12 installed. I do not know what is wrong.
Thanks agains
Marcio

2012/4/23 Jordi Gutiérrez Hermoso <address@hidden>
2012/4/23 Márcio Diniz <address@hidden>:
> sudo apt-get install octave-optim (I am running Ubuntu 11.10)
>
> and I cannot find numgradient and numhessian functions. I tried
>
> pkg load optim

This isn't necessary. The Ubuntu packages already have this set to
autoload.

> help numgradient
>
> and it didn't work.

How did it not work? What was the error message? It works here for me
in Debian stable. I see "help numgradient" finds the function, and I'm
able to run it.

- Jordi G. H.


reply via email to

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