On 23 Dub, 20:38, William Stein <wst...@gmail.com> wrote:
> New symbolics also tend to be easier to work with term-by-term:
>
> sage: v = expand((a0+a1)*(b0+b1))
> sage: v[0]
> a0*b0
> sage: v[1]
> a0*b1
> sage: v[2]
> a1*b0
> sage: v[3]
> a1*b1
---------------------------------------------
Maxima 5.13.0 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i1) v:(a+b)*(c+d);
(%o1) (b + a) (d + c)
(%i2) ve:expand(v);
(%o2) b d + a d + b c + a c
(%i3) args(ve)[2];
(%o3) a d
(%i4) args(ve)[3];
(%o4) b c
(%i5)
Robert
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---