Extracts broken diagonals
diag.off.Rd
Returns broken diagonals of a magic square
Details
Useful when testing for panmagic squares. The first element is always
the unbroken one (ie [1,1]
to [n,n]
if nw.se
is
TRUE
and [1,n]
to [n,1]
if nw.se
is
FALSE
.