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
}, optionalAttributes
norms
Return Vector
Vector.norm
s 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 Vector
s coordinates.sort
([key, reverse])translate
(t[, fix_anchor_points])Translate Vector
s byVector
t.