function unary( x, y ) {
	var xdata = x.data;
	var ydata = y.data;

	// WARNING: we assume that, if we're provided something which has a data buffer resembling a typed array, we're provided a typed ndarray buffer; however, this can lead to potential unintended errors as the native add-on cannot work with non-typed array objects (e.g., generic arrays)...
	if ( !( isTypedArrayLike( xdata ) && isTypedArrayLike( ydata ) ) ) {
		return js( x, y );
	}
	addon( xdata, serialize( x ), ydata, serialize( y ) );
	return y;
}
Applies a unary function to an input ndarray and assigns results to an output ndarray.

@private
@param {ndarray} x - input array
@param {ndarray} y - output array
@returns {ndarray} output array