
{{alias}}( arrays, fcn )
    Applies a nullary callback and assigns results to elements in an output
    ndarray.

    A provided "ndarray" should be an `object` with the following properties:

    - dtype: data type.
    - data: data buffer.
    - shape: dimensions.
    - strides: stride lengths.
    - offset: index offset.
    - order: specifies whether an ndarray is row-major (C-style) or column-major
    (Fortran-style).

    Parameters
    ----------
    arrays: ArrayLikeObject<ndarray>
        Array-like object containing an output ndarray.

    fcn: Function
        Nullary callback.

    Examples
    --------
    // Define ndarray data and meta data...
    > var xbuf = new {{alias:@stdlib/array/float64}}( [ 0.0, 0.0, 0.0, 0.0 ] );
    > var dtype = 'float64';
    > var shape = [ 2, 2 ];
    > var sx = [ 2, 1 ];
    > var ox = 0;
    > var order = 'row-major';

    // Using an ndarray...
    > var x = {{alias:@stdlib/ndarray/ctor}}( dtype, xbuf, shape, sx, ox, order );
    > {{alias}}( [ x ], {{alias:@stdlib/utils/constant-function}}( 10.0 ) );
    > x.data
    <Float64Array>[ 10.0, 10.0, 10.0, 10.0 ]

    // Using a minimal ndarray-like object...
    > xbuf = new {{alias:@stdlib/array/float64}}( [ 0.0, 0.0, 0.0, 0.0 ] );
    > x = {
    ...     'dtype': dtype,
    ...     'data': xbuf,
    ...     'shape': shape,
    ...     'strides': sx,
    ...     'offset': ox,
    ...     'order': order
    ... };
    > {{alias}}( [ x ], {{alias:@stdlib/utils/constant-function}}( 20.0 ) );
    > x.data
    <Float64Array>[ 20.0, 20.0, 20.0, 20.0 ]

    See Also
    --------

