Chalkboard - v3.1.0
    Preparing search index...

    Function antisymmetrize

    • Calculates the antisymmetric part of a tensor.

      Parameters

      • tens: ChalkboardTensor

        The tensor

      • ...axes: number[]

        Distinct 0-based axes, as a sequence or one array, while an empty list selects all axes

      Returns ChalkboardTensor

      const result = Chalkboard.tens.antisymmetrize([[1, 2], [4, 3]]); // Returns [[0, -1], [1, 0]]