In numpy dimension, are axis and rank one and the same?
In numpy tutorial [1, 2, 1] is an array of rank 1, because it has one axis. That axis has a length of 3. [[ 1., 0., 0.], [ 0., 1., 2.]] The above array has rank 2 (it is 2-dimensional). The...
31 December 2013
8,017
0
View