symmray.vector_common
Methods common to all ‘vector’ symmray objects that typically are used to
represent singular- or eigen- values.
Module Contents
-
class symmray.vector_common.VectorCommon[source]
-
_do_unary_op(fn, inplace=False) → VectorCommon[source]
-
_do_reduction(fn)[source]
-
get_scalar_element()[source]
Assuming the vector is a scalar, get that scalar element.
-
item()[source]
Convert this vector to a scalar, if it is a scalar vector.
-
__add__(other, inplace=False)[source]
-
__iadd__(other)[source]
-
__radd__(other)[source]
-
__sub__(other, inplace=False)[source]
-
__isub__(other)[source]
-
__rsub__(other)[source]
-
__truediv__(other, inplace=False)[source]
-
__itruediv__(other)[source]
-
__rtruediv__(other)[source]
-
__pow__(other, inplace=False)[source]
-
__ipow__(other)[source]
-
__rpow__(other)[source]