![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
interest
whuawell
这个作者很懒,什么都没留下…
展开
-
Space Ant
Space Anthttp://poj.org/problem?id=1696DescriptionThe most exciting space discovery occurred at the end of the 20th century. In 1999, scientists traced down an ant-like creature in the p原创 2015-12-15 22:43:34 · 519 阅读 · 0 评论 -
各种图论模型及其解答
原文转自Jelline bloghttp://blog.chinaunix.net/uid-9112803-id-411340.html摘要:本文用另一种思路重新组织《图论及其应用》相关知识。首先,用通俗化语言阐述了如何对事物间联系的问题进行图论建模;接着从现实例子出发,给出 各种典型图论模型,每种图论模型对应于图论一个重要内容;再者,介绍相关知识对上述提到的图论模型涉及的转载 2015-12-16 10:59:26 · 7155 阅读 · 0 评论 -
Trees Made to Order
Trees Made to Order 组合计数相关http://acm.pku.edu.cn/JudgeOnline/problem?id=1095DescriptionWe can number binary trees using the following scheme: The empty tree is numbered 0. The single-原创 2015-12-15 22:42:32 · 611 阅读 · 0 评论 -
Tempter of the Bone
Tempter of the Bone The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie could feel the ground sinki原创 2015-12-15 22:45:05 · 366 阅读 · 0 评论 -
python pde adi(抛物型差分(二维—ADI格式))
#coding:utf-8from mpl_toolkits.mplot3d import axes3dimport matplotlib.pyplot as pltimport numpy as npimport timedef createMatrix( m, n): A = np.zeros( (n + 2,m + 2)) Up = np.ones( (m+2,1)) * 1原创 2017-05-02 23:30:58 · 3131 阅读 · 0 评论 -
convolve and fft
mark1. 时域卷积等同于频域乘积2. gauss blur卷积等同于热传导方程偏微分方程演化过程import numpy as npdef fft_convolve(a,b): n = len(a)+len(b)-1 N = 2**(int(np.log2(n))+1) A = np.fft.fft(a, N) B = np.fft.fft(原创 2017-05-04 21:08:18 · 1020 阅读 · 0 评论 -
MCM(平均曲率演化)
import matplotlib.pyplot as pltimport numpy as npfrom PIL import Imagedef np_from_img(fname): img = Image.open(fname) print img.format, img.size, img.mode img = img = img.convert('I') #pri原创 2017-05-09 00:02:13 · 1109 阅读 · 0 评论