矩阵转换表示(翻译)

矩阵转换表示(翻译)

ID:15901689

大小:45.00 KB

页数:5页

时间:2018-08-06

矩阵转换表示(翻译)_第1页
矩阵转换表示(翻译)_第2页
矩阵转换表示(翻译)_第3页
矩阵转换表示(翻译)_第4页
矩阵转换表示(翻译)_第5页
资源描述:

《矩阵转换表示(翻译)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、ThisarticlecopyformMSDN2001.mk:@MSITStore:C:Program%20FilesMicrosoft%20Visual%20StudioMSDN2001OCT1033gdicpp.chm::/hh/gdicpp/cpp_aboutgdip05_00c4.htmPlatform SDK: GDI+TranslateByguozhengkun转换矩阵表示一个m×nmatrixisasetofnumbersarrangedinmrowsandncolumns.Thefol

2、lowingillustrationshowsseveralmatrices.一个m×n矩阵是m行n列的一组数字集合。下图列出了几种矩阵。Youcanaddtwomatricesofthesamesizebyaddingindividualelements.Thefollowingillustrationshowstwoexamplesofmatrixaddition.你可以通过矩阵每个元素相加实现两个大小相同的矩阵的加法运算Anm×nmatrixcanbemultipliedbyann×pmatrix,andt

3、heresultisanm×pmatrix.Thenumberofcolumnsinthefirstmatrixmustbethesameasthenumberofrowsinthesecondmatrix.Forexample,a4×2matrixcanbemultipliedbya2×3matrixtoproducea4×3matrix.一个m×n矩阵乘以n×p矩阵,结果是m×p矩阵.第一个矩阵的列数必须和第二个矩阵的行数相同才能相乘。举例,一个4×2矩阵可以通过一个4×3矩阵乘以2×3矩阵得到。Points

4、intheplaneandrowsandcolumnsofamatrixcanbethoughtofasvectors.Forexample,(2,5)isavectorwithtwocomponents,and(3,7,1)isavectorwiththreecomponents.Thedotproductoftwovectorsisdefinedasfollows:平面上的点集和矩阵的行列可以看作向量的集合。例如,(2,5)是一个包含两个分量的向量,and(3,7,1)是一个包含三个分量的向量。两个向量的点积

5、定义如下:(a,b)•(c,d)=ac+bd(a,b,c)•(d,e,f)=ad+be+cfForexample,thedotproductof(2,3)and(5,4)is(2)(5)+(3)(4)=22.Thedotproductof(2,5,1)and(4,3,1)is(2)(4)+(5)(3)+(1)(1)=24.Notethatthedotproductoftwovectorsisanumber,notanothervector.Alsonotethatyoucancalculatethedotprod

6、uctonlyifthetwovectorshavethesamenumberofcomponents.例如,(2,3)和(5,4)的点积等于(2)*(5)+(3)*(4)=22。(2,5,1)和(4,3,1)等于(2)(4)+(5)(3)+(1)(1)=24。注意两个向量的点积是一个数值,不是另一个向量。另外,注意只有分量个数相同的向量才能计算点积。LetA(i,j)betheentryinmatrixAintheithrowandthejthcolumn.ForexampleA(3,2)istheentryi

7、nmatrixAinthe3rdrowandthe2ndcolumn.SupposeA,B,andCarematrices,andAB=C.TheentriesofCarecalculatedasfollows:假定A(i,j)是矩阵A第i行第j列的项。例如,A(3,2)是矩阵A的第3行第2列的项。假设A,B和C都是矩阵,且AB相乘等于C。C的任一项计算方法如下:C(i,j)=(rowiofA)•(columnjofB)Thefollowingillustrationshowsseveralexamplesofm

8、atrixmultiplication.下面插图是了几个矩阵相乘的例子Ifyouthinkofapointintheplaneasa1×2matrix,youcantransformthatpointbymultiplyingitbya2×2matrix.Thefollowingillustrationshowsseveraltransformationsappliedt

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。