2025年7月28日

摘要: function [convergence_rates, fig_handle] = plotConvergence(dt_values, error_data, method_names, varargin) % PLOTCONVERGENCE - Plot convergence analysi 阅读全文
posted @ 2025-07-28 08:10 xguu996 阅读(13) 评论(0) 推荐(0)

2025年7月26日

摘要: 第六章主要介绍堆排序以及其最坏情况的算法复杂度分析, 第一节首先是关于堆的介绍 堆的介绍 堆的定义 原版算法导论对堆的定义如下: The (binary) heap data structure is an array object that we can view as a nearly comp 阅读全文
posted @ 2025-07-26 23:20 xguu996 阅读(11) 评论(0) 推荐(0)

2025年7月24日

摘要: 在这一系列, 将阅读和编码算法导论的内容, 参考书籍为第四版的 《Introduction to Algorithms》 将使用 C++ 完成算法的具体实现. C++ 中 std::vector 容器以及相关操作 #include <iostream> #include <vector> int m 阅读全文
posted @ 2025-07-24 13:16 xguu996 阅读(7) 评论(0) 推荐(0)