[{"data":1,"prerenderedAt":125},["ShallowReactive",2],{"article-find-patterns":3},{"id":4,"title":5,"body":6,"date":90,"description":91,"downloads":94,"extension":98,"hide":99,"links":100,"meta":107,"navigation":108,"path":109,"seo":110,"slug":112,"stem":113,"tags":114,"__hash__":124},"articles\u002Farticles\u002Ffind-patterns.md","“找规律”",{"type":7,"value":8,"toc":83},"minimark",[9,30,34,46,49,52,62,65,76],[10,11,12,14],"h2",{"id":12,"class":13},"介绍","section-heading",[15,16,19,25],"a",{"class":17,"href":18},"section-link","#介绍",[20,21,24,12],"span",{"className":22},[23],"visually-hidden","章节",[20,26,29],{"ariaHidden":27,"tabIndex":28},"true",-1," §",[31,32,33],"p",{},"Python程序，可以通过多项式拟合几乎任意的数列，即“找规律”。",[31,35,36,37,41,42,45],{},"最上方可以设置数列的每一项，同时支持分数和小数输入，点击“添加”（快捷键",[38,39,40],"code",{},"Enter","）按钮加入列表。选中数列项目，点击“删除”（快捷键",[38,43,44],{},"Delete","）按钮从列表删除。",[31,47,48],{},"中央可设置拟合输出格式，有LaTeX分数和小数两种格式。",[31,50,51],{},"点击“确定”按钮后，下方会显示输出结果。示例：",[53,54,59],"pre",{"className":55,"code":57,"language":58},[56],"language-text","容易注意到多项式函数：\nf(x)=x\n满足\n- f(2)=2\n- f(3)=3\n- f(1)=1\n","text",[38,60,57],{"__ignoreMap":61},"",[31,63,64],{},"原理：一种类似于拉格朗日插值的算法。",[10,66,67,68],{"id":67,"class":13},"截图",[15,69,71,74],{"class":17,"href":70},"#截图",[20,72,24,67],{"className":73},[23],[20,75,29],{"ariaHidden":27,"tabIndex":28},[31,77,78],{},[79,80],"img",{"alt":81,"src":82},"多项式拟合几乎任意的数列的工具界面","\u002Fraw\u002Ffind-patterns-gui.png",{"title":61,"searchDepth":84,"depth":84,"links":85},2,[86,88],{"id":12,"depth":84,"text":87},"介绍章节介绍 §",{"id":67,"depth":84,"text":89},"截图章节截图 §","2025\u002F2\u002F3",[92,93],"Python程序，可以通过多项式拟合几乎任意的数列，即\"找规律\"。","原理是一种类似于拉格朗日插值的算法。",[95],[96,97],"\u002Fraw\u002Ffind-patterns.py","下载：Python程序","md",false,[101,104],[102,103],"https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002FBV1D9PQeaEBf\u002F","演示视频",[105,106],"https:\u002F\u002Fgithub.com\u002FIsBenben\u002FFunny-Things\u002Fblob\u002Fmain\u002F%E6%89%BE%E8%A7%84%E5%BE%8B.py","源代码",{},true,"\u002Farticles\u002Ffind-patterns",{"title":5,"description":111},[92,93],"find-patterns","articles\u002Ffind-patterns",[115,118,121],[116,117],"lang","python3",[119,120],"inspiration","original",[122,123],"content","tool","XMZQ89arckE9-qVXFEYeTZcqLvxO4t-yt_e0CVVgaek",1778909018759]