13. Lt function

Genericity polymorphism ‘le’ function

Parameters

Type

Description

vec

Vector

The second vector to test

13.1. Returns

bint

The Less Than test between the self vector object and the second vector as parameter

13.2. Examples

>>> v=Vector(0,0,0,2,2,2)
>>> w=Vector(0,0,0,5,5,5)
>>> print(v<w)
True
>>> print(w<v)
False