function map1N( arrays, fcn ) {
	var opts;
	var ords;
	var args;
	var sub;
	var sh;
	var M;
	var N;
	var v;
	var i;
	var j;

	sh = arrays[ 0 ].shape;
	N = numel( sh );
	M = arrays.length;
	ords = [];
	args = [];
	for ( j = 0; j < M; j++ ) {
		ords.push( arrays[ j ].order );
		args.push( 0 );
	}
	opts = {
		'order': ''
	};
	for ( i = 0; i < N; i++ ) {
		v = fcn();
		for ( j = 0; j < M; j++ ) {
			opts.order = ords[ j ];
			sub = ind2sub( sh, i, opts );
			sub.push( v );
			arrays[ j ].set.apply( arrays[ j ], sub );
		}
	}
}
ndarray function which maps the return value of a callback to `N` arrays.

@private
@param {Array<ndarrayLike>} arrays - ndarrays
@param {Function} fcn - callback