矩阵类声明 更多...
#include <stdlib.h>#include <string.h>#include <iostream>#include <iomanip>#include <initializer_list>类 | |
| class | Matrix |
| 本类用于进行矩阵的基本计算 更多... | |
类型定义 | |
| typedef std::initializer_list< double > | MatIniLst |
矩阵类声明
本文件存储矩阵类的各声明与基本信息
| Version | Auther | Date | Describe |
|---|---|---|---|
| V1.0.0 | Zerol Acqua | 2021/03/22 | Create Files |
| V1.1.0 | Zerol Acqua | 2021/10/02 | Add Functions |
| V1.2.0 | Zerol Acqua | 2021/10/09 | Add Functions |
| V1.3.0 | Zerol Acqua | 2021/10/11 | Add Functions |
| V1.3.1 | Zerol Acqua | 2022/01/17 | Small Patches |
| V1.4.0 | Zerol Acqua | 2022/01/21 | Add Functions |
| V1.4.1 | Zerol Acqua | 2022/11/30 | Small Patches |
本类用于进行矩阵的基本计算
eye 函数ones 函数
zeros 函数修正了移动构造函数和移动赋值函数实现
<<运算运算符实现流输出TODO:
+= 与 -=++ 与自减--+/-/+= 与 -=+/-const 关键字,使其不能修改成员变量reshape 函数相关代码diag 函数eigen 函数,以及相关的 hessenberg 函数、qrDecom4Hessenberg 函数 目前求矩阵的特征值只能计算实特征值,如果存在复特征值,就没办法计算了randMatrix 函数,用于生成 0~1 伪随机元素组成的矩阵noexcept ,在成员函数的实现中补上了 noexceptrowExchange 函数的实现逻辑| typedef std::initializer_list<double> MatIniLst |