Python循环矩阵-scipy.linalg.circulant

scipy.linalg.circulant

scipy.linalg.circulant©[source]

Construct a circulant matrix.

Parameters:

c(N,) array_like
1-D array, the first column of the matrix.

Returns:

A(N, N) ndarray
A circulant matrix whose first column is c.

See also

toeplitz
Toeplitz matrix

hankel
Hankel matrix

solve_circulant
Solve a circulant system.

Examples

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

See https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.circulant.html

https://math.stackexchange.com/questions/4610870/generating-doubly-block-circulant-matrices-which-are-also-symmetric-positive-def

相关推荐

  1. Python循环矩阵-scipy.linalg.circulant

    2023-12-08 06:48:09       53 阅读
  2. Python基础】循环语句

    2023-12-08 06:48:09       54 阅读
  3. Python循环语句

    2023-12-08 06:48:09       58 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2023-12-08 06:48:09       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2023-12-08 06:48:09       100 阅读
  3. 在Django里面运行非项目文件

    2023-12-08 06:48:09       82 阅读
  4. Python语言-面向对象

    2023-12-08 06:48:09       91 阅读

热门阅读

  1. 识别项目中未使用的 npm 包

    2023-12-08 06:48:09       58 阅读
  2. Redis

    Redis

    2023-12-08 06:48:09      128 阅读
  3. 第十五章 : Spring Boot 集成MyBatis 多种方式

    2023-12-08 06:48:09       56 阅读
  4. 自动驾驶右向辅助功能规范

    2023-12-08 06:48:09       54 阅读
  5. Prime 1.0

    Prime 1.0

    2023-12-08 06:48:09      52 阅读
  6. ERP数据仓库模型

    2023-12-08 06:48:09       45 阅读
  7. vscode 通过 ssh 远程开发解决 node.js 版本问题

    2023-12-08 06:48:09       55 阅读