📄 comp_mat.html
字号:
<HTML><HEAD><TITLE>Newmat09 - complex</TITLE></HEAD><BODY><H2>Complex matrices</H2><A HREF="index.html"> next</A> -<A HREF="index.html"> skip</A> -<A HREF="design.html"> up</A> -<A HREF="index.html"> start</A><P>The package does not yet support matrices with complexelements. There are at least two approaches to including these.One is to have matrices with complex elements.<P>This probably means making new versions of the basic row andcolumn operations for Real*Complex, Complex*Complex, Complex*Realand similarly for + and -. This would be OK, except that if Ialso want to do this for sparse matrices, then when you putthese together, the whole thing will get out of hand.<P>The alternative is to represent a Complex matrix by a pair ofReal matrices. One probably needs another level of decodingexpressions but I think it might still be simpler than the firstapproach. But there is going to be a problem with accessing elementsand it does not seem possible to solve this in an entirelysatisfactory way.<P>Complex matrices are used extensively by electrical engineersand physicistsand really should be fully supported in a comprehensive package.<P>You can simulate most complex operations by representing<TT>Z = X + iY</TT> by<PRE> / X Y \ \ -Y' X / </PRE>Most matrix operations will simulate the corresponding complexoperation, when applied to this matrix. But, of course, this matrixis twice as big as you would need with a genuine complex matrix library.<P><A HREF="index.html"> next</A> -<A HREF="index.html"> skip</A> -<A HREF="design.html"> up</A> -<A HREF="index.html"> start</A><P> </BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -