LMMC
Lamina Mathematic core
Toggle main menu visibility
载入中...
搜索中...
未找到
stdlib_types.h
浏览该文件的文档.
1
2
#ifndef LMMC_STDLIB_TYPES_H
3
#define LMMC_STDLIB_TYPES_H
4
5
#include "
lmmc/complex.h
"
6
#include "
lmmc/dense_types.h
"
7
#include "
lmmc/status.h
"
8
#include <stdint.h>
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
15
const
char
*
lmmc_std_error_name
(
lmmc_status_t
status);
16
18
typedef
struct
{
19
lmmc_mat_t
values_real
;
20
lmmc_mat_t
values_imag
;
21
lmmc_mat_t
vectors_real
;
22
lmmc_mat_t
vectors_imag
;
23
}
lmmc_std_eig_table_t
;
24
26
typedef
struct
{
27
lmmc_mat_t
U
;
28
lmmc_mat_t
S
;
29
lmmc_mat_t
Vt
;
30
}
lmmc_std_svd_table_t
;
31
32
typedef
enum
{
33
LMMC_STD_COMPARE_EQ
= 0,
34
LMMC_STD_COMPARE_NE
= 1,
35
LMMC_STD_COMPARE_LT
= 2,
36
LMMC_STD_COMPARE_LE
= 3,
37
LMMC_STD_COMPARE_GT
= 4,
38
LMMC_STD_COMPARE_GE
= 5
39
}
lmmc_std_compare_op_t
;
40
41
typedef
struct
{
42
size_t
size
;
43
uint8_t*
data
;
44
int
owns_data
;
45
}
lmmc_std_bool_vec_t
;
46
47
typedef
struct
{
48
size_t
rows
;
49
size_t
cols
;
50
size_t
stride
;
51
uint8_t*
data
;
52
int
owns_data
;
53
}
lmmc_std_bool_mat_t
;
54
55
typedef
struct
{
56
size_t
size
;
57
lmmc_real_t
*
data
;
58
int
owns_data
;
59
}
lmmc_std_num_set_t
;
60
61
typedef
struct
{
62
size_t
size
;
63
lmmc_complex_t
*
data
;
64
int
owns_data
;
65
}
lmmc_std_complex_set_t
;
66
67
typedef
struct
{
68
size_t
size
;
69
uint8_t*
data
;
70
int
owns_data
;
71
}
lmmc_std_bool_set_t
;
72
73
typedef
struct
{
74
size_t
size
;
75
char
**
data
;
76
int
owns_data
;
77
}
lmmc_std_text_set_t
;
78
79
#ifdef __cplusplus
80
}
81
#endif
82
83
#endif
complex.h
复数类型与运算模块.
lmmc_complex_t
复数类型,包含实部与虚部.
定义
complex.h:25
lmmc_real_t
double lmmc_real_t
Public and internal LMMC real type.
定义
config.h:28
dense_types.h
lmmc_mat_t
行优先存储的稠密矩阵。
定义
dense_types.h:18
status.h
LMMC 通用状态码定义.
lmmc_status_t
lmmc_status_t
LMMC 库统一返回的状态码.
定义
status.h:22
lmmc_std_svd_table_t::U
lmmc_mat_t U
定义
stdlib_types.h:27
lmmc_std_num_set_t::owns_data
int owns_data
定义
stdlib_types.h:58
lmmc_std_num_set_t::size
size_t size
定义
stdlib_types.h:56
lmmc_std_eig_table_t::values_real
lmmc_mat_t values_real
定义
stdlib_types.h:19
lmmc_std_bool_set_t::data
uint8_t * data
定义
stdlib_types.h:69
lmmc_std_text_set_t::owns_data
int owns_data
定义
stdlib_types.h:76
lmmc_std_bool_set_t::owns_data
int owns_data
定义
stdlib_types.h:70
lmmc_std_eig_table_t::vectors_imag
lmmc_mat_t vectors_imag
定义
stdlib_types.h:22
lmmc_std_complex_set_t::size
size_t size
定义
stdlib_types.h:62
lmmc_std_svd_table_t::S
lmmc_mat_t S
定义
stdlib_types.h:28
lmmc_std_error_name
const char * lmmc_std_error_name(lmmc_status_t status)
将 LMMC 状态码映射为 LSR 规范定义的稳定诊断名称。
定义
stdlib_scalar_functions.c:7
lmmc_std_svd_table_t::Vt
lmmc_mat_t Vt
定义
stdlib_types.h:29
lmmc_std_num_set_t::data
lmmc_real_t * data
定义
stdlib_types.h:57
lmmc_std_bool_mat_t::data
uint8_t * data
定义
stdlib_types.h:51
lmmc_std_bool_mat_t::owns_data
int owns_data
定义
stdlib_types.h:52
lmmc_std_eig_table_t::vectors_real
lmmc_mat_t vectors_real
定义
stdlib_types.h:21
lmmc_std_bool_vec_t::size
size_t size
定义
stdlib_types.h:42
lmmc_std_compare_op_t
lmmc_std_compare_op_t
定义
stdlib_types.h:32
LMMC_STD_COMPARE_GE
@ LMMC_STD_COMPARE_GE
定义
stdlib_types.h:38
LMMC_STD_COMPARE_EQ
@ LMMC_STD_COMPARE_EQ
定义
stdlib_types.h:33
LMMC_STD_COMPARE_LT
@ LMMC_STD_COMPARE_LT
定义
stdlib_types.h:35
LMMC_STD_COMPARE_GT
@ LMMC_STD_COMPARE_GT
定义
stdlib_types.h:37
LMMC_STD_COMPARE_LE
@ LMMC_STD_COMPARE_LE
定义
stdlib_types.h:36
LMMC_STD_COMPARE_NE
@ LMMC_STD_COMPARE_NE
定义
stdlib_types.h:34
lmmc_std_text_set_t::data
char ** data
定义
stdlib_types.h:75
lmmc_std_bool_vec_t::owns_data
int owns_data
定义
stdlib_types.h:44
lmmc_std_bool_vec_t::data
uint8_t * data
定义
stdlib_types.h:43
lmmc_std_bool_mat_t::cols
size_t cols
定义
stdlib_types.h:49
lmmc_std_text_set_t::size
size_t size
定义
stdlib_types.h:74
lmmc_std_bool_mat_t::stride
size_t stride
定义
stdlib_types.h:50
lmmc_std_complex_set_t::data
lmmc_complex_t * data
定义
stdlib_types.h:63
lmmc_std_bool_set_t::size
size_t size
定义
stdlib_types.h:68
lmmc_std_complex_set_t::owns_data
int owns_data
定义
stdlib_types.h:64
lmmc_std_bool_mat_t::rows
size_t rows
定义
stdlib_types.h:48
lmmc_std_eig_table_t::values_imag
lmmc_mat_t values_imag
定义
stdlib_types.h:20
lmmc_std_bool_mat_t
定义
stdlib_types.h:47
lmmc_std_bool_set_t
定义
stdlib_types.h:67
lmmc_std_bool_vec_t
定义
stdlib_types.h:41
lmmc_std_complex_set_t
定义
stdlib_types.h:61
lmmc_std_eig_table_t
std.linalg.eig 使用的 LSR 标准 table<text, matrix> 视图。
定义
stdlib_types.h:18
lmmc_std_num_set_t
定义
stdlib_types.h:55
lmmc_std_svd_table_t
std.linalg.svd 使用的 LSR 标准 table<text, matrix> 视图。
定义
stdlib_types.h:26
lmmc_std_text_set_t
定义
stdlib_types.h:73
lmmc
stdlib_types.h
生成于
, 为 LMMC使用
1.18.0