13. Le function

Genericity polymorphism ‘le’ function

Parameters

type

Description

mat

Matrix

The matrix to test

13.1. Examples

>>> m=rand(4)
>>> n=rand(3)
>>> print(n<=m)
True
>>> print(m<=n)
False

13.2. Returns

bint

Return the test less or equal between the length of the self matrix and the length of mat argument.