Indeces of terms of multivariate polynomials. It is a tuple-like object.
The constructor does not check the validity of indeces, such as integerness, nonnegativity, etc.
Return the index at pos and a new TermIndeces object as the omitting-the-pos indeces.
Return "gcd" of indeces with other indeces.
(new in 0.*.*)
Return "lcm" of indeces with other indeces.
(new in 0.*.*)
t == u, t != u | equality |
t + u | componentwise addition |
t - u | componentwise subtraction |
t * a | scalar multiplication |
t <= u, t < u, t >= u, t > u | ordering |
t[k] | k-th index |
len(t) | length |
iter(t) | iterator |
hash(t) | hash |