Can't use invert(), function $ADJOINT is undefined
Subject: Can't use invert(), function $ADJOINT is undefined
From: Daniel Lyddy
Date: Tue, 16 Aug 2005 11:03:16 -0700 (PDT)
Maybe some other package I have loaded is overriding
the definition of invert().
Is there a way to tell which file invert() is being
called from, sort of the equivalent of the UN*X
"which" command?
I tried doing a trace(invert), but it only told me
when it was entering the function, and then printed
out the same error message.
Here are the contents of my maxima-init.mac file:
load(absimp) $
load(fourie) $
load(functs) $
load(fft) $
sinc(x) := block([], if (x = 0) then return(1), sin(x)
/ x) $
j : %i $
pi : %pi $
Dan
--- Robert Dodier wrote:
> hi dan, you wrote in part:
>
> > I can't seem to use invert() to invert a matrix:
>
> hmm, i don't see this problem. invert succeeds on
> the versions i tried
> (maxima 5.9.1 + cmucl, 5.9.1cvs + clisp or gcl).
>
> > Error in MACSYMA-TOP-LEVEL [or a callee]: The
> > function $ADJOINT is undefined.
>
> $ADJOINT is defined in the lisp source code
> (src/invert.lisp iirc).
> so this is puzzling.
>
> > Any ideas about how I can fix this? Weird that
> the
> > ^^-1 operator works, but the invert() function
> does
> > not. I thought one was just an alias for the
> other.
>
> well, A^^-1 is apparently not calling invert.
> but maybe we should make one call the other -- that
> way
> it's guaranteed to be the same result either way,
> and if there
> are bugs we only have to fix one function.
> just a thought.
>
> sorry i can't be more helpful,
> robert dodier
>
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs