Collection of utilities.
msinvar.utils.
isiterable
cache
vec
Bases: object
object
le
iszero
zero
equal
vmin
vmax
scal
dot
sub
add
Return the sum of vectors a, b. If b=None, return the sum of vectors in the list a.
basis
Return the standard i-th basis vector of dimension n. Here 0<=i<n.
i
n
info
disp
timer
set_plots
phi
Return \((q)_n=\prod_{i=1}^n(1-q^i)\).
If n is a list, apply phi() to all entries and take the product.
phi()
poch
Return the Pochhammer symbol \((a;q)_n=\prod_{i=0}^{n-1}(1-aq^i)\).
If n is a list, apply poch() to all entries and take the product.
poch()