output.html

来自「矩阵算法库newmat10.tar.gz的帮助文件」· HTML 代码 · 共 33 行

HTML
33
字号
<HTML><HEAD><TITLE>Newmat09 - output</TITLE></HEAD><BODY><H2>Output</H2><A HREF="unspec.html">  next</A> - <A HREF="unspec.html">  skip</A> - <A HREF="refer.html">  up</A> - <A HREF="index.html">  start</A><P>To print a matrix use an expression like<PRE>    Matrix A;    ......    cout &lt;&lt; setw(10) &lt;&lt; setprecision(5) &lt;&lt; A;</PRE>This will work only with systems that support the standard input/outputroutines including manipulators. You need to #include the filenewmatio.h.<P>The present version of this routine is useful only for matrices small enoughto fit within a page or screen width.<P>To print several vectors or matrices in columns use a<A HREF="binary.html">concatenation operator</A>:<PRE>   ColumnVector A, B;   .....   cout &lt;&lt; setw(10) &lt;&lt; setprecision(5) &lt;&lt; (A | B);</PRE></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?