15.12.2012 Views

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SciPy Reference Guide, Release 0.8.dev<br />

jacobi(n, alpha, beta, monic=0)<br />

Returns the nth order Jacobi polynomial, P^(alpha,beta)_n(x) orthogonal over [-1,1] with weighting function<br />

(1-x)**alpha (1+x)**beta with alpha,beta > -1.<br />

laguerre(n, monic=0)<br />

Return the nth order Laguerre polynoimal, L_n(x), orthogonal over [0,inf) with weighting function exp(-x)<br />

genlaguerre(n, alpha, monic=0)<br />

Returns the nth order generalized (associated) Laguerre polynomial, L^(alpha)_n(x), orthogonal over [0,inf)<br />

with weighting function exp(-x) x**alpha with alpha > -1<br />

hermite(n, monic=0)<br />

Return the nth order Hermite polynomial, H_n(x), orthogonal over (-inf,inf) with weighting function exp(-x**2)<br />

hermitenorm(n, monic=0)<br />

Return the nth order normalized Hermite polynomial, He_n(x), orthogonal over (-inf,inf) with weighting function<br />

exp(-(x/2)**2)<br />

gegenbauer(n, alpha, monic=0)<br />

Return the nth order Gegenbauer (ultraspherical) polynomial, C^(alpha)_n(x), orthogonal over [-1,1] with<br />

weighting function (1-x**2)**(alpha-1/2) with alpha > -1/2<br />

sh_legendre(n, monic=0)<br />

Returns the nth order shifted Legendre polynomial, P^*_n(x), orthogonal over [0,1] with weighting function 1.<br />

sh_chebyt(n, monic=0)<br />

Return nth order shifted Chebyshev polynomial of first kind, Tn(x). Orthogonal over [0,1] with weight function<br />

(x-x**2)**(-1/2).<br />

sh_chebyu(n, monic=0)<br />

Return nth order shifted Chebyshev polynomial of second kind, Un(x). Orthogonal over [0,1] with weight<br />

function (x-x**2)**(1/2).<br />

sh_jacobi(n, p, q, monic=0)<br />

Returns the nth order Jacobi polynomial, G_n(p,q,x) orthogonal over [0,1] with weighting function (1-x)**(p-q)<br />

(x)**(q-1) with p>q-1 and q > 0.<br />

Warning: Large-order polynomials obtained from these functions are numerically unstable.<br />

orthopoly1d objects are converted to poly1d, when doing arithmetic. numpy.poly1d works in power<br />

basis and cannot represent high-order polynomials accurately, which can cause significant inaccuracy.<br />

Hypergeometric Functions<br />

hyp2f1(x1,<br />

x2, x3)<br />

y=hyp2f1(a,b,c,z) returns the gauss hypergeometric function<br />

hyp1f1(x1,<br />

x2)<br />

y=hyp1f1(a,b,x) returns the confluent hypergeometeric function<br />

hyperu(x1,<br />

x2)<br />

y=hyperu(a,b,x) returns the confluent hypergeometric function of the<br />

hyp0f1(v, z) Confluent hypergeometric limit function 0F1.<br />

hyp2f0(x1, (y,err)=hyp2f0(a,b,x,type) returns (y,err) with the hypergeometric function 2F0 in y and an error<br />

x2, x3, out1) estimate in err. The input type determines a convergence factor and<br />

hyp1f2(x1, (y,err)=hyp1f2(a,b,c,x) returns (y,err) with the hypergeometric function 1F2 in y and an error<br />

x2, x3, out1) estimate in err.<br />

hyp3f0(x1, (y,err)=hyp3f0(a,b,c,x) returns (y,err) with the hypergeometric function 3F0 in y and an error<br />

x2, x3, out1) estimate in err.<br />

438 Chapter 3. Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!