This is a wrapper for general dense or sparse dot products. It is only necessary as a common interface for supporting ndarray, scipy spmatrix, and PySparse arrays.
Returns a dense (m x 1) vector representing the mean of the rows of A, which be an (m x n) sparse or dense matrix.
>>> a = numpy.array([[1,2],[3,4]], float)
>>> rowmeans(a)
array([ 1.5, 3.5])