LMMC
Lamina Mathematic core
载入中...
搜索中...
未找到
dense_solvers.h
浏览该文件的文档.
1
2#ifndef LMMC_DENSE_SOLVERS_H
3#define LMMC_DENSE_SOLVERS_H
4
5#include "lmmc/dense_types.h"
6#include "lmmc/status.h"
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
28
40
56lmmc_status_t lmmc_solve_triangular(const lmmc_mat_t* T, int upper, int diag_unit,
57 const lmmc_vec_t* b, lmmc_vec_t* x);
58
76lmmc_status_t lmmc_mat_rank(const lmmc_mat_t* a, lmmc_real_t tol, size_t* out_rank);
77
94lmmc_status_t lmmc_mat_pow(const lmmc_mat_t* a, int n, lmmc_mat_t* out);
95
112
113#ifdef __cplusplus
114}
115#endif
116
117#endif
double lmmc_real_t
Public and internal LMMC real type.
lmmc_status_t lmmc_mat_pow(const lmmc_mat_t *a, int n, lmmc_mat_t *out)
计算方阵整数幂 。
lmmc_status_t lmmc_mat_rdiv(const lmmc_mat_t *B, const lmmc_mat_t *A, lmmc_mat_t *X)
计算矩阵右除 。
lmmc_status_t lmmc_mat_det(const lmmc_mat_t *a, lmmc_real_t *out_det)
通过 LU 分解计算方阵行列式。
lmmc_status_t lmmc_mat_rank(const lmmc_mat_t *a, lmmc_real_t tol, size_t *out_rank)
通过 SVD 计算矩阵的数值秩。
lmmc_status_t lmmc_solve_triangular(const lmmc_mat_t *T, int upper, int diag_unit, const lmmc_vec_t *b, lmmc_vec_t *x)
求解三角系统 。
lmmc_status_t lmmc_mat_inv(const lmmc_mat_t *A, lmmc_mat_t *A_inv)
计算方阵的逆矩阵。
行优先存储的稠密矩阵。
一维稠密向量。
LMMC 通用状态码定义.
lmmc_status_t
LMMC 库统一返回的状态码.