LMMC
Lamina Mathematic core
载入中...
搜索中...
未找到
itersolve_gmres_internal.h
浏览该文件的文档.
1#ifndef LMMC_ITERSOLVE_GMRES_INTERNAL_H
2#define LMMC_ITERSOLVE_GMRES_INTERNAL_H
3
5
19
20lmmc_status_t lmmc_gmres_workspace(size_t n, size_t restart,
23 const lmmc_precond_t* precond, lmmc_gmres_state_t* s,
24 size_t j, lmmc_real_t* h_next);
25lmmc_status_t lmmc_gmres_rotate(lmmc_gmres_state_t* s, size_t j, int* breakdown);
29 const lmmc_vec_t* in, lmmc_real_t norm);
30
31#endif
double lmmc_real_t
Public and internal LMMC real type.
一维稠密向量。
lmmc_status_t lmmc_gmres_trial(lmmc_gmres_state_t *s, size_t j)
lmmc_status_t lmmc_gmres_normalize(lmmc_vec_t *out, const lmmc_vec_t *in, lmmc_real_t norm)
lmmc_status_t lmmc_gmres_workspace(size_t n, size_t restart, lmmc_gmres_state_t *s)
lmmc_status_t lmmc_gmres_arnoldi(const lmmc_sparse_mat_t *a, const lmmc_precond_t *precond, lmmc_gmres_state_t *s, size_t j, lmmc_real_t *h_next)
lmmc_status_t lmmc_gmres_back_substitute(lmmc_gmres_state_t *s, size_t dim)
lmmc_status_t lmmc_gmres_rotate(lmmc_gmres_state_t *s, size_t j, int *breakdown)
通用预处理子句柄。
通用稀疏矩阵(CSR / CSC 共用同一结构)。
lmmc_status_t
LMMC 库统一返回的状态码.