Skip to content

Matrix_Hub v1.51

Compare
Choose a tag to compare
@Amoiensis Amoiensis released this 28 May 13:50
· 9 commits to master since this release

Matrix_Hub

矩阵运算库--C语言 The lib of Matrix operation for C language.

Author: Amoiensis
Email: [email protected]
Data: 2020.02.12~2022.05.28


[ 更新说明 Matrix Hub v1.51] 2022.05.28

  1. 新增函数, 详情见下表 M_eigen_max/ householder/ M_householder/ M_QR/ M_eigen_val;
操作 Func Name Operation (detailed)
矩阵最大特征值、特征向量 M_eigen_max The maximum eigenvalue/ eigen-vector of the Matrix (create).
向量householder变换, 返回变换矩阵H householder Householder transformation for the Vector, return Transformating-Matrix: H (create).
矩阵householder变换 M_householder Householder transformation for the Matrix, return Transformated-Matrix: H_Mat (create).
矩阵QR分解 M_QR QR Decomposition (create).
矩阵特征值 M_eigen_val The eigenvalues of the Matrix (create).
矩阵特征值, 及其对应特征向量(矩阵) M_eigen The eigenvalues and eigen-vectors of the Matrix (create).
  1. 新增 运算过程的"显示详细等级"(The Level of Details of Output).

    位置: _DETAILED_ (state.h)

    档位: 0/1/2/3 四等级: 0->3 逐渐详细 ( 默认设置为 2级)

    level - 显示详情的函数

    0 - M_print (除设定的输出外,不额外显示其他计算细节信息)

    1 - M_Uptri_/ M_Lowtri_/ M_Diatri_ ;

    2 - M_full/ M_Inverse/ M_eigen_val/ M_rank / M_Uptri_/ M_Lowtri_/ M_Diatri_/ M_print ;

    3 - M_free/ M_mul/ M_full/ M_Inverse/ M_rank/ M_mul / M_Uptri_/ M_Lowtri_/ M_Diatri_/ M_print ;

  2. 解决求逆运算中存在的问题(感谢@1u2e): 结构体释放问题、一维矩阵求逆;
    详见:#4

  3. 本版本已完成内存测试,目前测试后暂无内存泄漏问题;

  4. 更新"README", 参考"功能表"中 OPERATION 列, 如返回值为新开辟空间则标记有 "create", 用于提供内存管理的参考,
    具体请参考对应 OPERATION 说明 help("README").

  5. 自Matrix_Hub v1.51 起, 可以使用 help("MatrixHub") 查看当前版本号.