📄 manual.htm
字号:
<html>
<head>
<link rel=stylesheet href="styles.css" type="text/css">
<title>Matrix TCL Pro User's Manual</title>
</head>
<body>
<h6 align=right>
<a href="sysreq.htm">Prev</a> |
<a href="index.htm">Up</a> |
<a href="const.htm">Next</a>
</h6>
<center>
<h1>Matrix TCL Pro User's Manual</h1>
</center>
<p>
The Matrix TCL Pro is written as a template and tested with <b>float</b>, <b>double</b>, <b>long double</b>, <b>complex<float></b>, <b>complex<double></b>, and <b>complex<long double></b>types. You can also use it with any other third party floating-point type of classes. However, most of the matrix operations are not supported for integer types. We have tested this class with matrices of size up to 1000 x 1000 without any problem (on PII 400Mz, 64MB RAM). Note that this class works only with the dense matrices, and the sparse matrices are not supported in this version.
</p>
<pre><code>template <typename T>
class matrix;
</pre></code>
<p>
To use Matrix TCL in your program, include the file <b>cmatrix</b> in the program source file. The matrix class is defined in a separate namespace, named <b>techsoft</b>, so you also need to include <b>using</b> directive for this namespace in your program source file.
</p>
<pre><code>#include <cmatrix>
using namespace std;
using namespace techsoft;
typedef matrix<double> Matrix;
typedef matrix<complex<double> > CMatrix;
Matrix A(4,4), B(4,4), C(4,4);
CMatrix CA(4,4), CB(4,4), CC(4,4);
</pre></code>
<p>
The matrix class is documented in the following sections:
</p>
<p>
<ul>
<li><a href="const.htm">Matrix constructors and destructor</a></li>
<li><a href="submat.htm">Subscript and sub-matrix operations</a></li>
<li><a href="assignop.htm">Assignment and computed assignment operators</a></li>
<li><a href="unaryop.htm">Unary operators</a></li>
<li><a href="binaryop.htm">Binary operators</a></li>
<li><a href="logicop.htm">Boolean Operations</a></li>
<li><a href="matdcmp.htm">Matrix decompositions</a></li>
<li><a href="matutil.htm">Utility methods</a></li>
<li><a href="eigen.htm">Eigen value and eigen vector</a></li>
<li><a href="matfunc.htm">Non-member functions</a></li>
<li><a href="matio.htm">I/O operations</a></li>
</ul>
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -