cmatrix.Matrix.orthogonal

Matrix.orthogonal()

Boolean test to verify orthogonality

Returns
bint

Test the orthogonality of the self matrix.

Examples

>>> m=rand_perm(3)
>>> print(m)
| +0.000 | +1.000 | +0.000 |
| +1.000 | +0.000 | +0.000 |
| +0.000 | +0.000 | +1.000 |
printed
>>> print(m.orthogonal())
True