QQ登录

只需要一步,快速开始

 注册地址  找回密码
查看: 6285|回复: 1
打印 上一主题 下一主题

求助 用mathematica编一个求任意整数矩阵的smith标准形

[复制链接]
字体大小: 正常 放大
firlimin        

2

主题

0

听众

5

积分

升级  0%

该用户从未签到

新人进步奖

跳转到指定楼层
1#
发表于 2008-4-18 22:17 |只看该作者 |倒序浏览
|招呼Ta 关注Ta
跪求用mathematica求任意整数矩阵A的smith标准形

算法为(1)找出A的元素中的最大公约数
(2)将它调到(1,1)位置上去
(3)使第一行和第一列的所有其他元素都为零
这可用基本行或列来变换:
交换两行(列)
一行(列)减去另一行(列)的整数倍
这样得到矩阵B,置S11=b11,对(m-1)x(n-1)的矩阵[bij]重复以上算法,重复r次就可得到smith标准形.
This topic gives a version of the Gauss elimination algorithm for a commutative principal ideal domain which is usually described only for a field.

Let be a -matrix with entries from a commutative principal ideal domain . For denotes the number of prime factors of . Start with and choose to be the smallest column index of with a non-zero entry.

(I)
If and , exchange rows 1 and .
(II)
If there is an entry at position such that , then set and choose such that
+ p7 {. ^. s. D; ]5 X2 l


By left-multiplication with an appropriate matrix it can be achieved that row 1 of the matrix product is the sum of row 1 multiplied by and row multiplied by . Then we get at position , where . Repeating these steps one obtains a matrix having an entry at position that divides all entries in column .
(III)
Finally, adding appropriate multiples of row , it can be achieved that all entries in column except for that at position are zero. This can be achieved by left-multiplication with an appropriate matrix.
Applying the steps described above to the remaining non-zero columns of the resulting matrix (if any), we get an -matrix with column indices where , each of which satisfies the following:
the entry at position is non-zero;
all entries below and above position as well as entries left of are zero.
Furthermore, all rows below the -th row are zero.
Now we can re-order the columns of this matrix so that elements on positions for are nonzero and for ; and all columns right of the -th column (if present) are zero. For short set for the element at position . has non-negative integer values; so is equivalent to being a unit of . can either happen if and differ by a unit factor, or if they are relatively prime. In the latter case one can add column to column (which doesn't change and then apply appropriate row manipulations to get . And for and one can apply step (II) after adding column to column . This diminishes the minimum -values for non-zero entries of the matrix, and by reordering columns etc. we end up with a matrix whose diagonal elements satisfy .

Since all row and column manipulations involved in the process are invertible, this shows that there exist invertible and -matrices so that is



This is the Smith normal form of the matrix. The elements are unique up to associates and are called elementary divisors

有没有谁能够根据上述算法,将程序编出来.............
谢谢!!!!!!!
zan
转播转播0 分享淘帖0 分享分享0 收藏收藏0 支持支持0 反对反对0 微信微信

0

主题

1

听众

2

积分

升级  40%

该用户从未签到

留个脚印


3 p1 n" g/ c: y. c0 Z( f& q: A
& D9 n7 A: e+ j! M: V2 g3 q: c+ j) F3 M. T6 ]1 u1 \* a" ^

, h& E9 s4 C9 Q) m2 l& r
& [: m. d0 t: Y( L' K
9 H' E( n( j) A0 W* b4 o  n% Z; u/ l5 Q/ E- m5 {3 f
6 F2 l8 b. B2 S5 [6 I
/ w6 W3 v9 e) w
2 m1 }: I) k6 g

4 G. Z! }  |( s9 M3 {8 d4 N" J' A0 W8 N( C* _

# c$ `  w+ o8 o- I
% N% X: b3 W% p3 u! h8 x0 ~" L' L0 E) @1 J. |

+ U! D# s" _  |7 H) @3 H3 W: j5 {8 H# s" }3 F, z
: l8 N' [. H0 \( ~

! ?, _; W- q5 E) Q' @0 s- R- c
: M( n  h; x% ?! ]9 U' [: O0 `* i1 I, r
( B1 j* F: p; M, C

4 x+ N( J6 s9 b6 B! e2 ?/ u1 b& n8 k  Y) `2 V; B5 A& K3 c
0 E/ o2 \! E4 k
9 n" ]" x8 [' @# N- |
天下风云出我辈, 一入江湖岁月催。 皇图霸业谈笑中, 不胜人生一场醉。
, i3 |$ }* E8 ^4 _, D3 Q5 K专业
深圳SEO服务:百度优化,Google优化,深圳SEO优化,注册香港公司SEO优化
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册地址

qq
收缩
  • 电话咨询

  • 04714969085
fastpost

关于我们| 联系我们| 诚征英才| 对外合作| 产品服务| QQ

手机版|Archiver| |繁體中文 手机客户端  

蒙公网安备 15010502000194号

Powered by Discuz! X2.5   © 2001-2013 数学建模网-数学中国 ( 蒙ICP备14002410号-3 蒙BBS备-0002号 )     论坛法律顾问:王兆丰

GMT+8, 2024-4-28 15:41 , Processed in 0.505216 second(s), 62 queries .

回顶部