transpose method

BinaryMatrix transpose()

Returns the transpose of this matrix.

Implementation

BinaryMatrix transpose() => BinaryMatrix(
      [
        for (var columnIndex = 0; columnIndex < columnCount; columnIndex++)
          _column(columnIndex),
      ],
      columnCount: rowCount,
    );