Open
Description
For array generation functions, If all of the dimensions that are supplied are 1, the resulting array should be a scalar.
Different tasks of this to do plan:
Achievement check:
onesM(1,1,1,1) # shuold give 1 (1 dimensional)
or we can get a :mat argument to do this, so this prevents type stability problems
onesM(:mat, 1,1,1,1) # shuold give 1 (1 dimensional)