equal edit page

check all elements of A to be equal

Syntax

out = equal(A,dim)