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 * @return \Arma\Colvec */ function diag($k = 0); /** * Check whether the matrix has exactly one column or one row. * * @return bool */ function isVec(); /** * Check whether the matrix has exactly one column. * * @return bool */ function isColvec(); /** * Check whether the matrix has exactly one row. * * @return bool */ function isRowvec(); /** * Check whether the matrix is square. * * @return bool */ function isSquare(); /** * Check whether the matrix is symmetric. * * @return bool */ function isSymmetric(); /** * Check whether the matrix is hermitian. * * @return bool */ function isHermitian(); }