|
LAMMP 4.1.0
Lamina High-Precision Arithmetic Library
|
#include "../../../include/lammp/impl/ele_mul.h"#include "../../../include/lammp/impl/mparam.h"#include "../../../include/lammp/impl/tmp_alloc.h"#include "../../../include/lammp/impl/longlong.h"#include "../../../include/lammp/lmmpn.h"#include "../../../include/lammp/numth.h"
arith_seqprod.c 的引用(Include)关系图:函数 | |
| static mp_size_t | _odd_nPr_ (mp_ptr restrict dst, mp_size_t rn, ulong n, ulong r) |
| static mp_size_t | _odd_pow_ (mp_ptr dst, mp_size_t rn, uint base, ulong exp) |
| mp_size_t | lmmp_arith_seqprod_ (mp_ptr restrict dst, mp_size_t rn, uint x, uint n, uint m) |
| mp_size_t | lmmp_arith_seqprod_size_ (uint x, uint n, uint m) |
| 计算等差数列乘积 x(x+m)...(x+n*m)的 limb 缓冲区长度 | |
| static mp_size_t | pow_nPr_ (mp_ptr restrict dst, mp_size_t rn, uint x, uint n, uint m) |
在文件 arith_seqprod.c 第 33 行定义.
引用了 lmmp_odd_nPr_uint_(), lmmp_odd_nPr_ushort_() , 以及 NPR_SHORT_LIMIT.
被这些函数引用 pow_nPr_().
函数调用图:
这是这个函数的调用关系图:在文件 arith_seqprod.c 第 22 行定义.
引用了 lmmp_u16_pow_1_(), lmmp_u32_pow_1_(), lmmp_u4_pow_1_(), lmmp_u8_pow_1_(), MP_UCHAR_MAX , 以及 MP_USHORT_MAX.
被这些函数引用 pow_nPr_().
函数调用图:
这是这个函数的调用关系图:在文件 arith_seqprod.c 第 86 行定义.
引用了 bn, ctz_shl, LIMB_BITS, lmmp_copy, lmmp_elem_mul_ulong_(), lmmp_param_assert, lmmp_shl_(), lmmp_zero, MP_UINT_MAX, pow_nPr_(), TALLOC_TYPE, TEMP_DECL , 以及 TEMP_FREE.
函数调用图:计算等差数列乘积 x(x+m)...(x+n*m)的 limb 缓冲区长度
| x | 首项 |
| n | 等差数列共n+1项 |
| m | 公差 |
在文件 arith_seqprod.c 第 14 行定义.
|
inlinestatic |
在文件 arith_seqprod.c 第 47 行定义.
引用了 _odd_nPr_(), _odd_pow_(), LIMB_BITS, lmmp_mul_(), lmmp_nPr_size_(), lmmp_pow_1_size_(), lmmp_shl_(), lmmp_tailing_zeros_(), lmmp_zero, TALLOC_TYPE, TEMP_DECL, TEMP_FREE , 以及 tp.
被这些函数引用 lmmp_arith_seqprod_().
函数调用图:
这是这个函数的调用关系图: