rootpy.vector.Vector2¶
-
class
rootpy.vector.
Vector2
[source]¶ A subclass of ROOT.TVector2.
Examples
>>> from rootpy.vector import Vector2 >>> vect = Vector2(2, 4) >>> vect Vector2(x=2.000000, y=4.000000)
rootpy.vector.
Vector2
[source]¶A subclass of ROOT.TVector2.
Examples
>>> from rootpy.vector import Vector2
>>> vect = Vector2(2, 4)
>>> vect
Vector2(x=2.000000, y=4.000000)