|
LAMMP 4.2.0
Lamina High-Precision Arithmetic Library
|
ele_mul.c 的引用(Include)关系图:宏定义 | |
| #define | INSERTION_SORT_THRESHOLD 16 |
| Copyright (C) 2026 HJimmyK(Jericho Knox) | |
函数 | |
| static void | insertion_sort (huff_node arr[], sint low, sint high) |
| 在闭区间 [low, high] 上进行插入排序 | |
| mp_size_t | lmmp_elem_mul_ulong_ (mp_ptr restrict dst, const ulongp restrict limbs, mp_size_t n, mp_ptr restrict tp) |
| sint | lmmp_huff_tree_build_ (huff_tree *restrict ht) |
| mp_size_t | lmmp_huff_tree_mul_ (huff_tree *restrict ht, sint ridx, mp_ptr restrict dst, mp_ptr restrict tp) |
| static sint | median_of_three (const huff_node arr[], sint a, sint b, sint c) |
| 返回 arr[a]、arr[b]、arr[c] 三个索引中对应值的中位数的索引 | |
| static void | quicksort_rec (huff_node arr[], sint low, sint high) |
| 递归的三路快速排序,对闭区间 [low, high] 排序 | |
| static void | swap_huff_node (huff_node *a, huff_node *b) |
| #define INSERTION_SORT_THRESHOLD 16 |
Copyright (C) 2026 HJimmyK(Jericho Knox)
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.
在闭区间 [low, high] 上进行插入排序
引用了 n.
被这些函数引用 quicksort_rec().
这是这个函数的调用关系图:| mp_size_t lmmp_elem_mul_ulong_ | ( | mp_ptr restrict | dst, |
| const ulongp restrict | limbs, | ||
| mp_size_t | n, | ||
| mp_ptr restrict | tp | ||
| ) |
引用了 ELEM_MUL_BASECASE_THRESHOLD, lmmp_debug_assert, lmmp_elem_mul_ulong_(), lmmp_mul_(), lmmp_mul_1_(), n , 以及 tp.
被这些函数引用 lmmp_elem_mul_ulong_().
函数调用图:
这是这个函数的调用关系图:引用了 k, lmmp_param_assert, n , 以及 quicksort_rec().
函数调用图:| mp_size_t lmmp_huff_tree_mul_ | ( | huff_tree *restrict | ht, |
| sint | ridx, | ||
| mp_ptr restrict | dst, | ||
| mp_ptr restrict | tp | ||
| ) |
引用了 lmmp_copy, lmmp_huff_tree_mul_(), lmmp_mul_(), n , 以及 tp.
被这些函数引用 lmmp_huff_tree_mul_().
函数调用图:
这是这个函数的调用关系图:返回 arr[a]、arr[b]、arr[c] 三个索引中对应值的中位数的索引
被这些函数引用 quicksort_rec().
这是这个函数的调用关系图:递归的三路快速排序,对闭区间 [low, high] 排序
引用了 insertion_sort(), INSERTION_SORT_THRESHOLD, median_of_three(), n, quicksort_rec() , 以及 swap_huff_node().
被这些函数引用 lmmp_huff_tree_build_() , 以及 quicksort_rec().
函数调用图:
这是这个函数的调用关系图: