Skip to content
Algo Trade Analytics Docs

matrix.is_antisymmetric() - Pine Script Function

The function determines if a matrix is antisymmetric (its transpose equals its negative).

matrix.is_antisymmetric(id) → series bool
NameTypeDescription
idmatrix<int/float>Matrix object to test.

Returns true, if the id matrix is antisymmetric, false otherwise.

  • Returns false with non-square matrices.