sknano.core.math.Vectors

class sknano.core.math.Vectors(vectors=None)[source][source]

Container class for collection of Vector objects.

Parameters:

vectors : {None, sequence, Vectors}, optional

if not None, then a list of Vector instance objects or an existing Vectors instance object.

Attributes

norms Return Vector Vector.norms as array.

Methods

append(item)
clear()
copy()
count(item)
extend(other)
filter(condition[, invert]) Filter Vectors by condition.
index(item, *args)
insert(i, item)
pop([i])
remove(item)
reverse()
rezero([epsilon]) Set really really small coordinates to zero.
rotate([angle, axis, anchor_point, ...]) Rotate Vectors coordinates.
sort([key, reverse])
translate(t[, fix_anchor_points]) Translate Vectors by Vector t.