<commit_before><commit_msg>Add REPL text<commit_after>
{{alias}}( t, a, b, c )
    Evaluates the moment-generating function (MGF) for a triangular distribution
    with minimum support `a`, maximum support `b`, and mode `c` at a value `t`.

    If the condition `a <= c <= b` is not satisfied, the function returns `NaN`.

    If either `a`, `b`, or `c` is `NaN`, the function returns `NaN`.

    Parameters
    ----------
    t: number
        Input value.

    a: number
        Minimum support.

    b: number
        Maximum support.

    c: number
        Mode.

    Returns
    -------
    out: double
        Evaluated MGF.

    Examples
    --------
    > var y = {{alias}}( 0.5, -1.0, 1.0, 0.0 )
    ~1.021
    > y = {{alias}}( 0.5, -1.0, 1.0, 0.5 )
    ~1.111
    > y = {{alias}}( -0.3, -20.0, 0.0, -2.0 )
    ~24.334
    > y = {{alias}}( -2.0, -1.0, 1.0, 0.0 )
    ~1.381
    > y = {{alias}}( NaN, 0.0, 1.0, 0.5 )
    NaN
    > y = {{alias}}( 0.0, NaN, 1.0, 0.5 )
    NaN
    > y = {{alias}}( 0.0, 0.0, NaN, 0.5 )
    NaN
    > y = {{alias}}( 0.5, 1.0, 0.0, NaN )
    NaN
    > y = {{alias}}( 0.5, 1.0, 0.0, 1.5 )
    NaN


{{alias}}.factory( a, b, c )
    Returns a function for evaluating the moment-generating function (MGF) of a
    triangular distribution with minimum support `a`, maximum support `b`, and
    mode `c`.

    Parameters
    ----------
    a: number
        Minimum support.

    b: number
        Maximum support.

    c: number
        Mode.

    Returns
    -------
    mgf: Function
        moment-generating function (MGF).

    Examples
    --------
    > var mymgf = {{alias}}.factory( 0.0, 2.0, 1.0 );
    > var y = mymgf( -1.0 )
    ~0.3996
    > y = mymgf( 2.0 )
    ~10.205

    See Also
    --------


{'fraction_non_alphanumeric': 0.18853868194842408, 'fraction_numerical': 0.05845272206303725, 'mean_word_length': 1.5638766519823788, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '533598', 'n_tokens_mistral': 714, 'n_tokens_neox': 635, 'n_words': 205}