-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.xml
More file actions
130 lines (99 loc) · 10.9 KB
/
search.xml
File metadata and controls
130 lines (99 loc) · 10.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="utf-8"?>
<search>
<entry>
<title><![CDATA[译文]]></title>
<url>/2021/02/12/%E8%AF%91%E6%96%87/</url>
<content type="html"><![CDATA[<h1 id="引言"><a href="#引言" class="headerlink" title="引言"></a>引言</h1><p>计算负载在不同处理元素之间的分配是并行计算中的一个重要问题。事实上,由于负载较少的进程等待负载较多的进程,导致同步空闲时间过长,不平衡的负载分配会强烈影响并行系统的性能。在本文中,我们重点讨论空间相关应用的并行执行中的负载平衡问题,其中域空间被分割成区域,分配给不同的处理元素。特别是,在不失通用性的前提下,我们考虑了著名的空间相关的蜂窝自动机计算范式来评估所提出的动态负载平衡方法。本文的主要贡献是推导了简单的闭式表达式,这些表达式允许以动态的方式计算最佳的工作负载分配,目标是保证在并行执行过程中完全平衡的工作负载分配。基于这些表达式,提出了一种细胞自动机平衡执行的算法,并利用MPI技术实现了该算法。最后,实验部分实际展示了所提出的动态负载均衡方法的行为,并证明了它与非均衡版本相比在性能上的改进,这一点可以从执行时间的明显减少中看出。<img src="译文.assets/image-20210212213537403.png" alt="image-20210212213537403"></p>
]]></content>
</entry>
<entry>
<title><![CDATA[如何设置两台路由器?]]></title>
<url>/2020/05/18/%E5%A6%82%E4%BD%95%E8%AE%BE%E7%BD%AE%E4%B8%A4%E5%8F%B0%E8%B7%AF%E7%94%B1%E5%99%A8%EF%BC%9F/</url>
<content type="html"><![CDATA[<p>因为路由器突然上不去网了,我的路由器在我的屋子里,连接的是第一台路由器,也就是主路由器。经过检查,主路由器是可以上网的。应该只是我这边的问题。</p>
<p>1.重置路由器</p>
<p>我的路由器是按住reset按钮5s重置</p>
<p>2.设置wan口</p>
<p>wan口是连接到主路由器的lan口上面的,所以首先需要把wan口设置为静态,设置一个合适的ip,比如说我的路由器,主路由器的ip地址为192.168.1.1(默认),那么我就把wan口设置为192.168.1.33,随便设置最后一个数字,只要没被占用就可以。</p>
<p>3.设置lan口</p>
<p>lan口更改ip地址为192.168.2.1,网管也更改为192.168.2.1。dns服务器为8.8.8.8。DHCP不需要改,默认就好</p>
<p>4.设置本机</p>
<p>我使用的是win10系统,所以操作流程如下:右键那个WLAN图标->打开网络和Internet设置->网络共享中心->连接的WLAN,点击这段蓝字->属性->双击 internet协议4->更改ip地址为192.168.2.125,网关为192.168.2.1,dns服务器为8.8.8.8。点击确定即可</p>
<p>至此,我的电脑能够正常上网了。</p>
]]></content>
<tags>
<tag> 折腾 </tag>
<tag> 网络 </tag>
</tags>
</entry>
<entry>
<title><![CDATA[关于hexo Next主题的一番折腾]]></title>
<url>/2020/05/17/%E5%85%B3%E4%BA%8Ehexo-Next%E4%B8%BB%E9%A2%98%E7%9A%84%E4%B8%80%E7%95%AA%E6%8A%98%E8%85%BE/</url>
<content type="html"><![CDATA[<p>在按照教程安装完Next主题后,一直折腾两个问题:</p>
<p>1.开启了Next的tags后,使用hexo new page “tags”,修改index.html后,点击tags仍然无法访问,显示error:can not get xxx</p>
<p>解决办法:<br>将这个error转换为URL后,发现是因为站点设置的_config.yaml文件中的menu中的tags后有空格,把空格删去即可。</p>
<p>2.sidebar侧边栏的posts点进去也是显示error。</p>
<p>解决办法:<br>和上面一样,先转换为正常的URL连接,发现是sidebar.swig中的split函数无法正常工作。直接删掉这个判断,直接执行else中的语句即可。</p>
<p>至此,算是折腾完了Next主题,能正常使用了。</p>
]]></content>
<tags>
<tag> 折腾 </tag>
<tag> Next </tag>
</tags>
</entry>
<entry>
<title><![CDATA[考研高数]]></title>
<url>/2020/05/17/%E8%80%83%E7%A0%94%E6%95%B0%E5%AD%A6/</url>
<content type="html"><![CDATA[<p>本博文主要记载一些备考途中遇到的一些不会的,以防忘记,本篇博文会持续更新下去。</p>
<h1 id="积分知识"><a href="#积分知识" class="headerlink" title="积分知识"></a>积分知识</h1><h2 id="1-未知积分"><a href="#1-未知积分" class="headerlink" title="1.未知积分"></a>1.未知积分</h2><script type="math/tex; mode=display">
\int \sqrt{\frac{1-x}{1+x}} \ dx</script><p>解法:</p>
<script type="math/tex; mode=display">\begin{array}{l}
\int \sqrt{\frac{(1-x)}{(1+x)} /} d x \\
=\int\sqrt{\frac{(1-x)^{2}}{(1+x)(1-x)} } d x \\
=\int\frac{1}{(1-x^{2})} d x- \int\frac{x}{(1-x^2)} d x \\
=\arcsin x+\sqrt{( 1-x^{2})} +C
\end{array}</script><h2 id="2-积分对称"><a href="#2-积分对称" class="headerlink" title="2.积分对称"></a>2.积分对称</h2><p>二重积分当中</p>
<ul>
<li>如果被积函数f(x)关于x为奇函数,当积分区域关于y轴对称时,积分结果为0</li>
<li>如果被积函数f(x)关于y为奇函数,当积分区域关于x轴对称时,积分结果为0</li>
</ul>
<p>如何判断二元函数关于某个自变量是否为奇函数?<br>将另一个自变量看做一个常数,利用奇函数性质判断即可。</p>
<h2 id="3-积分轮换对称性"><a href="#3-积分轮换对称性" class="headerlink" title="3.积分轮换对称性"></a>3.积分轮换对称性</h2><p><strong>任何积分都具有轮转对称性!</strong></p>
<p>对于二元积分而言,轮转对称性表示:被积函数x和y相互替换,重新画出积分区域(两积分区域关于y=x对称)后,积分结果仍然不变。本质是自变量的转换。</p>
<ul>
<li>如果两积分区域组成一个矩形,且该函数可以分离x,y。则有:该积分等于对x的积分和y的积分的乘积。</li>
<li>如果积分的积分区域正好关于y=x对称,显然,经过转换后积分,积分区域并不需要改变。</li>
</ul>
<h1 id="多元函数的积分"><a href="#多元函数的积分" class="headerlink" title="多元函数的积分"></a>多元函数的积分</h1><h2 id="1-玫瑰曲线的面积"><a href="#1-玫瑰曲线的面积" class="headerlink" title="1.玫瑰曲线的面积"></a>1.玫瑰曲线的面积</h2><p>已知玫瑰曲线的方程为</p>
<script type="math/tex; mode=display">r=acos(k\theta)</script><p>当k为偶数的时候:</p>
<script type="math/tex; mode=display">\frac{1}{2} \int_{0}^{2 \pi}(a \cos (k \theta))^{2} d \theta=\frac{a^{2}}{2}\left(\pi+\frac{\sin (4 k \pi)}{4 k}\right)=\frac{\pi a^{2}}{2}</script><p>当k为奇数的时候:</p>
<script type="math/tex; mode=display">\frac{1}{2} \int_{0}^{ \pi}(a \cos (k \theta))^{2} d \theta=\frac{a^{2}}{4}\left(\pi+\frac{\sin (4 k \pi)}{4 k}\right)=\frac{\pi a^{2}}{4}</script><p>为什么k为奇数的时候,面积只有一半呢?</p>
<p>因为参数为k的玫瑰线,在区间上会形成2k个花瓣,其中k个极径为正,k个极径为负。<br>极径为负的花瓣也是存在的,一样能算面积,所以要包括在积分之内。<br>当k为奇数时,k个正极径花瓣和k个负极径花瓣两两重叠,所以面积少了一半。这个自己画一画就知道了。</p>
<h2 id="2-三重积分"><a href="#2-三重积分" class="headerlink" title="2.三重积分"></a>2.三重积分</h2><p>三重积分转换为求面坐标的时候需要注意一下几点:</p>
<ul>
<li>按照课本上的 $\theta$ 和 $\varphi$,其中$\theta$为z轴到z轴负方向所能转向的最大角度。$\varphi$为几何体在xoy平面上的投影所涵盖的角度。</li>
</ul>
<h2 id="3-极坐标转换"><a href="#3-极坐标转换" class="headerlink" title="3.极坐标转换"></a>3.极坐标转换</h2><p>极坐标转换后的积分角度不是正常的0-2$\pi$,目前已知一下情况:</p>
<ul>
<li>被积分函数存在根号,通过转换后可以消除根号。</li>
</ul>
]]></content>
<tags>
<tag> 考研 </tag>
<tag> 高等数学 </tag>
</tags>
</entry>
<entry>
<title><![CDATA[Hello World]]></title>
<url>/2020/05/17/hello-world/</url>
<content type="html"><![CDATA[<p>Welcome to <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/" target="_blank" rel="noopener">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href="https://hexo.io/docs/troubleshooting.html" target="_blank" rel="noopener">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues" target="_blank" rel="noopener">GitHub</a>.</p>
<h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo new <span class="string">"My New Post"</span></span><br></pre></td></tr></table></figure>
<p>More info: <a href="https://hexo.io/docs/writing.html" target="_blank" rel="noopener">Writing</a></p>
<h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure>
<p>More info: <a href="https://hexo.io/docs/server.html" target="_blank" rel="noopener">Server</a></p>
<h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure>
<p>More info: <a href="https://hexo.io/docs/generating.html" target="_blank" rel="noopener">Generating</a></p>
<h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td></tr></table></figure>
<p>More info: <a href="https://hexo.io/docs/one-command-deployment.html" target="_blank" rel="noopener">Deployment</a></p>
]]></content>
</entry>
</search>