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 ? Programmation Python
Les fondamentaux
Voir le programme détaillé
Module « scipy.linalg »

Fonction circulant - module scipy.linalg

Signature de la fonction circulant

def circulant(c) 

Description

help(scipy.linalg.circulant)

Construct a circulant matrix.

Parameters
----------
c : (..., N,)  array_like
    The first column(s) of the matrix. Multidimensional arrays are treated as a
    batch: each slice along the last axis is the first column of an output matrix.

Returns
-------
A : (..., N, N) ndarray
    A circulant matrix whose first column is given by `c`.  For batch input, each
    slice of shape ``(N, N)`` along the last two dimensions of the output
    corresponds with a slice of shape ``(N,)`` along the last dimension of the
    input.


See Also
--------
toeplitz : Toeplitz matrix
hankel : Hankel matrix
solve_circulant : Solve a circulant system.

Notes
-----
.. versionadded:: 0.8.0

Examples
--------
>>> from scipy.linalg import circulant
>>> circulant([1, 2, 3])
array([[1, 3, 2],
       [2, 1, 3],
       [3, 2, 1]])

>>> circulant([[1, 2, 3], [4, 5, 6]])
array([[[1, 3, 2],
        [2, 1, 3],
        [3, 2, 1]],
       [[4, 6, 5],
        [5, 4, 6],
        [6, 5, 4]]])


Vous êtes un professionnel et vous avez besoin d'une formation ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé