@@ -1623,7 +1623,7 @@ def coeff_power_internal(self, expr, var_exprs, filt, evaluation, form="expr"):
16231623 target_pat = Pattern .create (Expression ("Alternatives" , * var_exprs ))
16241624 var_pats = [Pattern .create (var ) for var in var_exprs ]
16251625
1626- ####### Auxiliar functions #########
1626+ ####### Auxiliary functions #########
16271627 def key_powers (lst ):
16281628 key = Expression ("Plus" , * lst )
16291629 key = key .evaluate (evaluation )
@@ -1662,7 +1662,7 @@ def powers_list(pf):
16621662
16631663 def split_coeff_pow (term ):
16641664 """
1665- This function factorizes term in a coefficent free
1665+ This function factorizes term in a coefficent free
16661666 of powers of the target variables, and a factor with
16671667 that powers.
16681668 """
@@ -1927,7 +1927,7 @@ class Collect(_CoefficientHandler):
19271927 <dt>'Collect[$expr$, $x$]'
19281928 <dd> Expands $expr$ and collect together terms having the same power of $x$.
19291929 <dt>'Collect[$expr$, {$x_1$, $x_2$, ...}]'
1930- <dd> Expands $expr$ and collect together terms having the same powers of
1930+ <dd> Expands $expr$ and collect together terms having the same powers of
19311931 $x_1$, $x_2$, ....
19321932 <dt>'Collect[$expr$, {$x_1$, $x_2$, ...}, $filter$]'
19331933 <dd> After collect the terms, applies $filter$ to each coefficient.
@@ -1939,7 +1939,7 @@ class Collect(_CoefficientHandler):
19391939 = 2 x Sin[x z] + 2 x Sin[x z] Sin[y] + 4 y ^ 2 Sin[x z]
19401940 >> Collect[3 x y+2 Sin[x z] (x+2 y^2 + x) + (x+y)^3, y]
19411941 = 4 x Sin[x z] + x ^ 3 + y (3 x + 3 x ^ 2) + y ^ 2 (3 x + 4 Sin[x z]) + y ^ 3
1942- >> Collect[3 x y+2 Sin[x z] (x+2 y^2 + x) + (x+y)^3, {x,y}]
1942+ >> Collect[3 x y+2 Sin[x z] (x+2 y^2 + x) + (x+y)^3, {x,y}]w
19431943 = 4 x Sin[x z] + x ^ 3 + 3 x y + 3 x ^ 2 y + 4 y ^ 2 Sin[x z] + 3 x y ^ 2 + y ^ 3
19441944 >> Collect[3 x y+2 Sin[x z] (x+2 y^2 + x) + (x+y)^3, {x,y}, h]
19451945 = x h[4 Sin[x z]] + x ^ 3 h[1] + x y h[3] + x ^ 2 y h[3] + y ^ 2 h[4 Sin[x z]] + x y ^ 2 h[3] + y ^ 3 h[1]
0 commit comments