answer = ndims(value)
Returns the sign of value.
.
a=rand(5,5); ndims(a) -> 2 a=rand(5,5,5) ndims(a) -> 3
template