
{{alias}}( x, value[, options] )
    Broadcasts a scalar value to an ndarray having the same shape and data type
    as a provided input ndarray.

    If `value` is a number and the resolved data type is a complex number data
    type, the function returns an ndarray containing a complex number whose real
    component equals the provided scalar value and whose imaginary component is
    zero.

    The function does not guard against precision loss when `value` is a number
    and the resolved data type is an integer data type.

    Parameters
    ----------
    x: ndarray
        Input ndarray.

    value: any
        Scalar value.

    options: Object (optional)
        Options.

    options.dtype: string|DataType (optional)
        Data type. By default, the output array has the same data type as the
        provided input ndarray.

    options.shape: ArrayLike<number> (optional)
        Output array shape. By default, the output array has the same shape as
        the provided input ndarray.

    options.order: string (optional)
        Specifies whether an array is row-major (C-style) or column-major
        (Fortran-style). By default, the output array has the same order as the
        provided input ndarray.

    options.readonly: boolean (optional)
        Boolean indicating whether an array should be read-only. Default: false.

    Returns
    -------
    out: ndarray
        Output array.

    Examples
    --------
    > var o = { 'dtype': 'float32' };
    > var x = {{alias:@stdlib/ndarray/empty}}( [ 2, 2 ], o )
    <ndarray>
    > var y = {{alias}}( x, 1.0 )
    <ndarray>[ [ 1.0, 1.0 ], [ 1.0, 1.0 ] ]
    > var dt = String( {{alias:@stdlib/ndarray/dtype}}( y ) )
    'float32'

    See Also
    --------

