First, the ‘[]’ is used the stand in for an unspecified argument in a function argument list. Functions generally have their arguments in a specific order, so if you want to specify the dimension, here the third argument, and do not want to specify the second argument, use the empty array to stand in for the second argument. The function ignores that input or uses the default value for it.
‘Dimension’ generally refers to the size of the array. A 1-dimensional array is a vector, a 2-dimensional array is a matrix, a 3-dimensional array are ‘stacked’ 2-dimensional matrices. For dimensions higher than that, the description becomes complicated.
The ‘dimension’ argument in the min function refers to the ‘direction’ in which it will take the minimum. If it is 1, (the default direction) it will take the minimum of each column in the array, if 2, the minimum of each row. If the array has more dimensions, it will take the minimum across the specified dimension.
Best Answer