minpack_solve error



On Mon, Dec 19, 2011 at 9:32 PM, Ether Jones <maxima at etherjones.us> wrote:

> Could someone please tell me what I'm doing wrong here?
> Thank you.
>
> (%i1) load("minpack")$
> [snipped loading stuff]
> (%i2) flist:
> [25*sqrt(64*(tr-tf)^2/5625+tf^2/225)/4-135/4,25*sqrt(64*(tr-tf)^2/5625+tr^2/225)/4-165/4];
> (%o2)
> [(25*sqrt((64*(tr-tf)^2)/5625+tf^2/225))/4-135/4,(25*sqrt((64*(tr-tf)^2)/5625+tr^2/225))/4-165/4]
> (%i3) varlist: [tr,tf];
> (%o3) [tr,tf]
> (%i4) guess: [10,10];
> (%o4) [10,10]
> (%i5) minpack_solve(flist,varlist,guess);
> put: argument must be a symbol or a string; found: 'linearalgebra
>  -- an error. To debug this try: debugmode(true);
>
> Looks like there's some issue with how minpack uses the jacobian function,
which needs to be loaded from the linearalgebra package.  I'll look into
it.  In the meantime, just load("linearalgebra") before loading minpack.
That works for me.

Ray