function defineStrides( tmpl, nb1 ) {
	var strides;
	var tmp;
	var st;
	var i;

	for ( i = 1; i < SHAPES.length; i++ ) {
		strides = shape2strides( SHAPES[ i ], ORDER );

		tmp = '{{OUTPUT_NDARRAY_STRIDES_'+i+'D}}';
		st = gscal( strides.length, nb1, strides.slice(), 1 );
		tmpl = replace( tmpl, tmp, st.join( ', ' ) );
	}
	return tmpl;
}
Defines array strides in a provided template string.

@private
@param {string} tmpl - template string
@param {PositiveInteger} nb1 - bytes per element for output array
@returns {string} updated string