|
LAMMP 4.2.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 restrict 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) |
| Copyright (C) 2026 HJimmyK(Jericho Knox) | |
| static mp_size_t | pow_nPr_ (mp_ptr restrict dst, mp_size_t rn, uint x, uint n, uint m) |
在文件 arith_seqprod.c 第 47 行定义.
引用了 lmmp_odd_nPr_uint_(), lmmp_odd_nPr_ushort_(), n , 以及 NPR_SHORT_LIMIT.
被这些函数引用 pow_nPr_().
函数调用图:
这是这个函数的调用关系图:在文件 arith_seqprod.c 第 36 行定义.
引用了 lmmp_u16_pow_1_(), lmmp_u32_pow_1_(), lmmp_u4_pow_1_(), lmmp_u8_pow_1_(), MP_UCHAR_MAX, MP_USHORT_MAX , 以及 n.
被这些函数引用 pow_nPr_().
函数调用图:
这是这个函数的调用关系图:在文件 arith_seqprod.c 第 100 行定义.
引用了 bn, ctz_shr_u64, LIMB_BITS, lmmp_copy, lmmp_elem_mul_ulong_(), lmmp_param_assert, lmmp_shl_(), lmmp_zero, MP_UINT_MAX, n, pow_nPr_(), s, t, TALLOC_TYPE, TEMP_DECL , 以及 TEMP_FREE.
函数调用图:Copyright (C) 2026 HJimmyK(Jericho Knox)
计算等差数列乘积 x(x+m)...(x+n*m)的 limb 缓冲区长度
This file is part of LAMMP.
LAMMP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed WITHOUT ANY WARRANTY.
See https://www.gnu.org/licenses/.
在文件 arith_seqprod.c 第 24 行定义.
引用了 LMMP_MIN, lmmp_param_assert, lmmp_pow_1_size_(), n , 以及 t.
函数调用图:
|
inlinestatic |
在文件 arith_seqprod.c 第 61 行定义.
引用了 _odd_nPr_(), _odd_pow_(), LIMB_BITS, lmmp_mul_(), lmmp_nPr_size_(), lmmp_pow_1_size_(), lmmp_shl_(), lmmp_tailing_zeros_, lmmp_zero, n, TALLOC_TYPE, TEMP_DECL, TEMP_FREE , 以及 tp.
被这些函数引用 lmmp_arith_seqprod_().
函数调用图:
这是这个函数的调用关系图: