function resolveStride( M, N ) {
	// Note that this effectively in-lines logic from `@stdlib/array/base/broadcast-array` in order to avoid unnecessary object creation...
	if ( M === 1 ) {
		return 0;
	}
	if ( M === N ) {
		return 1;
	}
	throw new Error( 'invalid arguments. Input arguments are not broadcast compatible.' );
}
Resolves a stride length for broadcasting a one-dimensional array.

@private
@param {NonNegativeInteger} M - input array length
@param {NonNegativeInteger} N - output array length
@throws {Error} input arrays must be broadcast compatible
@returns {NonNegativeInteger} stride length