PageSourceSearch

https://cv-rmvl.github.io/assets/README-SHcREHiO.js

js cv-rmvl.github.io collected 2026-10-03 08:51:06 UTC 8,426 bytes, 22 lines download raw bytes

1import{A as e,K as t,P as n,c as r,d as i,h as a,m as o,p as s}from"./vendor~app~SearchBox~404.html~03~02~01~ext_idl~ext_cmake~README~README~joinus~faq~win~linux~msr1ortc-DmIgdF7g.js";import{t as c}from"./app-CEKqxzHR.js";var l=JSON.parse(`{"path":"/quickstart/","title":"快速开始 | 快速入门","lang":"zh-CN","frontmatter":{"title":"快速开始","description":"一键安装 打开终端,输入以下命令即可完成 RMVL 的安装。若有疑问,请参考或。 开发前注意事项 要使用 RMVL 进行开发,您需要安装能够编译 C++ 代码的编译器,如有需要,您还可以安装 Python 3.8 或以上版本的 Python 解释器 此外 RMVL 使用 CMake 构建,如果有源码编译需求的用户请确保安装了 CMake 3.16 或以...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"快速开始\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2026-07-30T17:29:15.000Z\\",\\"author\\":[]}"],["meta",{"property":"og:url","content":"https://cv-rmvl.github.io/quickstart/"}],["meta",{"property":"og:site_name","content":"RMVL 用户手册"}],["meta",{"property":"og:title","content":"快速开始"}],["meta",{"property":"og:description","content":"一键安装 打开终端,输入以下命令即可完成 RMVL 的安装。若有疑问,请参考或。 开发前注意事项 要使用 RMVL 进行开发,您需要安装能够编译 C++ 代码的编译器,如有需要,您还可以安装 Python 3.8 或以上版本的 Python 解释器 此外 RMVL 使用 CMake 构建,如果有源码编译需求的用户请确保安装了 CMake 3.16 或以..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2026-07-30T17:29:15.000Z"}],["meta",{"property":"article:modified_time","content":"2026-07-30T17:29:15.000Z"}]]},"readingTime":{"minutes":1.51,"words":452},"git":{"createdTime":1743256186000,"updatedTime":1785432555000,"contributors":[{"name":"zhaoxi","username":"","email":"[email protected]","commits":5,"avatar":"https://gravatar.com/avatar/6d7a5af9a0b65d2e9de45d8737997644e55a55004140b744d0b129a0f1fe4fb6?d=retro"}]},"autoDesc":true,"filePathRelative":"quickstart/README.md","headers":[],"bulletin":false}`),u={name:`README.md`},d={class:`hint-container warning`};function f(c,l,u,f,p,m){let h=n(`VPLink`),g=n(`Badge`),_=n(`CodeTabs`),v=n(`CodeEditor`);return e(),i(`div`,null,[l[20]||=r(`h2`,{id:`一键安装`,tabindex:`-1`},[r(`a`,{class:`header-anchor`,href:`#一键安装`},[r(`span`,null,`一键安装`)])],-1),r(`p`,null,[l[2]||=o(`打开终端,输入以下命令即可完成 RMVL 的安装。若有疑问,请参考`,-1),a(h,{href:`win.md`},{default:t(()=>[...l[0]||=[o(`Windows 配置教程`,-1)]]),_:1}),l[3]||=o(`或`,-1),a(h,{href:`linux.md`},{default:t(()=>[...l[1]||=[o(`Linux 配置教程`,-1)]]),_:1}),l[4]||=o(`。`,-1)]),a(_,{id:`6`,data:[{id:`Linux`},{id:`Windows <Badge type="warning" text="Beta" />`}]},{title0:t(({value:e,isActive:t})=>[...l[5]||=[r(`span`,null,`Linux`,-1)]]),title1:t(({value:e,isActive:t})=>[r(`span`,null,[l[6]||=o(`Windows `,-1),a(g,{type:`warning`,text:`Beta`})])]),tab0:t(({value:e,isActive:t})=>[...l[7]||=[r(`div`,{class:`language-bash line-numbers-mode`,"data-highlighter":`shiki`,"data-ext":`bash`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},[r(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark vp-code`},[r(`code`,{class:`language-bash`},[r(`span`,{class:`line`},[r(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`wget`),r(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},` https://cv-rmvl.github.io/install`),r(`span`,{style:{"--shiki-light":`#A65E2B`,"--shiki-dark":`#C99076`}},` -qO`),r(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},` -`),r(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),r(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` bash`)])])]),r(`div`,{class:`line-numbers`,"aria-hidden":`true`,style:{"counter-reset":`line-number 0`}},[r(`div`,{class:`line-number`})])],-1)]]),tab1:t(({value:e,isActive:t})=>[...l[8]||=[r(`div`,{class:`language-powershell line-numbers-mode`,"data-highlighter":`shiki`,"data-ext":`powershell`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},[r(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark vp-code`},[r(`code`,{class:`language-powershell`},[r(`span`,{class:`line`},[r(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`irm https:`),r(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`//`),r(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`cv`),r(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`-`),r(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`rmvl.github.io`),r(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`/`),r(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},`install-win`),r(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),r(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},` iex`)])])]),r(`div`,{class:`line-numbers`,"aria-hidden":`true`,style:{"counter-reset":`line-number 0`}},[r(`div`,{class:`line-number`})])],-1)]]),_:1}),l[21]||=s(`<h2 id="开发前注意事项" tabindex="-1"><a class="header-anchor" href="#开发前注意事项"><span>开发前注意事项</span></a></h2><p>要使用 RMVL 进行开发,您需要安装能够编译 C++ 代ç 
1çš„编译器,如有需要,您还可以安装 Python 3.8 或以上版本的 Python 解释器</p><p>此外 RMVL 使用 CMake 构建,如果有源码编译需求的用户请确保安装了 CMake 3.16 或以上版本</p><div class="hint-container tip"><p class="hint-container-title">提示</p><p>不了解 CMake 的用户可以参考</p><ul><li><a href="https://cmake.org/documentation/" target="_blank" rel="noopener noreferrer">官方文档</a></li><li><a href="https://www.cccolt.top/tutorial/cmake/" target="_blank" rel="noopener noreferrer">现代 CMake 教程</a></li></ul></div><p>对于 Windows 平台,CMake 不是必需的,但在其他平台则需要使用 CMake 作为项目的构建系统,具体安装内容可参考</p>`,5),r(`ul`,null,[r(`li`,null,[a(h,{href:`win.md`},{default:t(()=>[...l[9]||=[o(`Windows 配置教程`,-1)]]),_:1})]),r(`li`,null,[a(h,{href:`linux.md`},{default:t(()=>[...l[10]||=[o(`Linux 配置教程`,-1)]]),_:1})])]),l[22]||=r(`h2`,{id:`在线体验-rmvl`,tabindex:`-1`},[r(`a`,{class:`header-anchor`,href:`#在线体验-rmvl`},[r(`span`,null,`在线体验 RMVL`)])],-1),l[23]||=r(`p`,null,`下面提供了两个简单的 RMVL 示例,您可以在这里编辑并运行 C++ 代码来体验 RMVL 的功能:`,-1),l[24]||=r(`ul`,null,[r(`li`,null,`示例 1:使用二阶二级中点公式 Runge-Kutta 方法求解常微分方程`),r(`li`,null,`示例 2:显示 RMVL 版本信息`)],-1),a(v,{addr:`https://occ.cccolt.top/api`,examples:[{name:`示例 1`,code:`#include <rmvl/algorithm.hpp>
2
3int main() {
4    rm::Ode dot_x1 = [](double t, const std::valarray<double> &x) {
5        return 2 - x[0] + t;
6    };
7    // 构建中点公式
8    rm::RungeKutta2 rk({dot_x1});
9    // 设置初值
10    rk.init(0, {1});
11    // 迭代求解
12    auto res = rk.solve(0.01, 100);
13    // 输出结果
14    printf("t = 1, f(t) = %.6f\\n", res.back()[0]);
15}`},{name:`示例 2`,code:`#include <iostream>
16
17#include <rmvl/core.hpp>
18
19int main() {
20    // 版本信息
21    std::cout << rm::getBuildInformation() << "\\n";
22}`}]}),r(`div`,d,[l[17]||=r(`p`,{class:`hint-container-title`},`注意`,-1),l[18]||=r(`p`,null,`目前仅允许使用`,-1),r(`ul`,null,[r(`li`,null,[l[12]||=r(`code`,null,`rmvl_core`,-1),l[13]||=o(`,文档点击`,-1),a(h,{href:`/docs/2.x/d0/de1/group__core.html`},{default:t(()=>[...l[11]||=[o(`此处`,-1)]]),_:1})]),r(`li`,null,[l[15]||=r(`code`,null,`rmvl_algorithm`,-1),l[16]||=o(`,文档点击`,-1),a(h,{href:`/docs/2.x/d5/d6c/group__algorithm.html`},{default:t(()=>[...l[14]||=[o(`此处`,-1)]]),_:1})])]),l[19]||=r(`p`,null,`模块的 API`,-1)])])}var p=c(u,[[`render`,f]]);export{l as _pageData,p as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.