对角优势矩阵 diagonally dominant matrix

       一个矩阵,如果其每一行的非对角元的模之和都小于这一行的对角元的模,即称该矩阵是严格对角优势或强对角优势( strictly diagonally dominant )的。

 

       若矩阵仅满足每一行的非对角元的模之和都小于等于这一行的对角元的模,但至少有一行的非对角元的模之和严格小于这一行的对角元的模,则称改矩阵是弱对角优势的。

 

       这类矩阵有着广泛的实际背景,如很多微分方程边值问题的离散化方程的系数矩阵往往具有上面的性质,因此对这类矩阵的研究是十分重要的。这类矩阵还有一些重要性质,例如,若矩阵A是严格对角优势或不可约弱对角优势的,则 A是非奇异的;若A还是埃尔米特矩阵,且对角元皆为正数,则A是正定的。又如用直接法或迭代法解系数矩阵为对角优势矩阵的线性代数方程组时,可以保证算法的稳定性或收敛性。

 

 

A strictly diagonally dominant matrix is nonsingular. A symmetric diagonally dominant real matrix with nonnegative diagonal entries is positive semidefinite.

If a matrix is strictly diagonally dominant and all its diagonal elements are positive, then the real parts of its eigenvalues are positive; if all its diagonal elements are negative, then the real parts of its eigenvalues are negative. These results follow from the Gershgorin circle theorem.

 

 

http://mathworld.wolfram.com/DiagonallyDominantMatrix.html

 

http://www.hudong.com/wiki/%E5%AF%B9%E8%A7%92%E4%BC%98%E5%8A%BF%E7%9F%A9%E9%98%B5

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
下面是利用 Matlab 自带的函数实现图像的水平镜像、垂直镜像、对角镜像变换,并将变换前后的图像显示在一个figure中方便对比显示的 Matlab 代码: ```matlab % 读入图像 img = imread('lena.png'); % 显示原图像 figure, imshow(img), title('Original Image'); % 图像水平镜像 h_flipped_img = flip(img, 2); % 图像垂直镜像 v_flipped_img = flip(img, 1); % 图像对角镜像 d_flipped_img = flip(img, [1, 2]); % 在一个figure中显示变换前后的图像 figure, subplot(2,2,1), imshow(img), title('Original Image'); subplot(2,2,2), imshow(h_flipped_img), title('Horizontally Flipped Image'); subplot(2,2,3), imshow(v_flipped_img), title('Vertically Flipped Image'); subplot(2,2,4), imshow(d_flipped_img), title('Diagonally Flipped Image'); ``` 在这个程序中,我们首先使用 `imshow` 函数显示原图像。然后,我们分别使用 `flip` 函数实现图像的水平镜像、垂直镜像、对角镜像变换,并将变换后的图像保存在 `h_flipped_img`、`v_flipped_img` 和 `d_flipped_img` 中。 最后,我们使用 `subplot` 函数在一个figure中显示变换前后的图像。我们将原图像显示在左上角的子图中,将水平镜像后的图像显示在右上角的子图中,将垂直镜像后的图像显示在左下角的子图中,将对角镜像后的图像显示在右下角的子图中。 你可以将这个程序保存为一个 Matlab 文件,比如 `image_flip.m`,然后在 Matlab 命令行中运行它。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值