<commit_before>
{{alias}}( c, x )
    Evaluates a polynomial.

    Parameters
    ----------
    c: Array<double>
        Polynomial coefficients sorted in ascending degree.

    x: number
        Value at which to evaluate the polynomial.

    Returns
    -------
    out: number
        Evaluated polynomial.

    Examples
    --------
    > var arr = [ 3.0, 2.0, 1.0 ];
    > var v = {{alias}}( arr, 10.0 ) // 3*10^0 + 2*10^1 + 1*10^2
    123.0


{{alias}}.factory( c )
    Generates a function for evaluating a polynomial.

    Parameters
    ----------
    c: Array<double>
        Polynomial coefficients sorted in ascending degree.

    Returns
    -------
    fcn: Function
        Function for evaluating a polynomial.

    Examples
    --------
    > var polyval = {{alias}}.factory( [ 3.0, 2.0, 1.0 ] );
    > var v = polyval( 10.0 ) // => 3*10^0 + 2*10^1 + 1*10^2
    123.0
    > v = polyval( 5.0 ) // => 3*5^0 + 2*5^1 + 1*5^2
    38.0

    See Also
    --------
<commit_msg>Move comments<commit_after>
{{alias}}( c, x )
    Evaluates a polynomial.

    Parameters
    ----------
    c: Array<double>
        Polynomial coefficients sorted in ascending degree.

    x: number
        Value at which to evaluate the polynomial.

    Returns
    -------
    out: number
        Evaluated polynomial.

    Examples
    --------
    > var arr = [ 3.0, 2.0, 1.0 ];

    // 3*10^0 + 2*10^1 + 1*10^2
    > var v = {{alias}}( arr, 10.0 )
    123.0


{{alias}}.factory( c )
    Returns a function for evaluating a polynomial.

    Parameters
    ----------
    c: Array<double>
        Polynomial coefficients sorted in ascending degree.

    Returns
    -------
    fcn: Function
        Function for evaluating a polynomial.

    Examples
    --------
    > var polyval = {{alias}}.factory( [ 3.0, 2.0, 1.0 ] );

    // 3*10^0 + 2*10^1 + 1*10^2
    > var v = polyval( 10.0 )
    123.0

    // 3*5^0 + 2*5^1 + 1*5^2
    > v = polyval( 5.0 )
    38.0

    See Also
    --------

{'fraction_non_alphanumeric': 0.1746592629984856, 'fraction_numerical': 0.0646138313982837, 'mean_word_length': 1.5312899106002553, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 19, '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': '5935401', 'n_tokens_mistral': 744, 'n_tokens_neox': 646, 'n_words': 191}