Home | History | Annotate | Download | only in demo

Lines Matching defs:Vec

7 class Vec:
10 Instances of the Vec class can be constructed from numbers
12 >>> a = Vec(1, 2, 3)
13 >>> b = Vec(3, 2, 1)
17 Vec(4, 4, 4)
21 Vec(-2, 0, 2)
25 Vec(3.0, 6.0, 9.0)
29 Vec(3.0, 6.0, 9.0)
44 return 'Vec({})'.format(args)
55 return Vec.fromlist(v)
60 return Vec.fromlist(v)
65 return Vec.fromlist(v)