11. Eq function¶
Genericity polymorphism ‘eq’ function
Parameters |
type |
Description |
mat |
Matrix |
The matrix to test |
11.1. Returns¶
- bint
Return the test of equality between the self matrix and the mat argument.
11.2. Examples¶
>>> m=rand(3)
>>> n=m.clone()
>>> print(m==n)
True
11.3. See Also¶
cmatrix.Matrix.same_size()
cmatrix.Matrix.size_r()
cmatrix.Matrix.size_c()
cmatrix.Matrix.get_ij()