Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Coder avec une
Intelligence Artificielle
Voir le programme détaillé
Module « scipy.special »

Fonction eval_gegenbauer - module scipy.special

Signature de la fonction eval_gegenbauer

def eval_gegenbauer(*args, **kwargs) 

Description

help(scipy.special.eval_gegenbauer)

eval_gegenbauer(x1, x2, x3, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature])

eval_gegenbauer(n, alpha, x, out=None)

Evaluate Gegenbauer polynomial at a point.

The Gegenbauer polynomials can be defined via the Gauss
hypergeometric function :math:`{}_2F_1` as

.. math::

    C_n^{(\alpha)} = \frac{(2\alpha)_n}{\Gamma(n + 1)}
      {}_2F_1(-n, 2\alpha + n; \alpha + 1/2; (1 - z)/2).

When :math:`n` is an integer the result is a polynomial of degree
:math:`n`. See 22.5.46 in [AS]_ for details.

Parameters
----------
n : array_like
    Degree of the polynomial. If not an integer, the result is
    determined via the relation to the Gauss hypergeometric
    function.
alpha : array_like
    Parameter
x : array_like
    Points at which to evaluate the Gegenbauer polynomial
out : ndarray, optional
    Optional output array for the function values

Returns
-------
C : scalar or ndarray
    Values of the Gegenbauer polynomial

See Also
--------
roots_gegenbauer : roots and quadrature weights of Gegenbauer
                   polynomials
gegenbauer : Gegenbauer polynomial object
hyp2f1 : Gauss hypergeometric function

References
----------
.. [AS] Milton Abramowitz and Irene A. Stegun, eds.
    Handbook of Mathematical Functions with Formulas,
    Graphs, and Mathematical Tables. New York: Dover, 1972.


Vous êtes un professionnel et vous avez besoin d'une formation ? RAG (Retrieval-Augmented Generation)
et Fine Tuning d'un LLM
Voir le programme détaillé