toeplitz(c, r=None)
The Toeplitz matrix has constant diagonals, with c as its first column and r as its first row. If r is not given, r == conjugate(c)
is assumed.
The behavior when c
or r
is a scalar, or when c
is complex and r
is None, was changed in version 0.8.0. The behavior in previous versions was undocumented and is no longer supported.
First column of the matrix. Whatever the actual shape of c
, it will be converted to a 1-D array.
First row of the matrix. If None, r = conjugate(c)
is assumed; in this case, if c[0] is real, the result is a Hermitian matrix. r[0] is ignored; the first row of the returned matrix is [c[0], r[1:]]
. Whatever the actual shape of r
, it will be converted to a 1-D array.
The Toeplitz matrix. Dtype is the same as (c[0] + r[0]).dtype
.
Construct a Toeplitz matrix.
circulant
circulant matrix
hankel
Hankel matrix
solve_toeplitz
Solve a Toeplitz system.
>>> from scipy.linalg import toeplitz
... toeplitz([1,2,3], [1,4,5,6]) array([[1, 4, 5, 6], [2, 1, 4, 5], [3, 2, 1, 4]])
>>> toeplitz([1.0, 2+3j, 4-1j]) array([[ 1.+0.j, 2.-3.j, 4.+1.j], [ 2.+3.j, 1.+0.j, 2.-3.j], [ 4.-1.j, 2.+3.j, 1.+0.j]])See :
The following pages refer to to this document either explicitly or contain code examples using this.
scipy.linalg._basic.solve_toeplitz
scipy.linalg._basic.matmul_toeplitz
scipy.linalg._special_matrices.hankel
scipy.linalg._special_matrices.convolution_matrix
scipy.linalg._special_matrices.circulant
scipy.linalg._special_matrices.toeplitz
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them