# scipy.special.sh_legendre¶

scipy.special.sh_legendre(n, monic=False)[source]

Shifted Legendre polynomial.

Defined as $$P^*_n(x) = P_n(2x - 1)$$ for $$P_n$$ the nth Legendre polynomial.

Parameters
nint

Degree of the polynomial.

monicbool, optional

If True, scale the leading coefficient to be 1. Default is False.

Returns
Porthopoly1d

Shifted Legendre polynomial.

Notes

The polynomials $$P^*_n$$ are orthogonal over $$[0, 1]$$ with weight function 1.
{"ft_lang_label":"__label__en","ft_lang_prob":0.52747405,"math_prob":0.997476,"size":462,"snap":"2021-31-2021-39","text_gpt3_token_len":140,"char_repetition_ratio":0.17030568,"word_repetition_ratio":0.0,"special_character_ratio":0.2792208,"punctuation_ratio":0.18518518,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99535364,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-09-23T09:41:57Z\",\"WARC-Record-ID\":\"<urn:uuid:e5bee659-a896-4ac1-bc8d-60e3ca0c7d60>\",\"Content-Length\":\"17725\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5028d0b4-e1a2-4257-90fe-b033e8670916>\",\"WARC-Concurrent-To\":\"<urn:uuid:fa6f0a42-53cb-4dcd-a547-9f778d4dae83>\",\"WARC-IP-Address\":\"185.199.110.153\",\"WARC-Target-URI\":\"https://scipy.github.io/devdocs/reference/generated/scipy.special.sh_legendre.html\",\"WARC-Payload-Digest\":\"sha1:UIXQSNC5BXEYGVSBQOGHN337PUNJMKJ2\",\"WARC-Block-Digest\":\"sha1:SJW6FKIBK67FASIMY3NRRLK3MCVEOJLP\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-39/CC-MAIN-2021-39_segments_1631780057417.92_warc_CC-MAIN-20210923074537-20210923104537-00221.warc.gz\"}"}