function accessors( x, y, stride, offset, fcn, thisArg ) {
	var xdata;
	var ydata;
	var xget;
	var yset;
	var io;
	var i;

	xdata = x.data;
	ydata = y.data;
	xget = x.accessors[ 0 ];
	yset = y.accessors[ 1 ];

	io = offset;
	for ( i = 0; i < xdata.length; i++ ) {
		yset( ydata, io, fcn.call( thisArg, xget( xdata, i ), i, xdata ) );
		io += stride;
	}
	return y;
}
Applies a callback function to elements in an input array and assigns results to elements in an output array.

@private
@param {Object} x - input array object
@param {Object} y - output array object
@param {integer} stride - stride length for output array
@param {NonNegativeInteger} offset - starting index for output array
@param {Function} fcn - callback function
@param {*} thisArg - callback execution context
@returns {Object} output array object

@example
var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
var arraylike2object = require( '@stdlib/array/base/arraylike2object' );
var ones = require( '@stdlib/array/base/ones' );
var zeros = require( '@stdlib/array/base/zeros' );

function scale( x ) {
    return x * 10.0;
}

var x = ones( 4 );
var y = zeros( x.length );

var out = accessors( arraylike2object( toAccessorArray( x ) ), arraylike2object( toAccessorArray( y ) ), 1, 0, scale );
// y => [ 10.0, 10.0, 10.0, 10.0 ]