powered by
Function to judge the square matrix whether it is diagonal matrix or not
is.diag(x)
If `x` is diagonal matrix, `TRUE`. Otherwise the function returns `FALSE`.
Square matrix.