正在加载图片...
范例:Adding and Multiplying Two Matrices Objective:Use two-dimensional arrays to create two matrices,and then add and multiple the two matrices. au a ais a ais b11b12b13b14b15 an+bu an+bu2 an+bu3 anz+bu ais+bis a21a22a23a24a2s b21b2b23b24b25 a21+b21a22+b2a23+b23a24+b24a25+b2s a31a32a33a34a35 X b31b32b33b34b35 as+ba an+bs2 an+b3s an+bs ass+b3s a4a42a43a44a45 b41b42b43b44b4s a41+b41a42+b42a43+b43a4+b4a45+b45 a51a52a53a54a55 bs1 bs2 bs:bs4 bss a51+b51as2+bs2a53+b53a54+b54as5+b5 源码 ©2006计算机系杨厚群 All rights lefts reserved ©2006 计算机系 杨厚群 All rights & lefts reserved. 范例:Adding and Multiplying Two Matrices • Objective: Use two-dimensional arrays to create two matrices, and then add and multiple the two matrices.                 + + + + + + + + + + + + + + + + + + + + + + + + + =                 +                 5 1 5 1 5 2 5 2 5 3 5 3 5 4 5 4 5 5 5 5 4 1 4 1 4 2 4 2 4 3 4 3 4 4 4 4 4 5 4 5 3 1 3 1 3 2 3 2 3 3 3 3 3 4 3 4 3 5 3 5 2 1 2 1 2 2 2 2 2 3 2 3 2 4 2 4 2 5 2 5 1 1 1 1 1 2 1 2 1 2 1 3 1 2 1 4 1 5 1 5 5 1 5 2 5 3 5 4 5 5 4 1 4 2 4 3 4 4 4 5 3 1 3 2 3 3 3 4 3 5 2 1 2 2 2 3 2 4 2 5 1 1 1 2 1 3 1 4 1 5 5 1 5 2 5 3 5 4 5 5 4 1 4 2 4 3 4 4 4 5 3 1 3 2 3 3 3 4 3 5 2 1 2 2 2 3 2 4 2 5 1 1 1 2 1 3 1 4 1 5 a b a b a b a b a b a b a b a b a b a b a b a b a b a b a b a b a b a b a b a b a b a b a b a b a b b b b b b b b b b b b b b b b b b b b b b b b b b a a a a a a a a a a a a a a a a a a a a a a a a a 源码
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有