
{{alias}}( p )
    Returns the expected value of a Bernoulli distribution with success
    probability `p`.

    If `p < 0` or `p > 1`, the function returns `NaN`.

    Parameters
    ----------
    p: number
        Success probability.

    Returns
    -------
    out: number
        Expected value.

    Examples
    --------
    > var v = {{alias}}( 0.1 )
    0.1
    > v = {{alias}}( 0.5 )
    0.5

    See Also
    --------

