1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
@c English version 1.2
@menu
* Funciones y variables para makeOrders::
@end menu
@node Funciones y variables para makeOrders, , makeOrders, makeOrders
@section Funciones y variables para makeOrders
@deffn {Funci@'on} makeOrders (@var{indvarlist},@var{orderlist})
Devuelve una lista con las potencias de las variables de un polinomio t@'ermino a t@'ermino.
@example
(%i1) load("makeOrders")$
(%i2) makeOrders([a,b],[2,3]);
(%o2) [[0, 0], [0, 1], [0, 2], [0, 3], [1, 0], [1, 1],
[1, 2], [1, 3], [2, 0], [2, 1], [2, 2], [2, 3]]
(%i3) expand((1+a+a^2)*(1+b+b^2+b^3));
2 3 3 3 2 2 2 2 2
(%o3) a b + a b + b + a b + a b + b + a b + a b
2
+ b + a + a + 1
@end example
donde @code{[0, 1]} se asocia al t@'ermino @math{b} y @code{[2, 3]} a @math{a^2 b^3}.
Antes de hacer uso de esta funci@'on ejec@'utese @code{load("makeOrders")}.
@end deffn
|