function rowmajor( shape, out ) {
	var ndims;
	var s;
	var i;

	ndims = shape.length;
	s = 1;
	for ( i = ndims-1; i >= 0; i-- ) {
		out[ i ] = s;
		s *= shape[ i ];
	}
	return out;
}
Generates a stride array from an array shape (row-major).

@private
@param {NonNegativeIntegerArray} shape - array shape
@param {(Array|TypedArray|Object)} out - output object
@returns {(Array|TypedArray|Object)} array strides