parent) |
base_field,
base_ring,
copy,
degree,
denominator,
dict,
entries,
get,
height,
is_dense,
is_sparse,
is_vector,
list,
nonzero_positions,
parent,
rational_reconstruction,
set,
str_latex
These methods are defined as follows:
) |
) |
) |
) |
) |
) |
) |
i) |
get is meant to be more efficient than getitem, because it does not do any error checking.
) |
) |
) |
) |
) |
) |
Returns the sorted list of integers i such that self[i] != 0.
) |
) |
i, x) |
set is meant to be more efficient than setitem, because it does not do any error checking or coercion. Use with care.
) |
Print a latex representation of self. For example, if self is [1,2,3,4], the following latex is generated: (1,2,3,4)
Instances of class Vector also have the following special methods:
) |
right) |
right) |
i) |
) |
p) |
right) |
) |
) |
n) |
left) |
i, x) |
) |
right) |
See About this document... for information on suggesting changes.