{"id":173991,"date":"2020-10-26T07:27:50","date_gmt":"2020-10-25T23:27:50","guid":{"rendered":"http:\/\/4563.org\/?p=173991"},"modified":"2020-10-26T07:27:50","modified_gmt":"2020-10-25T23:27:50","slug":"%e7%ae%97%e5%8a%9b%e6%9c%80%e5%bc%ba%e4%ba%91%e7%ac%94%e8%ae%b0-docrun-%e4%b9%8b%e6%9c%80%e4%b8%aa%e6%80%a7%e8%af%ad%e8%a8%80-pond-%e4%b9%8b%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e8%a7%a3","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=173991","title":{"rendered":"\u7b97\u529b\u6700\u5f3a\u4e91\u7b14\u8bb0 DocRun \u4e4b\u6700\u4e2a\u6027\u8bed\u8a00 Pond \u4e4b\u4e8c\u9879\u5f0f\u5206\u89e3"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u7b97\u529b\u6700\u5f3a\u4e91\u7b14\u8bb0 DocRun \u4e4b\u6700\u4e2a\u6027\u8bed\u8a00 Pond \u4e4b\u4e8c\u9879\u5f0f\u5206\u89e3               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : einsxiao <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>DocRun \u9664\u4e86\u652f\u6301\u53cc\u5411\u8fde\u63a5\u53cc\u680f\u7f16\u8f91\uff0c\u6587\u6863\u62d3\u6251\u5173\u7cfb\u56fe\uff0c\u8c03\u7528\u672c\u5730 Python\/Matlab\/R \u4e4b\u7c7b\u7684\u73af\u5883\u4e4b\u5916\uff0c\u8fd8\u652f\u6301\u76f4\u63a5\u8fd0\u884c Pond<\/p>\n<p>Pond \u8bed\u8a00\u7b80\u6613\u6587\u6863<\/p>\n<p>Pond \u5177\u5907\u5f3a\u529b\u8868\u8fbe\u5f0f\u5f15\u64ce\uff0c\u8fd9\u91cc\u4ee5\u4e8c\u9879\u5f0f\u5206\u89e3\u4e3a\u4f8b\uff1a \u66b4\u529b\u5c55\u5f00<\/p>\n<pre><code># \u591a\u9879\u5f0f\u66b4\u529b\u5c55\u5f00 clear(x,y) (x+y)^8 \/\/.{   (a~+b~)^n~:&gt;a*(a+b)^(n-1)+b*(a+b)^(n-1),    a~~*(b~+c~~):&gt;Times(a)*b+Times(a)*Plus(c)  }  <\/code><\/pre>\n<p>\u4f7f\u7528\u6768\u8f89\u4e09\u89d2\u4f18\u5316<\/p>\n<pre><code>N=18; c = [1,2,1]; #\u4e8c\u9879\u5f0f\u7684\u7cfb\u6570 Do(c=Join(1,Table(c[i-1]+c[i],{i,c.size(),2,-1}),1),{N-2} ) (x+y)^N\/.{(a~+b~)^(n~Number?$&gt;1&amp;):&gt;[email&#160;protected]@Table(c[i+1]*a^i*b^(n-i), {i,0,n} ) }  <\/code><\/pre>\n<p>-&gt;\u4e0a\u4f8b\u53ef\u8fd0\u884c\u4ee3\u7801\u53ca\u8fd0\u884c\u7ed3\u679c<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>4<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3890255\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : whileFalse <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6240\u4ee5\u4e3a\u4ec0\u4e48\u8981\u8bbe\u8ba1\u4e00\u4e2a\u65b0\u7684\u8bed\u8a00\u5462\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3890256\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : einsxiao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @whileFalse \u5927\u6982\u6709\u8fd9\u4e9b\u7406\u7531\uff1a<\/p>\n<p>* \u4f5c\u8005\u5f88\u8ff7 Mathematica\uff0c\u53ef\u662f Mathematica \u5f88\u5c01\u95ed\uff0cPond \u662f\u5f00\u653e\u7684<\/p>\n<p>* Pond \u7684\u5185\u6838\u548c Mathematica \u76f8\u4f3c\uff0c\u4f46\u662f\u517c\u5bb9\u4e86\u76ee\u524d\u6d41\u884c\u7684 js \u3001python \u7684\u8bed\u6cd5\u7cfb\u7edf\uff0c\u4e0a\u624b\u4f7f\u7528\u6ca1\u6709\u8fdd\u548c\u611f<\/p>\n<p>* \u7528\u6237\u53ef\u4ee5\u628a\u81ea\u5df1\u7684\u4ee3\u7801\u6dfb\u52a0\u5230 Pond \u7cfb\u7edf\u4e2d\uff0c\u5e76\u4e14\u4e0d\u540c\u7528\u6237\u4e4b\u95f4\u7684 Pond \u4ee3\u7801\u53ef\u4ee5\u76f8\u4e92\u8c03\u7528<\/p>\n<p>* Pond \u53ef\u4ee5\u65e0\u4f9d\u8d56\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u8fd0\u884c                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3890257\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : whileFalse <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @einsxiao \u90a3\u4e48 Pond \u8bed\u8a00\u662f\u4e00\u4e2a\u72ec\u7acb\u7684\u8bed\u8a00\uff0c\u8fd8\u662f DocRun \u7684\u4e00\u90e8\u5206\u5462\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3890258\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : einsxiao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @whileFalse Pond \u662f\u4e00\u4e2a\u72ec\u7acb\u7684\u8bed\u8a00\uff0c\u5728 DocRun \u8fd0\u884c\u7684 Pond \u662f DocRun \u7684\u4e00\u4e2a\u7279\u6b8a\u7248\u672c\uff08\u4f7f\u7528 wasm \u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u8fd0\u884c\uff09<br \/>Pond \u672c\u6765\u7684\u90e8\u5206\uff0c\u662f\u5728\u6211\u7814\u7a76\u751f\u6240\u5728\u7ec4\u5b9e\u9a8c\u5ba4\u4f5c\u4e3a\u8ba1\u7b97\u65f6\u6c9f\u901a\u9ad8\u6027\u80fd C++\u548c cuda \u4ee3\u7801\u6c9f\u901a\u7684\u5efa\u6a21\u8bed\u8a00\uff08\u8b6c\u5982\u6709\u4fdd\u8bc1\u548c GPU \u7f16\u7a0b\u6548\u7387\u7684\u5404\u79cd\u8bed\u6cd5\u7cd6\uff09\uff0c\u76ee\u524d\u4e3b\u8981\u7684\u6a21\u5757\u4ee3\u7801\u96c6\u4e2d\u5e94\u7528\u5728\u6750\u6599\u7684\u76f8\u573a\u8ba1\u7b97\u9886\u57df\u3002<br \/>\u8fd9\u90e8\u5206\u5de5\u4f5c\u5728\u505a\u5546\u4e1a\u5316\u5c1d\u8bd5\uff0c\u5e94\u8be5\u8fc7\u4e00\u6bb5\u65f6\u95f4\u4f1a\u5f00\u6e90\u51fa\u6765\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u7b97\u529b\u6700\u5f3a\u4e91\u7b14\u8bb0 DocRun \u4e4b\u6700&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/173991"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=173991"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/173991\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=173991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=173991"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=173991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}