scipy 1.8.0 Pypi GitHub Homepage
Other Docs
ParametersReturns
_validate_args_for_toeplitz_ops(c_or_cr, b, check_finite, keep_b_shape, enforce_square=True)

Parameters

c_or_cr : array_like or tuple of (array_like, array_like)

The vector c , or a tuple of arrays ( c , r ). Whatever the actual shape of c , it will be converted to a 1-D array. If not supplied, r = conjugate(c) is assumed; in this case, if c[0] is real, the Toeplitz matrix is Hermitian. r[0] is ignored; the first row of the Toeplitz matrix is [c[0], r[1:]] . Whatever the actual shape of r , it will be converted to a 1-D array.

b : (M,) or (M, K) array_like

Right-hand side in T x = b .

check_finite : bool

Whether to check that the input matrices contain only finite numbers. Disabling may give a performance gain, but may result in problems (result entirely NaNs) if the inputs do contain infinities or NaNs.

keep_b_shape: bool :

Whether to convert a (M,) dimensional b into a (M, 1) dimensional matrix.

enforce_square: bool, optional :

If True (default), this verifies that the Toeplitz matrix is square.

Returns

r : array

1d array corresponding to the first row of the Toeplitz matrix.

c: array

1d array corresponding to the first column of the Toeplitz matrix.

b: array

(M,), (M, 1) or (M, K) dimensional array, post validation, corresponding to b .

dtype: numpy datatype

dtype stores the datatype of r , c and b . If any of r , c or b are complex, dtype is np.complex128 , otherwise, it is np.float .

b_shape: tuple

Shape of b after passing it through _asarray_validated .

Validate arguments and format inputs for toeplitz functions

Examples

See :

Local connectivity graph

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


GitHub : /scipy/linalg/_basic.py#1660
type: <class 'function'>
Commit: