
{{alias}}( p )
    Returns the mode of a geometric distribution with success probability `p`.

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

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

    Returns
    -------
    out: integer
        Mode.

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

    See Also
    --------

