[Maxima] infix pos use

Eligio Ricardo Cerval-Peña cervale at for.mat.bham.ac.uk
Fri Oct 26 05:55:48 CDT 2007

> (%i16) infix("+-",300,180);
> (%i17) "+-"(a,b):=[a+b,a-b];
> (%i19) y=a+-b;
> (%o19) y=[b+a,a-b]
> ---------------------------------
> Sé un Mejor Amante del Cine
> ¿Quieres saber cómo? ¡Deja que otras personas te ayuden!.

Thanks very much,

(1) However, now when I use 2±3*%i it gives [2+3,2-3]*%i rather than
[2+3*%i,2-3*%i], can this be fixed somehow?

(2) Is it possible to have this working and get it to return, for
"y=2±3*%i, [y=2+3*%i,2-3*%i] instead?

(3) I'm still intrigued by lpos, rpos and pos, if anyone has any answers
on how they work?

More information about the Maxima mailing list