|
dl
|
矩阵 更多...
#include <dl_matrix.h>
Public 类型 | |
| using | Row = Array<T, N> |
| using | Col = Array<T, M> |
Public 成员函数 | |
| Matrix () | |
| Matrix (std::initializer_list< T > data) | |
| 初始化 | |
| Matrix (const T *p) | |
| 传入地址构造,注意矩阵存储方式 | |
| Col & | operator[] (size_t j) |
| 返回第j列 | |
| const Col & | operator[] (size_t j) const |
| 返回第j列 | |
| Matrix & | operator+= (const Matrix &b) |
| 矩阵 加 矩阵 | |
| Matrix & | operator*= (const T &v) |
| 矩阵 乘 值 | |
| Matrix & | operator*= (const Matrix &b) |
| 矩阵 乘 矩阵 | |
| void | Identity () |
| 获得行列式的值,Determinant(A) | |
| void | Transpose () |
| 转置(M不等于N时还需另外实现) | |
| void | Dump () |
| const T & | At (size_t i) const |
| T & | At (size_t i) |
静态 Public 属性 | |
| static constexpr size_t | MN = M * N |
矩阵
在文件 dl_matrix.h 第 38 行定义.
在文件 dl_matrix.h 第 42 行定义.
在文件 dl_matrix.h 第 41 行定义.
|
inline |
在文件 dl_matrix.h 第 44 行定义.
|
inline |
传入地址构造,注意矩阵存储方式
在文件 dl_matrix.h 第 82 行定义.
在文件 dl_matrix.h 第 250 行定义.
|
inline |
在文件 dl_matrix.h 第 246 行定义.
|
inline |
在文件 dl_matrix.h 第 210 行定义.
|
inline |
|
inline |
返回第j列
在文件 dl_matrix.h 第 91 行定义.
|
inline |
返回第j列
在文件 dl_matrix.h 第 99 行定义.
|
inline |
转置(M不等于N时还需另外实现)
在文件 dl_matrix.h 第 198 行定义.
在文件 dl_matrix.h 第 257 行定义.
在文件 dl_matrix.h 第 258 行定义.
|
staticconstexpr |
在文件 dl_matrix.h 第 43 行定义.