function shape2strides( shape, order, out ) {
	if ( isColumnMajor( order ) ) {
		return columnmajor( shape, out );
	}
	return rowmajor( shape, out );
}
Generates a stride array from an array shape.

@param {NonNegativeIntegerArray} shape - array shape
@param {string} order - specifies whether an array is row-major (C-style) or column-major (Fortran-style)
@param {(Array|TypedArray|Object)} out - output object
@returns {(Array|TypedArray|Object)} array strides

@example
var strides = [ 0, 0 ];

var out = shape2strides( [ 3, 2 ], 'row-major', strides );
// returns [ 2, 1 ]

var bool = ( out === strides );
// returns true

out = shape2strides( [ 3, 2 ], 'column-major', strides );
// returns [ 1, 3 ]