Check if all the inputs are same in dimensions

check_dim_(...)

Arguments

...

Objects to be checked