- ## Return the nth Legendre polynomial scaled to the interval [a,b].
- ##
- ## INPUTS:
- ##
- ## * ``n`` - The index of the polynomial that we want.
- ##
- ## * ``a`` - The left endpoint of the interval.
- ##
- ## * ``b`` - The right endpoint of the interval.
- ##
- ## OUTPUTS:
- ##
- ## * ``P_tilde`` - A polynomial function of one argument.
- ##
+ % Return the `n`th Legendre polynomial scaled to the interval [a,b].
+ %
+ % INPUT:
+ %
+ % * ``n`` - The index of the polynomial that we want.
+ %
+ % * ``a`` - The left endpoint of the interval.
+ %
+ % * ``b`` - The right endpoint of the interval.
+ %
+ % OUTPUT:
+ %
+ % * ``P_tilde`` - A polynomial function of one argument.
+ %