利用Sympy求解常系数微分方程
2021-04-26
昨天接到一个需求,要求用Python实现求解常系数微分方程,虽然后来咕掉了,但是让我发现了Sympy这个科学计算库竟然有如此神奇的功能。本文将介绍如何用Sympy解决初值问题。
710 字
|
4 分钟
Cover Image of the Post
【Codeforces】 题解 - Round 709 (Div.2)
本文合作者:laybxc
994 字
|
5 分钟
Cover Image of the Post
【OI考古】图论 | 最近公共祖先 LCA
最近公共祖先简称 LCA(Lowest Common Ancestor)。两个节点的最近公共祖先,就是这两个点的公共祖先里面,离根最远的那个。
1983 字
|
10 分钟
Cover Image of the Post
【Codeforces】 题解 - Round 707 (Div.2)
本文合作者:laybxc
1545 字
|
8 分钟
Cover Image of the Post
【OI考古】数据结构 | 线段树
线段树是算法竞赛中常用的用来维护 区间信息 的数据结构。
870 字
|
4 分钟
Cover Image of the Post
在Windows下编写C++对拍程序(真随机数)
对拍,即将相同的数据输入两个不同程序,比对其输出结果。可以用于在ACM/OI等比赛中用暴力算法检测标算的正确性,寻找使程序出错的样例数据。
1009 字
|
5 分钟
Cover Image of the Post
【Codeforces】 题解 - Round 706 (Div.2)
本文合作者:laybxc
2962 字
|
15 分钟
Cover Image of the Post
【Codeforces】 题解 - Round 705 (Div.2)
本文合作者:laybxc
2442 字
|
12 分钟
Cover Image of the Post