0, the k-th super-diagonal is accessed (top-right corner). * For k < 0, the k-th sub-diagonal is accessed (bottom-left corner). * * @param int $k[optional] * @return Subview */ function diag($k = 0); // Swap /** * Swap the contents of specified rows. * * @param int $row_1 * @param int $row_2 * @return void */ function swapRows($row_1, $row_2); /** * Swap the contents of specified columns. * * @param int $col_1 * @param int $col_2 * @return void */ function swapCols($col_1, $col_2); // Transform /** * Returns a transposed copy of the matrix. * * For complex matrices, $conj indicates whether the conjugate of the elements is taken during the transpose. * * @param bool $conj[optional] * @return Matrix */ function t($conj = true); }