From a6aee7d2e4abe6e2d856978bd44e6430f8a9d05d Mon Sep 17 00:00:00 2001 From: snowykami Date: Fri, 30 Aug 2024 06:30:48 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20docs=20from=20@=20snowykami/mb?= =?UTF-8?q?cp@efbf0731c9ee64cefa0f4cfefdfa3a3ea4ba9575=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- api/index.html | 4 ++-- api/mp_math/angle.html | 4 ++-- api/mp_math/const.html | 4 ++-- api/mp_math/equation.html | 4 ++-- api/mp_math/function.html | 4 ++-- api/mp_math/index.html | 4 ++-- api/mp_math/line.html | 4 ++-- api/mp_math/mp_math_typing.html | 4 ++-- api/mp_math/plane.html | 4 ++-- api/mp_math/point.html | 4 ++-- api/mp_math/segment.html | 4 ++-- api/mp_math/utils.html | 4 ++-- api/mp_math/vector.html | 4 ++-- api/particle/index.html | 4 ++-- api/presets/index.html | 4 ++-- api/presets/model/index.html | 4 ++-- assets/api_index.md.CBQkxs7b.js | 1 - assets/api_index.md.CBQkxs7b.lean.js | 1 - assets/api_index.md.C_wESrrY.js | 1 + assets/api_index.md.C_wESrrY.lean.js | 1 + assets/api_mp_math_angle.md.gd7UQvyy.lean.js | 1 - ...Qvyy.js => api_mp_math_angle.md.iDErkOWa.js} | 2 +- assets/api_mp_math_angle.md.iDErkOWa.lean.js | 1 + assets/api_mp_math_const.md.3scs0T6A.js | 1 - assets/api_mp_math_const.md.3scs0T6A.lean.js | 1 - assets/api_mp_math_const.md.BAf8mK4W.js | 1 + assets/api_mp_math_const.md.BAf8mK4W.lean.js | 1 + ...l.js => api_mp_math_equation.md.Di7kIkyq.js} | 2 +- assets/api_mp_math_equation.md.Di7kIkyq.lean.js | 1 + assets/api_mp_math_equation.md.DuZ1hN4l.lean.js | 1 - assets/api_mp_math_function.md.U6hGSIm3.js | 17 ----------------- assets/api_mp_math_function.md.U6hGSIm3.lean.js | 1 - assets/api_mp_math_function.md.roDde0nH.js | 17 +++++++++++++++++ assets/api_mp_math_function.md.roDde0nH.lean.js | 1 + assets/api_mp_math_index.md.1HMGGW3A.js | 1 - assets/api_mp_math_index.md.1HMGGW3A.lean.js | 1 - assets/api_mp_math_index.md.BNf7bQqL.js | 1 + assets/api_mp_math_index.md.BNf7bQqL.lean.js | 1 + assets/api_mp_math_line.md.B-ShajAF.lean.js | 1 - ...hajAF.js => api_mp_math_line.md.DbfheWE4.js} | 2 +- assets/api_mp_math_line.md.DbfheWE4.lean.js | 1 + .../api_mp_math_mp_math_typing.md.BtAkBFH3.js | 1 - ...i_mp_math_mp_math_typing.md.BtAkBFH3.lean.js | 1 - .../api_mp_math_mp_math_typing.md.DlnJmkos.js | 1 + ...i_mp_math_mp_math_typing.md.DlnJmkos.lean.js | 1 + ...iXsz.js => api_mp_math_plane.md.DLuC3Mxh.js} | 2 +- assets/api_mp_math_plane.md.DLuC3Mxh.lean.js | 1 + assets/api_mp_math_plane.md.DnJHiXsz.lean.js | 1 - assets/api_mp_math_point.md.9ZJsp3fx.lean.js | 1 - ...p3fx.js => api_mp_math_point.md.DAQFtNol.js} | 2 +- assets/api_mp_math_point.md.DAQFtNol.lean.js | 1 + assets/api_mp_math_segment.md.BLQ-UFFk.lean.js | 1 - ...An.js => api_mp_math_segment.md.CQz_FDoI.js} | 2 +- assets/api_mp_math_segment.md.CQz_FDoI.lean.js | 1 + ...wrbP.js => api_mp_math_utils.md.C2moaW8N.js} | 2 +- assets/api_mp_math_utils.md.C2moaW8N.lean.js | 1 + assets/api_mp_math_utils.md.yzrnwrbP.lean.js | 1 - assets/api_mp_math_vector.md.BSPllWFK.lean.js | 1 - ...WFK.js => api_mp_math_vector.md.BiNus8y5.js} | 2 +- assets/api_mp_math_vector.md.BiNus8y5.lean.js | 1 + assets/api_particle_index.md.Cgiljhcz.js | 1 - assets/api_particle_index.md.Cgiljhcz.lean.js | 1 - assets/api_particle_index.md.Cm3Vk-es.js | 1 + assets/api_particle_index.md.Cm3Vk-es.lean.js | 1 + assets/api_presets_index.md.CD62I2gv.js | 1 + assets/api_presets_index.md.CD62I2gv.lean.js | 1 + assets/api_presets_index.md.RZipvyLz.js | 1 - assets/api_presets_index.md.RZipvyLz.lean.js | 1 - .../api_presets_model_index.md.4RPSG4yh.lean.js | 1 - ...s => api_presets_model_index.md.CJMO-ffZ.js} | 2 +- .../api_presets_model_index.md.CJMO-ffZ.lean.js | 1 + assets/en_api_index.md.BaqBYqY8.js | 1 - assets/en_api_index.md.BaqBYqY8.lean.js | 1 - assets/en_api_index.md.Dj_5nFTt.js | 1 + assets/en_api_index.md.Dj_5nFTt.lean.js | 1 + ...z.js => en_api_mp_math_angle.md.DI0aMl64.js} | 2 +- assets/en_api_mp_math_angle.md.DI0aMl64.lean.js | 1 + assets/en_api_mp_math_angle.md.z39I-qRz.lean.js | 1 - assets/en_api_mp_math_const.md.CSc4Ut1v.js | 1 - assets/en_api_mp_math_const.md.CSc4Ut1v.lean.js | 1 - assets/en_api_mp_math_const.md.gGpXUShq.js | 1 + assets/en_api_mp_math_const.md.gGpXUShq.lean.js | 1 + .../en_api_mp_math_equation.md.0VnHCQQ4.lean.js | 1 - ...s => en_api_mp_math_equation.md.CFa2gNNX.js} | 2 +- .../en_api_mp_math_equation.md.CFa2gNNX.lean.js | 1 + assets/en_api_mp_math_function.md.BzQ8FTPC.js | 17 ----------------- .../en_api_mp_math_function.md.BzQ8FTPC.lean.js | 1 - assets/en_api_mp_math_function.md.D5HNykIX.js | 17 +++++++++++++++++ .../en_api_mp_math_function.md.D5HNykIX.lean.js | 1 + assets/en_api_mp_math_index.md.BEjLBMpH.js | 1 + assets/en_api_mp_math_index.md.BEjLBMpH.lean.js | 1 + assets/en_api_mp_math_index.md.Gx9tQ_Za.js | 1 - assets/en_api_mp_math_index.md.Gx9tQ_Za.lean.js | 1 - ...h_.js => en_api_mp_math_line.md.BI7jrk5A.js} | 2 +- assets/en_api_mp_math_line.md.BI7jrk5A.lean.js | 1 + assets/en_api_mp_math_line.md.e8dK90h_.lean.js | 1 - ...en_api_mp_math_mp_math_typing.md.DByFpCMm.js | 1 - ...i_mp_math_mp_math_typing.md.DByFpCMm.lean.js | 1 - ...en_api_mp_math_mp_math_typing.md.Dnl2aJQ4.js | 1 + ...i_mp_math_mp_math_typing.md.Dnl2aJQ4.lean.js | 1 + ...e.js => en_api_mp_math_plane.md.C6JEigTz.js} | 2 +- assets/en_api_mp_math_plane.md.C6JEigTz.lean.js | 1 + assets/en_api_mp_math_plane.md.DYLAU1Re.lean.js | 1 - assets/en_api_mp_math_point.md.DYCVxK7m.lean.js | 1 - ...m.js => en_api_mp_math_point.md.DgKVopYL.js} | 4 ++-- assets/en_api_mp_math_point.md.DgKVopYL.lean.js | 1 + .../en_api_mp_math_segment.md.CUQLS_qv.lean.js | 1 - ...js => en_api_mp_math_segment.md.GweOoNT9.js} | 2 +- .../en_api_mp_math_segment.md.GweOoNT9.lean.js | 1 + assets/en_api_mp_math_utils.md.B4NFHkPz.lean.js | 1 - ...z.js => en_api_mp_math_utils.md.VHDSe3i2.js} | 2 +- assets/en_api_mp_math_utils.md.VHDSe3i2.lean.js | 1 + .../en_api_mp_math_vector.md.BJF5J3QY.lean.js | 1 - ....js => en_api_mp_math_vector.md.BlzUS0V3.js} | 2 +- .../en_api_mp_math_vector.md.BlzUS0V3.lean.js | 1 + assets/en_api_particle_index.md.BfyNQiRg.js | 1 + .../en_api_particle_index.md.BfyNQiRg.lean.js | 1 + assets/en_api_particle_index.md.f-q0HsfK.js | 1 - .../en_api_particle_index.md.f-q0HsfK.lean.js | 1 - assets/en_api_presets_index.md.BWb2fpTg.js | 1 + assets/en_api_presets_index.md.BWb2fpTg.lean.js | 1 + assets/en_api_presets_index.md.CAyxYhKI.js | 1 - assets/en_api_presets_index.md.CAyxYhKI.lean.js | 1 - ...> en_api_presets_model_index.md.BOZde1R5.js} | 2 +- ..._api_presets_model_index.md.BOZde1R5.lean.js | 1 + ..._api_presets_model_index.md.DypEdCdE.lean.js | 1 - ...d.NVx3l2Cr.js => guide_index.md.Cfmzk2IH.js} | 2 +- assets/guide_index.md.Cfmzk2IH.lean.js | 1 + assets/guide_index.md.NVx3l2Cr.lean.js | 1 - assets/ja_api_index.md.CnUeuifx.js | 1 + assets/ja_api_index.md.CnUeuifx.lean.js | 1 + assets/ja_api_index.md.DW7hb-YH.js | 1 - assets/ja_api_index.md.DW7hb-YH.lean.js | 1 - assets/ja_api_mp_math_angle.md.Cac0Crec.lean.js | 1 - ...c.js => ja_api_mp_math_angle.md.mNl1_TuR.js} | 2 +- assets/ja_api_mp_math_angle.md.mNl1_TuR.lean.js | 1 + assets/ja_api_mp_math_const.md.ClLsNkM_.js | 1 - assets/ja_api_mp_math_const.md.ClLsNkM_.lean.js | 1 - assets/ja_api_mp_math_const.md.DGXAgDfn.js | 1 + assets/ja_api_mp_math_const.md.DGXAgDfn.lean.js | 1 + .../ja_api_mp_math_equation.md.8i-WXc7A.lean.js | 1 - ...s => ja_api_mp_math_equation.md.Bx4R1cWT.js} | 2 +- .../ja_api_mp_math_equation.md.Bx4R1cWT.lean.js | 1 + assets/ja_api_mp_math_function.md.D1A2lXjy.js | 17 +++++++++++++++++ .../ja_api_mp_math_function.md.D1A2lXjy.lean.js | 1 + assets/ja_api_mp_math_function.md.GLsPZWha.js | 17 ----------------- .../ja_api_mp_math_function.md.GLsPZWha.lean.js | 1 - assets/ja_api_mp_math_index.md.BBAQ-AOT.js | 1 - assets/ja_api_mp_math_index.md.BBAQ-AOT.lean.js | 1 - assets/ja_api_mp_math_index.md.CTZZ-p9Z.js | 1 + assets/ja_api_mp_math_index.md.CTZZ-p9Z.lean.js | 1 + assets/ja_api_mp_math_line.md.BwZJXqnL.lean.js | 1 - ...nL.js => ja_api_mp_math_line.md.CUb8HcBw.js} | 2 +- assets/ja_api_mp_math_line.md.CUb8HcBw.lean.js | 1 + ...ja_api_mp_math_mp_math_typing.md.BNymgrCT.js | 1 + ...i_mp_math_mp_math_typing.md.BNymgrCT.lean.js | 1 + ...ja_api_mp_math_mp_math_typing.md.DHbmIzMT.js | 1 - ...i_mp_math_mp_math_typing.md.DHbmIzMT.lean.js | 1 - assets/ja_api_mp_math_plane.md.Ck5Q7igW.lean.js | 1 - ...W.js => ja_api_mp_math_plane.md.CzPHp-i-.js} | 2 +- assets/ja_api_mp_math_plane.md.CzPHp-i-.lean.js | 1 + ...J.js => ja_api_mp_math_point.md.1OBHSorb.js} | 4 ++-- assets/ja_api_mp_math_point.md.1OBHSorb.lean.js | 1 + assets/ja_api_mp_math_point.md.CbFZXfAJ.lean.js | 1 - .../ja_api_mp_math_segment.md.DbTMeZAn.lean.js | 1 - ...js => ja_api_mp_math_segment.md.Elu4YWS-.js} | 2 +- .../ja_api_mp_math_segment.md.Elu4YWS-.lean.js | 1 + assets/ja_api_mp_math_utils.md.D2dcQ_ET.lean.js | 1 - ...T.js => ja_api_mp_math_utils.md.DdUJsEiD.js} | 2 +- assets/ja_api_mp_math_utils.md.DdUJsEiD.lean.js | 1 + ....js => ja_api_mp_math_vector.md.BIkkuu3D.js} | 2 +- .../ja_api_mp_math_vector.md.BIkkuu3D.lean.js | 1 + .../ja_api_mp_math_vector.md.DBPPUIlc.lean.js | 1 - assets/ja_api_particle_index.md.C9QFJ8EN.js | 1 - .../ja_api_particle_index.md.C9QFJ8EN.lean.js | 1 - assets/ja_api_particle_index.md.Jr41Y3TS.js | 1 + .../ja_api_particle_index.md.Jr41Y3TS.lean.js | 1 + assets/ja_api_presets_index.md.BZKh7pEG.js | 1 - assets/ja_api_presets_index.md.BZKh7pEG.lean.js | 1 - assets/ja_api_presets_index.md.CQqdQbIZ.js | 1 + assets/ja_api_presets_index.md.CQqdQbIZ.lean.js | 1 + ...> ja_api_presets_model_index.md.DGIEt4ke.js} | 2 +- ..._api_presets_model_index.md.DGIEt4ke.lean.js | 1 + ..._api_presets_model_index.md.DzI-SA0H.lean.js | 1 - assets/zht_api_index.md.BoNToa7V.js | 1 - assets/zht_api_index.md.BoNToa7V.lean.js | 1 - assets/zht_api_index.md.CgZH6aHQ.js | 1 + assets/zht_api_index.md.CgZH6aHQ.lean.js | 1 + .../zht_api_mp_math_angle.md.B7iqArJr.lean.js | 1 - ....js => zht_api_mp_math_angle.md.BHWp5-Wz.js} | 2 +- .../zht_api_mp_math_angle.md.BHWp5-Wz.lean.js | 1 + assets/zht_api_mp_math_const.md.3LY5TQ7t.js | 1 - .../zht_api_mp_math_const.md.3LY5TQ7t.lean.js | 1 - assets/zht_api_mp_math_const.md.xwQvuYck.js | 1 + .../zht_api_mp_math_const.md.xwQvuYck.lean.js | 1 + ...zht_api_mp_math_equation.md.DMSjWdou.lean.js | 1 - ... => zht_api_mp_math_equation.md.Da-XfzS0.js} | 2 +- ...zht_api_mp_math_equation.md.Da-XfzS0.lean.js | 1 + assets/zht_api_mp_math_function.md.CFVTTeOW.js | 17 +++++++++++++++++ ...zht_api_mp_math_function.md.CFVTTeOW.lean.js | 1 + assets/zht_api_mp_math_function.md.DOX7pGXC.js | 17 ----------------- ...zht_api_mp_math_function.md.DOX7pGXC.lean.js | 1 - assets/zht_api_mp_math_index.md.Cp3ggfPO.js | 1 - .../zht_api_mp_math_index.md.Cp3ggfPO.lean.js | 1 - assets/zht_api_mp_math_index.md.mmeMMriu.js | 1 + .../zht_api_mp_math_index.md.mmeMMriu.lean.js | 1 + ...p.js => zht_api_mp_math_line.md.CERQpbvD.js} | 2 +- assets/zht_api_mp_math_line.md.CERQpbvD.lean.js | 1 + assets/zht_api_mp_math_line.md.D3xPFA2p.lean.js | 1 - ...ht_api_mp_math_mp_math_typing.md.CNiSnuMw.js | 1 + ...i_mp_math_mp_math_typing.md.CNiSnuMw.lean.js | 1 + ...ht_api_mp_math_mp_math_typing.md.DTY2F-6g.js | 1 - ...i_mp_math_mp_math_typing.md.DTY2F-6g.lean.js | 1 - ....js => zht_api_mp_math_plane.md.8lFm9uJ1.js} | 2 +- .../zht_api_mp_math_plane.md.8lFm9uJ1.lean.js | 1 + .../zht_api_mp_math_plane.md.DAAO1c38.lean.js | 1 - ....js => zht_api_mp_math_point.md.CH6HpvMW.js} | 2 +- .../zht_api_mp_math_point.md.CH6HpvMW.lean.js | 1 + .../zht_api_mp_math_point.md.CK50W0JG.lean.js | 1 - .../zht_api_mp_math_segment.md.BK0QQket.lean.js | 1 - ...s => zht_api_mp_math_segment.md.BZQVMFnu.js} | 2 +- .../zht_api_mp_math_segment.md.BZQVMFnu.lean.js | 1 + .../zht_api_mp_math_utils.md.BQrrPf8T.lean.js | 1 - ....js => zht_api_mp_math_utils.md.CAphuB0R.js} | 2 +- .../zht_api_mp_math_utils.md.CAphuB0R.lean.js | 1 + ...js => zht_api_mp_math_vector.md.B57rC4-I.js} | 2 +- .../zht_api_mp_math_vector.md.B57rC4-I.lean.js | 1 + .../zht_api_mp_math_vector.md.CtYckwOL.lean.js | 1 - assets/zht_api_particle_index.md.8GaGB1ul.js | 1 + .../zht_api_particle_index.md.8GaGB1ul.lean.js | 1 + assets/zht_api_particle_index.md.CljeoVXn.js | 1 - .../zht_api_particle_index.md.CljeoVXn.lean.js | 1 - assets/zht_api_presets_index.md.DEbOKiST.js | 1 - .../zht_api_presets_index.md.DEbOKiST.lean.js | 1 - assets/zht_api_presets_index.md.DvOViSox.js | 1 + .../zht_api_presets_index.md.DvOViSox.lean.js | 1 + ..._api_presets_model_index.md.3pGdZAT9.lean.js | 1 - ... zht_api_presets_model_index.md.D2Dc7np7.js} | 2 +- ..._api_presets_model_index.md.D2Dc7np7.lean.js | 1 + demo/index.html | 4 ++-- en/api/index.html | 4 ++-- en/api/mp_math/angle.html | 4 ++-- en/api/mp_math/const.html | 4 ++-- en/api/mp_math/equation.html | 4 ++-- en/api/mp_math/function.html | 4 ++-- en/api/mp_math/index.html | 4 ++-- en/api/mp_math/line.html | 4 ++-- en/api/mp_math/mp_math_typing.html | 4 ++-- en/api/mp_math/plane.html | 4 ++-- en/api/mp_math/point.html | 4 ++-- en/api/mp_math/segment.html | 4 ++-- en/api/mp_math/utils.html | 4 ++-- en/api/mp_math/vector.html | 4 ++-- en/api/particle/index.html | 4 ++-- en/api/presets/index.html | 4 ++-- en/api/presets/model/index.html | 4 ++-- en/guide/index.html | 4 ++-- en/index.html | 2 +- guide/index.html | 6 +++--- hashmap.json | 2 +- index.html | 2 +- ja/api/index.html | 4 ++-- ja/api/mp_math/angle.html | 4 ++-- ja/api/mp_math/const.html | 4 ++-- ja/api/mp_math/equation.html | 4 ++-- ja/api/mp_math/function.html | 4 ++-- ja/api/mp_math/index.html | 4 ++-- ja/api/mp_math/line.html | 4 ++-- ja/api/mp_math/mp_math_typing.html | 4 ++-- ja/api/mp_math/plane.html | 4 ++-- ja/api/mp_math/point.html | 4 ++-- ja/api/mp_math/segment.html | 4 ++-- ja/api/mp_math/utils.html | 4 ++-- ja/api/mp_math/vector.html | 4 ++-- ja/api/particle/index.html | 4 ++-- ja/api/presets/index.html | 4 ++-- ja/api/presets/model/index.html | 4 ++-- ja/guide/index.html | 4 ++-- ja/index.html | 2 +- sitemap.xml | 1 + zht/api/index.html | 4 ++-- zht/api/mp_math/angle.html | 4 ++-- zht/api/mp_math/const.html | 4 ++-- zht/api/mp_math/equation.html | 4 ++-- zht/api/mp_math/function.html | 4 ++-- zht/api/mp_math/index.html | 4 ++-- zht/api/mp_math/line.html | 4 ++-- zht/api/mp_math/mp_math_typing.html | 4 ++-- zht/api/mp_math/plane.html | 4 ++-- zht/api/mp_math/point.html | 4 ++-- zht/api/mp_math/segment.html | 4 ++-- zht/api/mp_math/utils.html | 4 ++-- zht/api/mp_math/vector.html | 4 ++-- zht/api/particle/index.html | 4 ++-- zht/api/presets/index.html | 4 ++-- zht/api/presets/model/index.html | 4 ++-- zht/guide/index.html | 4 ++-- zht/index.html | 2 +- 299 files changed, 342 insertions(+), 341 deletions(-) delete mode 100644 assets/api_index.md.CBQkxs7b.js delete mode 100644 assets/api_index.md.CBQkxs7b.lean.js create mode 100644 assets/api_index.md.C_wESrrY.js create mode 100644 assets/api_index.md.C_wESrrY.lean.js delete mode 100644 assets/api_mp_math_angle.md.gd7UQvyy.lean.js rename assets/{api_mp_math_angle.md.gd7UQvyy.js => api_mp_math_angle.md.iDErkOWa.js} (94%) create mode 100644 assets/api_mp_math_angle.md.iDErkOWa.lean.js delete mode 100644 assets/api_mp_math_const.md.3scs0T6A.js delete mode 100644 assets/api_mp_math_const.md.3scs0T6A.lean.js create mode 100644 assets/api_mp_math_const.md.BAf8mK4W.js create mode 100644 assets/api_mp_math_const.md.BAf8mK4W.lean.js rename assets/{api_mp_math_equation.md.DuZ1hN4l.js => api_mp_math_equation.md.Di7kIkyq.js} (91%) create mode 100644 assets/api_mp_math_equation.md.Di7kIkyq.lean.js delete mode 100644 assets/api_mp_math_equation.md.DuZ1hN4l.lean.js delete mode 100644 assets/api_mp_math_function.md.U6hGSIm3.js delete mode 100644 assets/api_mp_math_function.md.U6hGSIm3.lean.js create mode 100644 assets/api_mp_math_function.md.roDde0nH.js create mode 100644 assets/api_mp_math_function.md.roDde0nH.lean.js delete mode 100644 assets/api_mp_math_index.md.1HMGGW3A.js delete mode 100644 assets/api_mp_math_index.md.1HMGGW3A.lean.js create mode 100644 assets/api_mp_math_index.md.BNf7bQqL.js create mode 100644 assets/api_mp_math_index.md.BNf7bQqL.lean.js delete mode 100644 assets/api_mp_math_line.md.B-ShajAF.lean.js rename assets/{api_mp_math_line.md.B-ShajAF.js => api_mp_math_line.md.DbfheWE4.js} (96%) create mode 100644 assets/api_mp_math_line.md.DbfheWE4.lean.js delete mode 100644 assets/api_mp_math_mp_math_typing.md.BtAkBFH3.js delete mode 100644 assets/api_mp_math_mp_math_typing.md.BtAkBFH3.lean.js create mode 100644 assets/api_mp_math_mp_math_typing.md.DlnJmkos.js create mode 100644 assets/api_mp_math_mp_math_typing.md.DlnJmkos.lean.js rename assets/{api_mp_math_plane.md.DnJHiXsz.js => api_mp_math_plane.md.DLuC3Mxh.js} (97%) create mode 100644 assets/api_mp_math_plane.md.DLuC3Mxh.lean.js delete mode 100644 assets/api_mp_math_plane.md.DnJHiXsz.lean.js delete mode 100644 assets/api_mp_math_point.md.9ZJsp3fx.lean.js rename assets/{api_mp_math_point.md.9ZJsp3fx.js => api_mp_math_point.md.DAQFtNol.js} (89%) create mode 100644 assets/api_mp_math_point.md.DAQFtNol.lean.js delete mode 100644 assets/api_mp_math_segment.md.BLQ-UFFk.lean.js rename assets/{ja_api_mp_math_segment.md.DbTMeZAn.js => api_mp_math_segment.md.CQz_FDoI.js} (71%) create mode 100644 assets/api_mp_math_segment.md.CQz_FDoI.lean.js rename assets/{api_mp_math_utils.md.yzrnwrbP.js => api_mp_math_utils.md.C2moaW8N.js} (92%) create mode 100644 assets/api_mp_math_utils.md.C2moaW8N.lean.js delete mode 100644 assets/api_mp_math_utils.md.yzrnwrbP.lean.js delete mode 100644 assets/api_mp_math_vector.md.BSPllWFK.lean.js rename assets/{api_mp_math_vector.md.BSPllWFK.js => api_mp_math_vector.md.BiNus8y5.js} (97%) create mode 100644 assets/api_mp_math_vector.md.BiNus8y5.lean.js delete mode 100644 assets/api_particle_index.md.Cgiljhcz.js delete mode 100644 assets/api_particle_index.md.Cgiljhcz.lean.js create mode 100644 assets/api_particle_index.md.Cm3Vk-es.js create mode 100644 assets/api_particle_index.md.Cm3Vk-es.lean.js create mode 100644 assets/api_presets_index.md.CD62I2gv.js create mode 100644 assets/api_presets_index.md.CD62I2gv.lean.js delete mode 100644 assets/api_presets_index.md.RZipvyLz.js delete mode 100644 assets/api_presets_index.md.RZipvyLz.lean.js delete mode 100644 assets/api_presets_model_index.md.4RPSG4yh.lean.js rename assets/{api_presets_model_index.md.4RPSG4yh.js => api_presets_model_index.md.CJMO-ffZ.js} (79%) create mode 100644 assets/api_presets_model_index.md.CJMO-ffZ.lean.js delete mode 100644 assets/en_api_index.md.BaqBYqY8.js delete mode 100644 assets/en_api_index.md.BaqBYqY8.lean.js create mode 100644 assets/en_api_index.md.Dj_5nFTt.js create mode 100644 assets/en_api_index.md.Dj_5nFTt.lean.js rename assets/{en_api_mp_math_angle.md.z39I-qRz.js => en_api_mp_math_angle.md.DI0aMl64.js} (94%) create mode 100644 assets/en_api_mp_math_angle.md.DI0aMl64.lean.js delete mode 100644 assets/en_api_mp_math_angle.md.z39I-qRz.lean.js delete mode 100644 assets/en_api_mp_math_const.md.CSc4Ut1v.js delete mode 100644 assets/en_api_mp_math_const.md.CSc4Ut1v.lean.js create mode 100644 assets/en_api_mp_math_const.md.gGpXUShq.js create mode 100644 assets/en_api_mp_math_const.md.gGpXUShq.lean.js delete mode 100644 assets/en_api_mp_math_equation.md.0VnHCQQ4.lean.js rename assets/{en_api_mp_math_equation.md.0VnHCQQ4.js => en_api_mp_math_equation.md.CFa2gNNX.js} (91%) create mode 100644 assets/en_api_mp_math_equation.md.CFa2gNNX.lean.js delete mode 100644 assets/en_api_mp_math_function.md.BzQ8FTPC.js delete mode 100644 assets/en_api_mp_math_function.md.BzQ8FTPC.lean.js create mode 100644 assets/en_api_mp_math_function.md.D5HNykIX.js create mode 100644 assets/en_api_mp_math_function.md.D5HNykIX.lean.js create mode 100644 assets/en_api_mp_math_index.md.BEjLBMpH.js create mode 100644 assets/en_api_mp_math_index.md.BEjLBMpH.lean.js delete mode 100644 assets/en_api_mp_math_index.md.Gx9tQ_Za.js delete mode 100644 assets/en_api_mp_math_index.md.Gx9tQ_Za.lean.js rename assets/{en_api_mp_math_line.md.e8dK90h_.js => en_api_mp_math_line.md.BI7jrk5A.js} (96%) create mode 100644 assets/en_api_mp_math_line.md.BI7jrk5A.lean.js delete mode 100644 assets/en_api_mp_math_line.md.e8dK90h_.lean.js delete mode 100644 assets/en_api_mp_math_mp_math_typing.md.DByFpCMm.js delete mode 100644 assets/en_api_mp_math_mp_math_typing.md.DByFpCMm.lean.js create mode 100644 assets/en_api_mp_math_mp_math_typing.md.Dnl2aJQ4.js create mode 100644 assets/en_api_mp_math_mp_math_typing.md.Dnl2aJQ4.lean.js rename assets/{en_api_mp_math_plane.md.DYLAU1Re.js => en_api_mp_math_plane.md.C6JEigTz.js} (97%) create mode 100644 assets/en_api_mp_math_plane.md.C6JEigTz.lean.js delete mode 100644 assets/en_api_mp_math_plane.md.DYLAU1Re.lean.js delete mode 100644 assets/en_api_mp_math_point.md.DYCVxK7m.lean.js rename assets/{en_api_mp_math_point.md.DYCVxK7m.js => en_api_mp_math_point.md.DgKVopYL.js} (88%) create mode 100644 assets/en_api_mp_math_point.md.DgKVopYL.lean.js delete mode 100644 assets/en_api_mp_math_segment.md.CUQLS_qv.lean.js rename assets/{en_api_mp_math_segment.md.CUQLS_qv.js => en_api_mp_math_segment.md.GweOoNT9.js} (71%) create mode 100644 assets/en_api_mp_math_segment.md.GweOoNT9.lean.js delete mode 100644 assets/en_api_mp_math_utils.md.B4NFHkPz.lean.js rename assets/{en_api_mp_math_utils.md.B4NFHkPz.js => en_api_mp_math_utils.md.VHDSe3i2.js} (92%) create mode 100644 assets/en_api_mp_math_utils.md.VHDSe3i2.lean.js delete mode 100644 assets/en_api_mp_math_vector.md.BJF5J3QY.lean.js rename assets/{en_api_mp_math_vector.md.BJF5J3QY.js => en_api_mp_math_vector.md.BlzUS0V3.js} (97%) create mode 100644 assets/en_api_mp_math_vector.md.BlzUS0V3.lean.js create mode 100644 assets/en_api_particle_index.md.BfyNQiRg.js create mode 100644 assets/en_api_particle_index.md.BfyNQiRg.lean.js delete mode 100644 assets/en_api_particle_index.md.f-q0HsfK.js delete mode 100644 assets/en_api_particle_index.md.f-q0HsfK.lean.js create mode 100644 assets/en_api_presets_index.md.BWb2fpTg.js create mode 100644 assets/en_api_presets_index.md.BWb2fpTg.lean.js delete mode 100644 assets/en_api_presets_index.md.CAyxYhKI.js delete mode 100644 assets/en_api_presets_index.md.CAyxYhKI.lean.js rename assets/{en_api_presets_model_index.md.DypEdCdE.js => en_api_presets_model_index.md.BOZde1R5.js} (79%) create mode 100644 assets/en_api_presets_model_index.md.BOZde1R5.lean.js delete mode 100644 assets/en_api_presets_model_index.md.DypEdCdE.lean.js rename assets/{guide_index.md.NVx3l2Cr.js => guide_index.md.Cfmzk2IH.js} (74%) create mode 100644 assets/guide_index.md.Cfmzk2IH.lean.js delete mode 100644 assets/guide_index.md.NVx3l2Cr.lean.js create mode 100644 assets/ja_api_index.md.CnUeuifx.js create mode 100644 assets/ja_api_index.md.CnUeuifx.lean.js delete mode 100644 assets/ja_api_index.md.DW7hb-YH.js delete mode 100644 assets/ja_api_index.md.DW7hb-YH.lean.js delete mode 100644 assets/ja_api_mp_math_angle.md.Cac0Crec.lean.js rename assets/{ja_api_mp_math_angle.md.Cac0Crec.js => ja_api_mp_math_angle.md.mNl1_TuR.js} (94%) create mode 100644 assets/ja_api_mp_math_angle.md.mNl1_TuR.lean.js delete mode 100644 assets/ja_api_mp_math_const.md.ClLsNkM_.js delete mode 100644 assets/ja_api_mp_math_const.md.ClLsNkM_.lean.js create mode 100644 assets/ja_api_mp_math_const.md.DGXAgDfn.js create mode 100644 assets/ja_api_mp_math_const.md.DGXAgDfn.lean.js delete mode 100644 assets/ja_api_mp_math_equation.md.8i-WXc7A.lean.js rename assets/{ja_api_mp_math_equation.md.8i-WXc7A.js => ja_api_mp_math_equation.md.Bx4R1cWT.js} (91%) create mode 100644 assets/ja_api_mp_math_equation.md.Bx4R1cWT.lean.js create mode 100644 assets/ja_api_mp_math_function.md.D1A2lXjy.js create mode 100644 assets/ja_api_mp_math_function.md.D1A2lXjy.lean.js delete mode 100644 assets/ja_api_mp_math_function.md.GLsPZWha.js delete mode 100644 assets/ja_api_mp_math_function.md.GLsPZWha.lean.js delete mode 100644 assets/ja_api_mp_math_index.md.BBAQ-AOT.js delete mode 100644 assets/ja_api_mp_math_index.md.BBAQ-AOT.lean.js create mode 100644 assets/ja_api_mp_math_index.md.CTZZ-p9Z.js create mode 100644 assets/ja_api_mp_math_index.md.CTZZ-p9Z.lean.js delete mode 100644 assets/ja_api_mp_math_line.md.BwZJXqnL.lean.js rename assets/{ja_api_mp_math_line.md.BwZJXqnL.js => ja_api_mp_math_line.md.CUb8HcBw.js} (96%) create mode 100644 assets/ja_api_mp_math_line.md.CUb8HcBw.lean.js create mode 100644 assets/ja_api_mp_math_mp_math_typing.md.BNymgrCT.js create mode 100644 assets/ja_api_mp_math_mp_math_typing.md.BNymgrCT.lean.js delete mode 100644 assets/ja_api_mp_math_mp_math_typing.md.DHbmIzMT.js delete mode 100644 assets/ja_api_mp_math_mp_math_typing.md.DHbmIzMT.lean.js delete mode 100644 assets/ja_api_mp_math_plane.md.Ck5Q7igW.lean.js rename assets/{ja_api_mp_math_plane.md.Ck5Q7igW.js => ja_api_mp_math_plane.md.CzPHp-i-.js} (97%) create mode 100644 assets/ja_api_mp_math_plane.md.CzPHp-i-.lean.js rename assets/{ja_api_mp_math_point.md.CbFZXfAJ.js => ja_api_mp_math_point.md.1OBHSorb.js} (88%) create mode 100644 assets/ja_api_mp_math_point.md.1OBHSorb.lean.js delete mode 100644 assets/ja_api_mp_math_point.md.CbFZXfAJ.lean.js delete mode 100644 assets/ja_api_mp_math_segment.md.DbTMeZAn.lean.js rename assets/{zht_api_mp_math_segment.md.BK0QQket.js => ja_api_mp_math_segment.md.Elu4YWS-.js} (71%) create mode 100644 assets/ja_api_mp_math_segment.md.Elu4YWS-.lean.js delete mode 100644 assets/ja_api_mp_math_utils.md.D2dcQ_ET.lean.js rename assets/{ja_api_mp_math_utils.md.D2dcQ_ET.js => ja_api_mp_math_utils.md.DdUJsEiD.js} (92%) create mode 100644 assets/ja_api_mp_math_utils.md.DdUJsEiD.lean.js rename assets/{ja_api_mp_math_vector.md.DBPPUIlc.js => ja_api_mp_math_vector.md.BIkkuu3D.js} (97%) create mode 100644 assets/ja_api_mp_math_vector.md.BIkkuu3D.lean.js delete mode 100644 assets/ja_api_mp_math_vector.md.DBPPUIlc.lean.js delete mode 100644 assets/ja_api_particle_index.md.C9QFJ8EN.js delete mode 100644 assets/ja_api_particle_index.md.C9QFJ8EN.lean.js create mode 100644 assets/ja_api_particle_index.md.Jr41Y3TS.js create mode 100644 assets/ja_api_particle_index.md.Jr41Y3TS.lean.js delete mode 100644 assets/ja_api_presets_index.md.BZKh7pEG.js delete mode 100644 assets/ja_api_presets_index.md.BZKh7pEG.lean.js create mode 100644 assets/ja_api_presets_index.md.CQqdQbIZ.js create mode 100644 assets/ja_api_presets_index.md.CQqdQbIZ.lean.js rename assets/{ja_api_presets_model_index.md.DzI-SA0H.js => ja_api_presets_model_index.md.DGIEt4ke.js} (79%) create mode 100644 assets/ja_api_presets_model_index.md.DGIEt4ke.lean.js delete mode 100644 assets/ja_api_presets_model_index.md.DzI-SA0H.lean.js delete mode 100644 assets/zht_api_index.md.BoNToa7V.js delete mode 100644 assets/zht_api_index.md.BoNToa7V.lean.js create mode 100644 assets/zht_api_index.md.CgZH6aHQ.js create mode 100644 assets/zht_api_index.md.CgZH6aHQ.lean.js delete mode 100644 assets/zht_api_mp_math_angle.md.B7iqArJr.lean.js rename assets/{zht_api_mp_math_angle.md.B7iqArJr.js => zht_api_mp_math_angle.md.BHWp5-Wz.js} (94%) create mode 100644 assets/zht_api_mp_math_angle.md.BHWp5-Wz.lean.js delete mode 100644 assets/zht_api_mp_math_const.md.3LY5TQ7t.js delete mode 100644 assets/zht_api_mp_math_const.md.3LY5TQ7t.lean.js create mode 100644 assets/zht_api_mp_math_const.md.xwQvuYck.js create mode 100644 assets/zht_api_mp_math_const.md.xwQvuYck.lean.js delete mode 100644 assets/zht_api_mp_math_equation.md.DMSjWdou.lean.js rename assets/{zht_api_mp_math_equation.md.DMSjWdou.js => zht_api_mp_math_equation.md.Da-XfzS0.js} (91%) create mode 100644 assets/zht_api_mp_math_equation.md.Da-XfzS0.lean.js create mode 100644 assets/zht_api_mp_math_function.md.CFVTTeOW.js create mode 100644 assets/zht_api_mp_math_function.md.CFVTTeOW.lean.js delete mode 100644 assets/zht_api_mp_math_function.md.DOX7pGXC.js delete mode 100644 assets/zht_api_mp_math_function.md.DOX7pGXC.lean.js delete mode 100644 assets/zht_api_mp_math_index.md.Cp3ggfPO.js delete mode 100644 assets/zht_api_mp_math_index.md.Cp3ggfPO.lean.js create mode 100644 assets/zht_api_mp_math_index.md.mmeMMriu.js create mode 100644 assets/zht_api_mp_math_index.md.mmeMMriu.lean.js rename assets/{zht_api_mp_math_line.md.D3xPFA2p.js => zht_api_mp_math_line.md.CERQpbvD.js} (96%) create mode 100644 assets/zht_api_mp_math_line.md.CERQpbvD.lean.js delete mode 100644 assets/zht_api_mp_math_line.md.D3xPFA2p.lean.js create mode 100644 assets/zht_api_mp_math_mp_math_typing.md.CNiSnuMw.js create mode 100644 assets/zht_api_mp_math_mp_math_typing.md.CNiSnuMw.lean.js delete mode 100644 assets/zht_api_mp_math_mp_math_typing.md.DTY2F-6g.js delete mode 100644 assets/zht_api_mp_math_mp_math_typing.md.DTY2F-6g.lean.js rename assets/{zht_api_mp_math_plane.md.DAAO1c38.js => zht_api_mp_math_plane.md.8lFm9uJ1.js} (97%) create mode 100644 assets/zht_api_mp_math_plane.md.8lFm9uJ1.lean.js delete mode 100644 assets/zht_api_mp_math_plane.md.DAAO1c38.lean.js rename assets/{zht_api_mp_math_point.md.CK50W0JG.js => zht_api_mp_math_point.md.CH6HpvMW.js} (89%) create mode 100644 assets/zht_api_mp_math_point.md.CH6HpvMW.lean.js delete mode 100644 assets/zht_api_mp_math_point.md.CK50W0JG.lean.js delete mode 100644 assets/zht_api_mp_math_segment.md.BK0QQket.lean.js rename assets/{api_mp_math_segment.md.BLQ-UFFk.js => zht_api_mp_math_segment.md.BZQVMFnu.js} (71%) create mode 100644 assets/zht_api_mp_math_segment.md.BZQVMFnu.lean.js delete mode 100644 assets/zht_api_mp_math_utils.md.BQrrPf8T.lean.js rename assets/{zht_api_mp_math_utils.md.BQrrPf8T.js => zht_api_mp_math_utils.md.CAphuB0R.js} (92%) create mode 100644 assets/zht_api_mp_math_utils.md.CAphuB0R.lean.js rename assets/{zht_api_mp_math_vector.md.CtYckwOL.js => zht_api_mp_math_vector.md.B57rC4-I.js} (97%) create mode 100644 assets/zht_api_mp_math_vector.md.B57rC4-I.lean.js delete mode 100644 assets/zht_api_mp_math_vector.md.CtYckwOL.lean.js create mode 100644 assets/zht_api_particle_index.md.8GaGB1ul.js create mode 100644 assets/zht_api_particle_index.md.8GaGB1ul.lean.js delete mode 100644 assets/zht_api_particle_index.md.CljeoVXn.js delete mode 100644 assets/zht_api_particle_index.md.CljeoVXn.lean.js delete mode 100644 assets/zht_api_presets_index.md.DEbOKiST.js delete mode 100644 assets/zht_api_presets_index.md.DEbOKiST.lean.js create mode 100644 assets/zht_api_presets_index.md.DvOViSox.js create mode 100644 assets/zht_api_presets_index.md.DvOViSox.lean.js delete mode 100644 assets/zht_api_presets_model_index.md.3pGdZAT9.lean.js rename assets/{zht_api_presets_model_index.md.3pGdZAT9.js => zht_api_presets_model_index.md.D2Dc7np7.js} (79%) create mode 100644 assets/zht_api_presets_model_index.md.D2Dc7np7.lean.js create mode 100644 sitemap.xml diff --git a/404.html b/404.html index 7aad817..13d4be0 100644 --- a/404.html +++ b/404.html @@ -15,7 +15,7 @@
- + \ No newline at end of file diff --git a/api/index.html b/api/index.html index d49fdd0..cffb79b 100644 --- a/api/index.html +++ b/api/index.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp

说明: 本模块塞了一些预设的粒子生成器

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/api/mp_math/angle.html b/api/mp_math/angle.html index 4417bde..8231900 100644 --- a/api/mp_math/angle.html +++ b/api/mp_math/angle.html @@ -12,7 +12,7 @@ - + @@ -116,7 +116,7 @@ if isinstance(other, AnyAngle): return self.radian / other.radian return AnyAngle(self.radian / other, is_radian=True) - + \ No newline at end of file diff --git a/api/mp_math/const.html b/api/mp_math/const.html index d19f0f9..1d59785 100644 --- a/api/mp_math/const.html +++ b/api/mp_math/const.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.mp_math.const

说明: 本模块定义了一些常用的常量

var PI = math.pi

  • 说明: 常量 π

var E = math.e

  • 说明: 自然对数的底 exp(1)

var GOLDEN_RATIO = (1 + math.sqrt(5)) / 2

  • 说明: 黄金分割比

var GAMMA = 0.5772156649015329

  • 说明: 欧拉常数

var EPSILON = 0.0001

  • 说明: 精度误差

var APPROX = 0.001

  • 说明: 约等于判定误差

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/api/mp_math/equation.html b/api/mp_math/equation.html index 785068e..522b9bb 100644 --- a/api/mp_math/equation.html +++ b/api/mp_math/equation.html @@ -12,7 +12,7 @@ - + @@ -97,7 +97,7 @@ """@litedoc-hide""" return func(*args, *args2) return curried_func - + \ No newline at end of file diff --git a/api/mp_math/function.html b/api/mp_math/function.html index 6cd66ac..428cce7 100644 --- a/api/mp_math/function.html +++ b/api/mp_math/function.html @@ -12,7 +12,7 @@ - + @@ -34,7 +34,7 @@ dy = (func(p.x, p.y + epsilon, p.z) - func(p.x, p.y - epsilon, p.z)) / (2 * epsilon) dz = (func(p.x, p.y, p.z + epsilon) - func(p.x, p.y, p.z - epsilon)) / (2 * epsilon) return Vector3(dx, dy, dz) - + \ No newline at end of file diff --git a/api/mp_math/index.html b/api/mp_math/index.html index e06fd89..37d6d9b 100644 --- a/api/mp_math/index.html +++ b/api/mp_math/index.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.mp_math

说明: 本包定义了一些常用的导入,可直接从mbcp.mp_math导入使用 导入的类有:

  • AnyAngle:任意角
  • CurveEquation:曲线方程
  • Line3:三维直线
  • Plane3:三维平面
  • Point3:三维点
  • Segment3:三维线段
  • Vector3:三维向量

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/api/mp_math/line.html b/api/mp_math/line.html index 9f5a716..8599ff3 100644 --- a/api/mp_math/line.html +++ b/api/mp_math/line.html @@ -12,7 +12,7 @@ - + @@ -195,7 +195,7 @@ """ return self.direction.is_parallel(other.direction) and (self.point - other.point).is_parallel(self.direction) - + \ No newline at end of file diff --git a/api/mp_math/mp_math_typing.html b/api/mp_math/mp_math_typing.html index 8eb8358..55660ca 100644 --- a/api/mp_math/mp_math_typing.html +++ b/api/mp_math/mp_math_typing.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.mp_math.mp_math_typing

说明: 本模块用于内部类型提示

var RealNumber = int | float

  • 类型: TypeAlias

  • 说明: 实数

var Number = RealNumber | complex

  • 类型: TypeAlias

  • 说明: 数

var SingleVar = TypeVar('SingleVar', bound=Number)

  • 说明: 单变量

var ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])

  • 说明: 数组变量

var Var = SingleVar | ArrayVar

  • 类型: TypeAlias

  • 说明: 变量

var OneSingleVarFunc = Callable[[SingleVar], SingleVar]

  • 类型: TypeAlias

  • 说明: 一元单变量函数

var OneArrayFunc = Callable[[ArrayVar], ArrayVar]

  • 类型: TypeAlias

  • 说明: 一元数组函数

var OneVarFunc = OneSingleVarFunc | OneArrayFunc

  • 类型: TypeAlias

  • 说明: 一元函数

var TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]

  • 类型: TypeAlias

  • 说明: 二元单变量函数

var TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]

  • 类型: TypeAlias

  • 说明: 二元数组函数

var TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc

  • 类型: TypeAlias

  • 说明: 二元函数

var ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]

  • 类型: TypeAlias

  • 说明: 三元单变量函数

var ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]

  • 类型: TypeAlias

  • 说明: 三元数组函数

var ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc

  • 类型: TypeAlias

  • 说明: 三元函数

var MultiSingleVarsFunc = Callable[..., SingleVar]

  • 类型: TypeAlias

  • 说明: 多元单变量函数

var MultiArraysFunc = Callable[..., ArrayVar]

  • 类型: TypeAlias

  • 说明: 多元数组函数

var MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc

  • 类型: TypeAlias

  • 说明: 多元函数

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/api/mp_math/plane.html b/api/mp_math/plane.html index 7a0218a..9b51a98 100644 --- a/api/mp_math/plane.html +++ b/api/mp_math/plane.html @@ -12,7 +12,7 @@ - + @@ -213,7 +213,7 @@ raise TypeError(f"unsupported operand type(s) for &: 'Plane3' and '{type(other)}'")

method __eq__(self, other) -> bool

源代码
python
def __eq__(self, other) -> bool:
     return self.approx(other)

method __rand__(self, other: Line3) -> Point3

源代码
python
def __rand__(self, other: 'Line3') -> 'Point3':
     return self.cal_intersection_point3(other)
- + \ No newline at end of file diff --git a/api/mp_math/point.html b/api/mp_math/point.html index d7a1f44..bc74f54 100644 --- a/api/mp_math/point.html +++ b/api/mp_math/point.html @@ -12,7 +12,7 @@ - + @@ -68,7 +68,7 @@ """ from .vector import Vector3 return Vector3(self.x - other.x, self.y - other.y, self.z - other.z) - + \ No newline at end of file diff --git a/api/mp_math/segment.html b/api/mp_math/segment.html index ab68a0d..4ccd97f 100644 --- a/api/mp_math/segment.html +++ b/api/mp_math/segment.html @@ -12,7 +12,7 @@ - + @@ -31,7 +31,7 @@ self.length = self.direction.length '中心点' self.midpoint = Point3((self.p1.x + self.p2.x) / 2, (self.p1.y + self.p2.y) / 2, (self.p1.z + self.p2.z) / 2) - + \ No newline at end of file diff --git a/api/mp_math/utils.html b/api/mp_math/utils.html index b5c4546..a698fa7 100644 --- a/api/mp_math/utils.html +++ b/api/mp_math/utils.html @@ -12,7 +12,7 @@ - + @@ -81,7 +81,7 @@ return f'-{abs(x)}' else: return '' - + \ No newline at end of file diff --git a/api/mp_math/vector.html b/api/mp_math/vector.html index 0425d94..42fc7fb 100644 --- a/api/mp_math/vector.html +++ b/api/mp_math/vector.html @@ -12,7 +12,7 @@ - + @@ -204,7 +204,7 @@ return self.x * other.x + self.y * other.y + self.z * other.z

method self / other: RealNumber => Vector3

源代码
python
def __truediv__(self, other: RealNumber) -> 'Vector3':
     return Vector3(self.x / other, self.y / other, self.z / other)

method - self

源代码
python
def __neg__(self):
     return Vector3(-self.x, -self.y, -self.z)

var zero_vector3 = Vector3(0, 0, 0)

var x_axis = Vector3(1, 0, 0)

var y_axis = Vector3(0, 1, 0)

var z_axis = Vector3(0, 0, 1)

- + \ No newline at end of file diff --git a/api/particle/index.html b/api/particle/index.html index d358644..2478857 100644 --- a/api/particle/index.html +++ b/api/particle/index.html @@ -12,13 +12,13 @@ - +
- + \ No newline at end of file diff --git a/api/presets/index.html b/api/presets/index.html index 88e1785..acc2501 100644 --- a/api/presets/index.html +++ b/api/presets/index.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.presets

说明: Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : init.py @Software: PyCharm

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/api/presets/model/index.html b/api/presets/model/index.html index 6d09c17..f2e63e5 100644 --- a/api/presets/model/index.html +++ b/api/presets/model/index.html @@ -12,7 +12,7 @@ - + @@ -35,7 +35,7 @@ y_array = radius * np.sin(phi_list) * np.sin(theta_list) z_array = radius * np.cos(phi_list) return [Point3(x_array[i], y_array[i], z_array[i]) for i in range(num)] - + \ No newline at end of file diff --git a/assets/api_index.md.CBQkxs7b.js b/assets/api_index.md.CBQkxs7b.js deleted file mode 100644 index cd33b4d..0000000 --- a/assets/api_index.md.CBQkxs7b.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,c,o as n,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","collapsed":true},"headers":[],"relativePath":"api/index.md","filePath":"zh/api/index.md"}'),o={name:"api/index.md"},s=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),r=e("p",null,[e("strong",null,"说明"),t(": 本模块塞了一些预设的粒子生成器")],-1),i=[s,r];function d(p,l,_,m,h,f){return n(),c("div",null,i)}const u=a(o,[["render",d]]);export{b as __pageData,u as default}; diff --git a/assets/api_index.md.CBQkxs7b.lean.js b/assets/api_index.md.CBQkxs7b.lean.js deleted file mode 100644 index cd33b4d..0000000 --- a/assets/api_index.md.CBQkxs7b.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,c,o as n,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","collapsed":true},"headers":[],"relativePath":"api/index.md","filePath":"zh/api/index.md"}'),o={name:"api/index.md"},s=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),r=e("p",null,[e("strong",null,"说明"),t(": 本模块塞了一些预设的粒子生成器")],-1),i=[s,r];function d(p,l,_,m,h,f){return n(),c("div",null,i)}const u=a(o,[["render",d]]);export{b as __pageData,u as default}; diff --git a/assets/api_index.md.C_wESrrY.js b/assets/api_index.md.C_wESrrY.js new file mode 100644 index 0000000..b76bab2 --- /dev/null +++ b/assets/api_index.md.C_wESrrY.js @@ -0,0 +1 @@ +import{_ as a,c as n,o as s,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","editLink":false,"collapsed":true},"headers":[],"relativePath":"api/index.md","filePath":"zh/api/index.md"}'),c={name:"api/index.md"},o=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),i=e("p",null,[e("strong",null,"说明"),t(": 本模块塞了一些预设的粒子生成器")],-1),r=[o,i];function d(p,l,_,m,h,f){return s(),n("div",null,r)}const u=a(c,[["render",d]]);export{b as __pageData,u as default}; diff --git a/assets/api_index.md.C_wESrrY.lean.js b/assets/api_index.md.C_wESrrY.lean.js new file mode 100644 index 0000000..b76bab2 --- /dev/null +++ b/assets/api_index.md.C_wESrrY.lean.js @@ -0,0 +1 @@ +import{_ as a,c as n,o as s,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","editLink":false,"collapsed":true},"headers":[],"relativePath":"api/index.md","filePath":"zh/api/index.md"}'),c={name:"api/index.md"},o=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),i=e("p",null,[e("strong",null,"说明"),t(": 本模块塞了一些预设的粒子生成器")],-1),r=[o,i];function d(p,l,_,m,h,f){return s(),n("div",null,r)}const u=a(c,[["render",d]]);export{b as __pageData,u as default}; diff --git a/assets/api_mp_math_angle.md.gd7UQvyy.lean.js b/assets/api_mp_math_angle.md.gd7UQvyy.lean.js deleted file mode 100644 index afce494..0000000 --- a/assets/api_mp_math_angle.md.gd7UQvyy.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle"},"headers":[],"relativePath":"api/mp_math/angle.md","filePath":"zh/api/mp_math/angle.md"}'),t={name:"api/mp_math/angle.md"},e=n("",80),l=[e];function h(p,k,r,d,o,g){return a(),i("div",null,l)}const c=s(t,[["render",h]]);export{F as __pageData,c as default}; diff --git a/assets/api_mp_math_angle.md.gd7UQvyy.js b/assets/api_mp_math_angle.md.iDErkOWa.js similarity index 94% rename from assets/api_mp_math_angle.md.gd7UQvyy.js rename to assets/api_mp_math_angle.md.iDErkOWa.js index e9e9278..51df1f0 100644 --- a/assets/api_mp_math_angle.md.gd7UQvyy.js +++ b/assets/api_mp_math_angle.md.iDErkOWa.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle"},"headers":[],"relativePath":"api/mp_math/angle.md","filePath":"zh/api/mp_math/angle.md"}'),t={name:"api/mp_math/angle.md"},e=n(`

mbcp.mp_math.angle

说明: 本模块定义了角度相关的类

class Angle

class AnyAngle(Angle)

method __init__(self, value: float, is_radian: bool = False)

说明: 任意角度。

参数:

源代码
python
def __init__(self, value: float, is_radian: bool=False):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle","editLink":false},"headers":[],"relativePath":"api/mp_math/angle.md","filePath":"zh/api/mp_math/angle.md"}'),t={name:"api/mp_math/angle.md"},e=n(`

mbcp.mp_math.angle

说明: 本模块定义了角度相关的类

class Angle

class AnyAngle(Angle)

method __init__(self, value: float, is_radian: bool = False)

说明: 任意角度。

参数:

  • value: 角度或弧度值
  • is_radian: 是否为弧度,默认为否
源代码
python
def __init__(self, value: float, is_radian: bool=False):
     """
         任意角度。
         Args:
diff --git a/assets/api_mp_math_angle.md.iDErkOWa.lean.js b/assets/api_mp_math_angle.md.iDErkOWa.lean.js
new file mode 100644
index 0000000..d242364
--- /dev/null
+++ b/assets/api_mp_math_angle.md.iDErkOWa.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle","editLink":false},"headers":[],"relativePath":"api/mp_math/angle.md","filePath":"zh/api/mp_math/angle.md"}'),t={name:"api/mp_math/angle.md"},e=n("",80),l=[e];function h(p,k,r,d,o,g){return a(),i("div",null,l)}const c=s(t,[["render",h]]);export{F as __pageData,c as default};
diff --git a/assets/api_mp_math_const.md.3scs0T6A.js b/assets/api_mp_math_const.md.3scs0T6A.js
deleted file mode 100644
index 120ef87..0000000
--- a/assets/api_mp_math_const.md.3scs0T6A.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const"},"headers":[],"relativePath":"api/mp_math/const.md","filePath":"zh/api/mp_math/const.md"}'),r={name:"api/mp_math/const.md"},c=o('

mbcp.mp_math.const

说明: 本模块定义了一些常用的常量

var PI = math.pi

  • 说明: 常量 π

var E = math.e

  • 说明: 自然对数的底 exp(1)

var GOLDEN_RATIO = (1 + math.sqrt(5)) / 2

  • 说明: 黄金分割比

var GAMMA = 0.5772156649015329

  • 说明: 欧拉常数

var EPSILON = 0.0001

  • 说明: 精度误差

var APPROX = 0.001

  • 说明: 约等于判定误差
',14),i=[c];function n(l,s,h,d,m,p){return e(),t("div",null,i)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/api_mp_math_const.md.3scs0T6A.lean.js b/assets/api_mp_math_const.md.3scs0T6A.lean.js deleted file mode 100644 index ca8aca1..0000000 --- a/assets/api_mp_math_const.md.3scs0T6A.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const"},"headers":[],"relativePath":"api/mp_math/const.md","filePath":"zh/api/mp_math/const.md"}'),r={name:"api/mp_math/const.md"},c=o("",14),i=[c];function n(l,s,h,d,m,p){return e(),t("div",null,i)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/api_mp_math_const.md.BAf8mK4W.js b/assets/api_mp_math_const.md.BAf8mK4W.js new file mode 100644 index 0000000..d0d0b18 --- /dev/null +++ b/assets/api_mp_math_const.md.BAf8mK4W.js @@ -0,0 +1 @@ +import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const","editLink":false},"headers":[],"relativePath":"api/mp_math/const.md","filePath":"zh/api/mp_math/const.md"}'),r={name:"api/mp_math/const.md"},c=o('

mbcp.mp_math.const

说明: 本模块定义了一些常用的常量

var PI = math.pi

  • 说明: 常量 π

var E = math.e

  • 说明: 自然对数的底 exp(1)

var GOLDEN_RATIO = (1 + math.sqrt(5)) / 2

  • 说明: 黄金分割比

var GAMMA = 0.5772156649015329

  • 说明: 欧拉常数

var EPSILON = 0.0001

  • 说明: 精度误差

var APPROX = 0.001

  • 说明: 约等于判定误差
',14),i=[c];function n(l,s,h,d,m,p){return e(),t("div",null,i)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/api_mp_math_const.md.BAf8mK4W.lean.js b/assets/api_mp_math_const.md.BAf8mK4W.lean.js new file mode 100644 index 0000000..aae741f --- /dev/null +++ b/assets/api_mp_math_const.md.BAf8mK4W.lean.js @@ -0,0 +1 @@ +import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const","editLink":false},"headers":[],"relativePath":"api/mp_math/const.md","filePath":"zh/api/mp_math/const.md"}'),r={name:"api/mp_math/const.md"},c=o("",14),i=[c];function n(l,s,h,d,m,p){return e(),t("div",null,i)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/api_mp_math_equation.md.DuZ1hN4l.js b/assets/api_mp_math_equation.md.Di7kIkyq.js similarity index 91% rename from assets/api_mp_math_equation.md.DuZ1hN4l.js rename to assets/api_mp_math_equation.md.Di7kIkyq.js index e456e43..61c68a0 100644 --- a/assets/api_mp_math_equation.md.DuZ1hN4l.js +++ b/assets/api_mp_math_equation.md.Di7kIkyq.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation"},"headers":[],"relativePath":"api/mp_math/equation.md","filePath":"zh/api/mp_math/equation.md"}'),l={name:"api/mp_math/equation.md"},t=n(`

mbcp.mp_math.equation

说明: 本模块定义了方程相关的类和函数以及一些常用的数学函数

class CurveEquation

method __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc)

说明: 曲线方程。

参数:

  • x_func: x函数
  • y_func: y函数
  • z_func: z函数
源代码
python
def __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation","editLink":false},"headers":[],"relativePath":"api/mp_math/equation.md","filePath":"zh/api/mp_math/equation.md"}'),l={name:"api/mp_math/equation.md"},t=n(`

mbcp.mp_math.equation

说明: 本模块定义了方程相关的类和函数以及一些常用的数学函数

class CurveEquation

method __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc)

说明: 曲线方程。

参数:

  • x_func: x函数
  • y_func: y函数
  • z_func: z函数
源代码
python
def __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc):
     """
         曲线方程。
         Args:
diff --git a/assets/api_mp_math_equation.md.Di7kIkyq.lean.js b/assets/api_mp_math_equation.md.Di7kIkyq.lean.js
new file mode 100644
index 0000000..c557191
--- /dev/null
+++ b/assets/api_mp_math_equation.md.Di7kIkyq.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation","editLink":false},"headers":[],"relativePath":"api/mp_math/equation.md","filePath":"zh/api/mp_math/equation.md"}'),l={name:"api/mp_math/equation.md"},t=n("",30),p=[t];function h(k,e,r,E,d,g){return a(),i("div",null,p)}const F=s(l,[["render",h]]);export{u as __pageData,F as default};
diff --git a/assets/api_mp_math_equation.md.DuZ1hN4l.lean.js b/assets/api_mp_math_equation.md.DuZ1hN4l.lean.js
deleted file mode 100644
index fbc4f35..0000000
--- a/assets/api_mp_math_equation.md.DuZ1hN4l.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation"},"headers":[],"relativePath":"api/mp_math/equation.md","filePath":"zh/api/mp_math/equation.md"}'),l={name:"api/mp_math/equation.md"},t=n("",30),p=[t];function h(k,e,r,E,d,g){return a(),i("div",null,p)}const F=s(l,[["render",h]]);export{u as __pageData,F as default};
diff --git a/assets/api_mp_math_function.md.U6hGSIm3.js b/assets/api_mp_math_function.md.U6hGSIm3.js
deleted file mode 100644
index d3f1fa2..0000000
--- a/assets/api_mp_math_function.md.U6hGSIm3.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function"},"headers":[],"relativePath":"api/mp_math/function.md","filePath":"zh/api/mp_math/function.md"}'),n={name:"api/mp_math/function.md"},l=a('

mbcp.mp_math.function

说明: AAA

func cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float = EPSILON) -> Vector3

说明: 计算三元函数在某点的梯度向量。

',4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a('',1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a('',1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a('',1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a(`

参数:

  • func: 三元函数
  • p: 点
  • epsilon: 偏移量

返回: 梯度

源代码
python
def cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float=EPSILON) -> Vector3:
-    """
-    计算三元函数在某点的梯度向量。
-    > [!tip]
-    > 已知一个函数$f(x, y, z)$,则其在点$(x_0, y_0, z_0)$处的梯度向量为:
-    $\\\\nabla f(x_0, y_0, z_0) = \\\\left(\\\\frac{\\\\partial f}{\\\\partial x}, \\\\frac{\\\\partial f}{\\\\partial y}, \\\\frac{\\\\partial f}{\\\\partial z}\\\\right)$
-    Args:
-        func: 三元函数
-        p: 点
-        epsilon: 偏移量
-    Returns:
-        梯度
-    """
-    dx = (func(p.x + epsilon, p.y, p.z) - func(p.x - epsilon, p.y, p.z)) / (2 * epsilon)
-    dy = (func(p.x, p.y + epsilon, p.z) - func(p.x, p.y - epsilon, p.z)) / (2 * epsilon)
-    dz = (func(p.x, p.y, p.z + epsilon) - func(p.x, p.y, p.z - epsilon)) / (2 * epsilon)
-    return Vector3(dx, dy, dz)
`,4);function C(L,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",C]]);export{v as __pageData,V as default}; diff --git a/assets/api_mp_math_function.md.U6hGSIm3.lean.js b/assets/api_mp_math_function.md.U6hGSIm3.lean.js deleted file mode 100644 index 00d681d..0000000 --- a/assets/api_mp_math_function.md.U6hGSIm3.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function"},"headers":[],"relativePath":"api/mp_math/function.md","filePath":"zh/api/mp_math/function.md"}'),n={name:"api/mp_math/function.md"},l=a("",4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a("",1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a("",1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a("",1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a("",4);function C(L,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",C]]);export{v as __pageData,V as default}; diff --git a/assets/api_mp_math_function.md.roDde0nH.js b/assets/api_mp_math_function.md.roDde0nH.js new file mode 100644 index 0000000..8437b8c --- /dev/null +++ b/assets/api_mp_math_function.md.roDde0nH.js @@ -0,0 +1,17 @@ +import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function","editLink":false},"headers":[],"relativePath":"api/mp_math/function.md","filePath":"zh/api/mp_math/function.md"}'),n={name:"api/mp_math/function.md"},l=a('

mbcp.mp_math.function

说明: AAA

func cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float = EPSILON) -> Vector3

说明: 计算三元函数在某点的梯度向量。

',4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a('',1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a('',1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a('',1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a(`

参数:

  • func: 三元函数
  • p: 点
  • epsilon: 偏移量

返回: 梯度

源代码
python
def cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float=EPSILON) -> Vector3:
+    """
+    计算三元函数在某点的梯度向量。
+    > [!tip]
+    > 已知一个函数$f(x, y, z)$,则其在点$(x_0, y_0, z_0)$处的梯度向量为:
+    $\\\\nabla f(x_0, y_0, z_0) = \\\\left(\\\\frac{\\\\partial f}{\\\\partial x}, \\\\frac{\\\\partial f}{\\\\partial y}, \\\\frac{\\\\partial f}{\\\\partial z}\\\\right)$
+    Args:
+        func: 三元函数
+        p: 点
+        epsilon: 偏移量
+    Returns:
+        梯度
+    """
+    dx = (func(p.x + epsilon, p.y, p.z) - func(p.x - epsilon, p.y, p.z)) / (2 * epsilon)
+    dy = (func(p.x, p.y + epsilon, p.z) - func(p.x, p.y - epsilon, p.z)) / (2 * epsilon)
+    dz = (func(p.x, p.y, p.z + epsilon) - func(p.x, p.y, p.z - epsilon)) / (2 * epsilon)
+    return Vector3(dx, dy, dz)
`,4);function L(C,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",L]]);export{v as __pageData,V as default}; diff --git a/assets/api_mp_math_function.md.roDde0nH.lean.js b/assets/api_mp_math_function.md.roDde0nH.lean.js new file mode 100644 index 0000000..c77d22b --- /dev/null +++ b/assets/api_mp_math_function.md.roDde0nH.lean.js @@ -0,0 +1 @@ +import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function","editLink":false},"headers":[],"relativePath":"api/mp_math/function.md","filePath":"zh/api/mp_math/function.md"}'),n={name:"api/mp_math/function.md"},l=a("",4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a("",1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a("",1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a("",1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a("",4);function L(C,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",L]]);export{v as __pageData,V as default}; diff --git a/assets/api_mp_math_index.md.1HMGGW3A.js b/assets/api_mp_math_index.md.1HMGGW3A.js deleted file mode 100644 index aad2f57..0000000 --- a/assets/api_mp_math_index.md.1HMGGW3A.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","collapsed":true},"headers":[],"relativePath":"api/mp_math/index.md","filePath":"zh/api/mp_math/index.md"}'),c={name:"api/mp_math/index.md"},i=o('

mbcp.mp_math

说明: 本包定义了一些常用的导入,可直接从mbcp.mp_math导入使用 导入的类有:

  • AnyAngle:任意角
  • CurveEquation:曲线方程
  • Line3:三维直线
  • Plane3:三维平面
  • Point3:三维点
  • Segment3:三维线段
  • Vector3:三维向量
',3),m=[i];function d(_,l,n,p,r,s){return a(),t("div",null,m)}const b=e(c,[["render",d]]);export{u as __pageData,b as default}; diff --git a/assets/api_mp_math_index.md.1HMGGW3A.lean.js b/assets/api_mp_math_index.md.1HMGGW3A.lean.js deleted file mode 100644 index 4af2406..0000000 --- a/assets/api_mp_math_index.md.1HMGGW3A.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","collapsed":true},"headers":[],"relativePath":"api/mp_math/index.md","filePath":"zh/api/mp_math/index.md"}'),c={name:"api/mp_math/index.md"},i=o("",3),m=[i];function d(_,l,n,p,r,s){return a(),t("div",null,m)}const b=e(c,[["render",d]]);export{u as __pageData,b as default}; diff --git a/assets/api_mp_math_index.md.BNf7bQqL.js b/assets/api_mp_math_index.md.BNf7bQqL.js new file mode 100644 index 0000000..6c76559 --- /dev/null +++ b/assets/api_mp_math_index.md.BNf7bQqL.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","editLink":false,"collapsed":true},"headers":[],"relativePath":"api/mp_math/index.md","filePath":"zh/api/mp_math/index.md"}'),c={name:"api/mp_math/index.md"},i=o('

mbcp.mp_math

说明: 本包定义了一些常用的导入,可直接从mbcp.mp_math导入使用 导入的类有:

  • AnyAngle:任意角
  • CurveEquation:曲线方程
  • Line3:三维直线
  • Plane3:三维平面
  • Point3:三维点
  • Segment3:三维线段
  • Vector3:三维向量
',3),d=[i];function m(l,n,_,p,r,s){return a(),t("div",null,d)}const f=e(c,[["render",m]]);export{u as __pageData,f as default}; diff --git a/assets/api_mp_math_index.md.BNf7bQqL.lean.js b/assets/api_mp_math_index.md.BNf7bQqL.lean.js new file mode 100644 index 0000000..2c658f0 --- /dev/null +++ b/assets/api_mp_math_index.md.BNf7bQqL.lean.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","editLink":false,"collapsed":true},"headers":[],"relativePath":"api/mp_math/index.md","filePath":"zh/api/mp_math/index.md"}'),c={name:"api/mp_math/index.md"},i=o("",3),d=[i];function m(l,n,_,p,r,s){return a(),t("div",null,d)}const f=e(c,[["render",m]]);export{u as __pageData,f as default}; diff --git a/assets/api_mp_math_line.md.B-ShajAF.lean.js b/assets/api_mp_math_line.md.B-ShajAF.lean.js deleted file mode 100644 index 0cbde39..0000000 --- a/assets/api_mp_math_line.md.B-ShajAF.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line"},"headers":[],"relativePath":"api/mp_math/line.md","filePath":"zh/api/mp_math/line.md"}'),t={name:"api/mp_math/line.md"},l=n("",107),h=[l];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(t,[["render",p]]);export{E as __pageData,y as default}; diff --git a/assets/api_mp_math_line.md.B-ShajAF.js b/assets/api_mp_math_line.md.DbfheWE4.js similarity index 96% rename from assets/api_mp_math_line.md.B-ShajAF.js rename to assets/api_mp_math_line.md.DbfheWE4.js index 1e6308f..5a9b352 100644 --- a/assets/api_mp_math_line.md.B-ShajAF.js +++ b/assets/api_mp_math_line.md.DbfheWE4.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line"},"headers":[],"relativePath":"api/mp_math/line.md","filePath":"zh/api/mp_math/line.md"}'),t={name:"api/mp_math/line.md"},l=n(`

mbcp.mp_math.line

说明: 本模块定义了三维空间中的直线类

class Line3

method __init__(self, point: Point3, direction: Vector3)

说明: 三维空间中的直线。由一个点和一个方向向量确定。

参数:

  • point: 直线上的一点
  • direction: 直线的方向向量
源代码
python
def __init__(self, point: 'Point3', direction: 'Vector3'):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line","editLink":false},"headers":[],"relativePath":"api/mp_math/line.md","filePath":"zh/api/mp_math/line.md"}'),t={name:"api/mp_math/line.md"},l=n(`

mbcp.mp_math.line

说明: 本模块定义了三维空间中的直线类

class Line3

method __init__(self, point: Point3, direction: Vector3)

说明: 三维空间中的直线。由一个点和一个方向向量确定。

参数:

  • point: 直线上的一点
  • direction: 直线的方向向量
源代码
python
def __init__(self, point: 'Point3', direction: 'Vector3'):
     """
         三维空间中的直线。由一个点和一个方向向量确定。
         Args:
diff --git a/assets/api_mp_math_line.md.DbfheWE4.lean.js b/assets/api_mp_math_line.md.DbfheWE4.lean.js
new file mode 100644
index 0000000..5f010ab
--- /dev/null
+++ b/assets/api_mp_math_line.md.DbfheWE4.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line","editLink":false},"headers":[],"relativePath":"api/mp_math/line.md","filePath":"zh/api/mp_math/line.md"}'),t={name:"api/mp_math/line.md"},l=n("",107),h=[l];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(t,[["render",p]]);export{E as __pageData,y as default};
diff --git a/assets/api_mp_math_mp_math_typing.md.BtAkBFH3.js b/assets/api_mp_math_mp_math_typing.md.BtAkBFH3.js
deleted file mode 100644
index 4679220..0000000
--- a/assets/api_mp_math_mp_math_typing.md.BtAkBFH3.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing"},"headers":[],"relativePath":"api/mp_math/mp_math_typing.md","filePath":"zh/api/mp_math/mp_math_typing.md"}'),n={name:"api/mp_math/mp_math_typing.md"},o=l('

mbcp.mp_math.mp_math_typing

说明: 本模块用于内部类型提示

var RealNumber = int | float

  • 类型: TypeAlias

  • 说明: 实数

var Number = RealNumber | complex

  • 类型: TypeAlias

  • 说明: 数

var SingleVar = TypeVar('SingleVar', bound=Number)

  • 说明: 单变量

var ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])

  • 说明: 数组变量

var Var = SingleVar | ArrayVar

  • 类型: TypeAlias

  • 说明: 变量

var OneSingleVarFunc = Callable[[SingleVar], SingleVar]

  • 类型: TypeAlias

  • 说明: 一元单变量函数

var OneArrayFunc = Callable[[ArrayVar], ArrayVar]

  • 类型: TypeAlias

  • 说明: 一元数组函数

var OneVarFunc = OneSingleVarFunc | OneArrayFunc

  • 类型: TypeAlias

  • 说明: 一元函数

var TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]

  • 类型: TypeAlias

  • 说明: 二元单变量函数

var TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]

  • 类型: TypeAlias

  • 说明: 二元数组函数

var TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc

  • 类型: TypeAlias

  • 说明: 二元函数

var ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]

  • 类型: TypeAlias

  • 说明: 三元单变量函数

var ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]

  • 类型: TypeAlias

  • 说明: 三元数组函数

var ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc

  • 类型: TypeAlias

  • 说明: 三元函数

var MultiSingleVarsFunc = Callable[..., SingleVar]

  • 类型: TypeAlias

  • 说明: 多元单变量函数

var MultiArraysFunc = Callable[..., ArrayVar]

  • 类型: TypeAlias

  • 说明: 多元数组函数

var MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc

  • 类型: TypeAlias

  • 说明: 多元函数

',36),i=[o];function c(t,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",c]]);export{h as __pageData,y as default}; diff --git a/assets/api_mp_math_mp_math_typing.md.BtAkBFH3.lean.js b/assets/api_mp_math_mp_math_typing.md.BtAkBFH3.lean.js deleted file mode 100644 index 62056ed..0000000 --- a/assets/api_mp_math_mp_math_typing.md.BtAkBFH3.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing"},"headers":[],"relativePath":"api/mp_math/mp_math_typing.md","filePath":"zh/api/mp_math/mp_math_typing.md"}'),n={name:"api/mp_math/mp_math_typing.md"},o=l("",36),i=[o];function c(t,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",c]]);export{h as __pageData,y as default}; diff --git a/assets/api_mp_math_mp_math_typing.md.DlnJmkos.js b/assets/api_mp_math_mp_math_typing.md.DlnJmkos.js new file mode 100644 index 0000000..c3dc874 --- /dev/null +++ b/assets/api_mp_math_mp_math_typing.md.DlnJmkos.js @@ -0,0 +1 @@ +import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing","editLink":false},"headers":[],"relativePath":"api/mp_math/mp_math_typing.md","filePath":"zh/api/mp_math/mp_math_typing.md"}'),n={name:"api/mp_math/mp_math_typing.md"},o=l('

mbcp.mp_math.mp_math_typing

说明: 本模块用于内部类型提示

var RealNumber = int | float

  • 类型: TypeAlias

  • 说明: 实数

var Number = RealNumber | complex

  • 类型: TypeAlias

  • 说明: 数

var SingleVar = TypeVar('SingleVar', bound=Number)

  • 说明: 单变量

var ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])

  • 说明: 数组变量

var Var = SingleVar | ArrayVar

  • 类型: TypeAlias

  • 说明: 变量

var OneSingleVarFunc = Callable[[SingleVar], SingleVar]

  • 类型: TypeAlias

  • 说明: 一元单变量函数

var OneArrayFunc = Callable[[ArrayVar], ArrayVar]

  • 类型: TypeAlias

  • 说明: 一元数组函数

var OneVarFunc = OneSingleVarFunc | OneArrayFunc

  • 类型: TypeAlias

  • 说明: 一元函数

var TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]

  • 类型: TypeAlias

  • 说明: 二元单变量函数

var TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]

  • 类型: TypeAlias

  • 说明: 二元数组函数

var TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc

  • 类型: TypeAlias

  • 说明: 二元函数

var ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]

  • 类型: TypeAlias

  • 说明: 三元单变量函数

var ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]

  • 类型: TypeAlias

  • 说明: 三元数组函数

var ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc

  • 类型: TypeAlias

  • 说明: 三元函数

var MultiSingleVarsFunc = Callable[..., SingleVar]

  • 类型: TypeAlias

  • 说明: 多元单变量函数

var MultiArraysFunc = Callable[..., ArrayVar]

  • 类型: TypeAlias

  • 说明: 多元数组函数

var MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc

  • 类型: TypeAlias

  • 说明: 多元函数

',36),i=[o];function c(t,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",c]]);export{h as __pageData,y as default}; diff --git a/assets/api_mp_math_mp_math_typing.md.DlnJmkos.lean.js b/assets/api_mp_math_mp_math_typing.md.DlnJmkos.lean.js new file mode 100644 index 0000000..617e716 --- /dev/null +++ b/assets/api_mp_math_mp_math_typing.md.DlnJmkos.lean.js @@ -0,0 +1 @@ +import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing","editLink":false},"headers":[],"relativePath":"api/mp_math/mp_math_typing.md","filePath":"zh/api/mp_math/mp_math_typing.md"}'),n={name:"api/mp_math/mp_math_typing.md"},o=l("",36),i=[o];function c(t,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",c]]);export{h as __pageData,y as default}; diff --git a/assets/api_mp_math_plane.md.DnJHiXsz.js b/assets/api_mp_math_plane.md.DLuC3Mxh.js similarity index 97% rename from assets/api_mp_math_plane.md.DnJHiXsz.js rename to assets/api_mp_math_plane.md.DLuC3Mxh.js index 7633bd2..0911194 100644 --- a/assets/api_mp_math_plane.md.DnJHiXsz.js +++ b/assets/api_mp_math_plane.md.DLuC3Mxh.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane"},"headers":[],"relativePath":"api/mp_math/plane.md","filePath":"zh/api/mp_math/plane.md"}'),l={name:"api/mp_math/plane.md"},h=n(`

mbcp.mp_math.plane

说明: 本模块定义了三维空间中的平面类

class Plane3

method __init__(self, a: float, b: float, c: float, d: float)

说明: 平面方程:ax + by + cz + d = 0

参数:

  • a: x系数
  • b: y系数
  • c: z系数
  • d: 常数项
源代码
python
def __init__(self, a: float, b: float, c: float, d: float):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane","editLink":false},"headers":[],"relativePath":"api/mp_math/plane.md","filePath":"zh/api/mp_math/plane.md"}'),l={name:"api/mp_math/plane.md"},h=n(`

mbcp.mp_math.plane

说明: 本模块定义了三维空间中的平面类

class Plane3

method __init__(self, a: float, b: float, c: float, d: float)

说明: 平面方程:ax + by + cz + d = 0

参数:

  • a: x系数
  • b: y系数
  • c: z系数
  • d: 常数项
源代码
python
def __init__(self, a: float, b: float, c: float, d: float):
     """
         平面方程:ax + by + cz + d = 0
         Args:
diff --git a/assets/api_mp_math_plane.md.DLuC3Mxh.lean.js b/assets/api_mp_math_plane.md.DLuC3Mxh.lean.js
new file mode 100644
index 0000000..a41a37c
--- /dev/null
+++ b/assets/api_mp_math_plane.md.DLuC3Mxh.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane","editLink":false},"headers":[],"relativePath":"api/mp_math/plane.md","filePath":"zh/api/mp_math/plane.md"}'),l={name:"api/mp_math/plane.md"},h=n("",105),t=[h];function p(k,e,r,d,E,o){return a(),i("div",null,t)}const y=s(l,[["render",p]]);export{F as __pageData,y as default};
diff --git a/assets/api_mp_math_plane.md.DnJHiXsz.lean.js b/assets/api_mp_math_plane.md.DnJHiXsz.lean.js
deleted file mode 100644
index 1cd06c4..0000000
--- a/assets/api_mp_math_plane.md.DnJHiXsz.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane"},"headers":[],"relativePath":"api/mp_math/plane.md","filePath":"zh/api/mp_math/plane.md"}'),l={name:"api/mp_math/plane.md"},h=n("",105),t=[h];function p(k,e,r,d,E,o){return a(),i("div",null,t)}const y=s(l,[["render",p]]);export{F as __pageData,y as default};
diff --git a/assets/api_mp_math_point.md.9ZJsp3fx.lean.js b/assets/api_mp_math_point.md.9ZJsp3fx.lean.js
deleted file mode 100644
index 5dccae5..0000000
--- a/assets/api_mp_math_point.md.9ZJsp3fx.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point"},"headers":[],"relativePath":"api/mp_math/point.md","filePath":"zh/api/mp_math/point.md"}'),n={name:"api/mp_math/point.md"},h=t("",36),l=[h];function e(p,k,o,r,d,E){return a(),i("div",null,l)}const F=s(n,[["render",e]]);export{y as __pageData,F as default};
diff --git a/assets/api_mp_math_point.md.9ZJsp3fx.js b/assets/api_mp_math_point.md.DAQFtNol.js
similarity index 89%
rename from assets/api_mp_math_point.md.9ZJsp3fx.js
rename to assets/api_mp_math_point.md.DAQFtNol.js
index 33dbc05..8d71459 100644
--- a/assets/api_mp_math_point.md.9ZJsp3fx.js
+++ b/assets/api_mp_math_point.md.DAQFtNol.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point"},"headers":[],"relativePath":"api/mp_math/point.md","filePath":"zh/api/mp_math/point.md"}'),n={name:"api/mp_math/point.md"},h=t(`

mbcp.mp_math.point

说明: 本模块定义了三维空间中点的类。

class Point3

method __init__(self, x: float, y: float, z: float)

说明: 笛卡尔坐标系中的点。

参数:

  • x: x 坐标
  • y: y 坐标
  • z: z 坐标
源代码
python
def __init__(self, x: float, y: float, z: float):
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point","editLink":false},"headers":[],"relativePath":"api/mp_math/point.md","filePath":"zh/api/mp_math/point.md"}'),n={name:"api/mp_math/point.md"},h=t(`

mbcp.mp_math.point

说明: 本模块定义了三维空间中点的类。

class Point3

method __init__(self, x: float, y: float, z: float)

说明: 笛卡尔坐标系中的点。

参数:

  • x: x 坐标
  • y: y 坐标
  • z: z 坐标
源代码
python
def __init__(self, x: float, y: float, z: float):
     """
         笛卡尔坐标系中的点。
         Args:
diff --git a/assets/api_mp_math_point.md.DAQFtNol.lean.js b/assets/api_mp_math_point.md.DAQFtNol.lean.js
new file mode 100644
index 0000000..0322ca7
--- /dev/null
+++ b/assets/api_mp_math_point.md.DAQFtNol.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point","editLink":false},"headers":[],"relativePath":"api/mp_math/point.md","filePath":"zh/api/mp_math/point.md"}'),n={name:"api/mp_math/point.md"},h=t("",36),l=[h];function e(p,k,o,r,d,E){return a(),i("div",null,l)}const F=s(n,[["render",e]]);export{y as __pageData,F as default};
diff --git a/assets/api_mp_math_segment.md.BLQ-UFFk.lean.js b/assets/api_mp_math_segment.md.BLQ-UFFk.lean.js
deleted file mode 100644
index 44745b3..0000000
--- a/assets/api_mp_math_segment.md.BLQ-UFFk.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment"},"headers":[],"relativePath":"api/mp_math/segment.md","filePath":"zh/api/mp_math/segment.md"}'),t={name:"api/mp_math/segment.md"},h=n("",6),p=[h];function l(e,k,r,d,E,g){return a(),i("div",null,p)}const y=s(t,[["render",l]]);export{F as __pageData,y as default};
diff --git a/assets/ja_api_mp_math_segment.md.DbTMeZAn.js b/assets/api_mp_math_segment.md.CQz_FDoI.js
similarity index 71%
rename from assets/ja_api_mp_math_segment.md.DbTMeZAn.js
rename to assets/api_mp_math_segment.md.CQz_FDoI.js
index baa0841..69e900d 100644
--- a/assets/ja_api_mp_math_segment.md.DbTMeZAn.js
+++ b/assets/api_mp_math_segment.md.CQz_FDoI.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment"},"headers":[],"relativePath":"ja/api/mp_math/segment.md","filePath":"ja/api/mp_math/segment.md"}'),t={name:"ja/api/mp_math/segment.md"},h=n(`

mbcp.mp_math.segment

説明: 本模块定义了三维空间中的线段类

class Segment3

method __init__(self, p1: Point3, p2: Point3)

説明: 三维空间中的线段。 :param p1: :param p2:

ソースコード
python
def __init__(self, p1: 'Point3', p2: 'Point3'):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment","editLink":false},"headers":[],"relativePath":"api/mp_math/segment.md","filePath":"zh/api/mp_math/segment.md"}'),t={name:"api/mp_math/segment.md"},h=n(`

mbcp.mp_math.segment

说明: 本模块定义了三维空间中的线段类

class Segment3

method __init__(self, p1: Point3, p2: Point3)

说明: 三维空间中的线段。 :param p1: :param p2:

源代码
python
def __init__(self, p1: 'Point3', p2: 'Point3'):
     """
         三维空间中的线段。
         :param p1:
diff --git a/assets/api_mp_math_segment.md.CQz_FDoI.lean.js b/assets/api_mp_math_segment.md.CQz_FDoI.lean.js
new file mode 100644
index 0000000..a3483a7
--- /dev/null
+++ b/assets/api_mp_math_segment.md.CQz_FDoI.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment","editLink":false},"headers":[],"relativePath":"api/mp_math/segment.md","filePath":"zh/api/mp_math/segment.md"}'),t={name:"api/mp_math/segment.md"},h=n("",6),p=[h];function l(e,k,r,d,E,g){return a(),i("div",null,p)}const y=s(t,[["render",l]]);export{F as __pageData,y as default};
diff --git a/assets/api_mp_math_utils.md.yzrnwrbP.js b/assets/api_mp_math_utils.md.C2moaW8N.js
similarity index 92%
rename from assets/api_mp_math_utils.md.yzrnwrbP.js
rename to assets/api_mp_math_utils.md.C2moaW8N.js
index 7ae4d8a..52e1927 100644
--- a/assets/api_mp_math_utils.md.yzrnwrbP.js
+++ b/assets/api_mp_math_utils.md.C2moaW8N.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils"},"headers":[],"relativePath":"api/mp_math/utils.md","filePath":"zh/api/mp_math/utils.md"}'),l={name:"api/mp_math/utils.md"},t=n(`

mbcp.mp_math.utils

说明: 本模块定义了一些常用的工具函数

func clamp(x: float, min_: float, max_: float) -> float

说明: 区间限定函数

参数:

  • x: 待限定的值
  • min_: 最小值
  • max_: 最大值

返回: 限制后的值

源代码
python
def clamp(x: float, min_: float, max_: float) -> float:
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils","editLink":false},"headers":[],"relativePath":"api/mp_math/utils.md","filePath":"zh/api/mp_math/utils.md"}'),l={name:"api/mp_math/utils.md"},t=n(`

mbcp.mp_math.utils

说明: 本模块定义了一些常用的工具函数

func clamp(x: float, min_: float, max_: float) -> float

说明: 区间限定函数

参数:

  • x: 待限定的值
  • min_: 最小值
  • max_: 最大值

返回: 限制后的值

源代码
python
def clamp(x: float, min_: float, max_: float) -> float:
     """
     区间限定函数
     Args:
diff --git a/assets/api_mp_math_utils.md.C2moaW8N.lean.js b/assets/api_mp_math_utils.md.C2moaW8N.lean.js
new file mode 100644
index 0000000..8ce45d9
--- /dev/null
+++ b/assets/api_mp_math_utils.md.C2moaW8N.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils","editLink":false},"headers":[],"relativePath":"api/mp_math/utils.md","filePath":"zh/api/mp_math/utils.md"}'),l={name:"api/mp_math/utils.md"},t=n("",35),h=[t];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(l,[["render",p]]);export{E as __pageData,y as default};
diff --git a/assets/api_mp_math_utils.md.yzrnwrbP.lean.js b/assets/api_mp_math_utils.md.yzrnwrbP.lean.js
deleted file mode 100644
index 0ae93f4..0000000
--- a/assets/api_mp_math_utils.md.yzrnwrbP.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils"},"headers":[],"relativePath":"api/mp_math/utils.md","filePath":"zh/api/mp_math/utils.md"}'),l={name:"api/mp_math/utils.md"},t=n("",35),h=[t];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(l,[["render",p]]);export{E as __pageData,y as default};
diff --git a/assets/api_mp_math_vector.md.BSPllWFK.lean.js b/assets/api_mp_math_vector.md.BSPllWFK.lean.js
deleted file mode 100644
index 2364ec2..0000000
--- a/assets/api_mp_math_vector.md.BSPllWFK.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector"},"headers":[],"relativePath":"api/mp_math/vector.md","filePath":"zh/api/mp_math/vector.md"}'),n={name:"api/mp_math/vector.md"},h=t("",127),l=[h];function e(p,k,r,o,d,g){return a(),i("div",null,l)}const F=s(n,[["render",e]]);export{y as __pageData,F as default};
diff --git a/assets/api_mp_math_vector.md.BSPllWFK.js b/assets/api_mp_math_vector.md.BiNus8y5.js
similarity index 97%
rename from assets/api_mp_math_vector.md.BSPllWFK.js
rename to assets/api_mp_math_vector.md.BiNus8y5.js
index 8016e2d..029bd4a 100644
--- a/assets/api_mp_math_vector.md.BSPllWFK.js
+++ b/assets/api_mp_math_vector.md.BiNus8y5.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector"},"headers":[],"relativePath":"api/mp_math/vector.md","filePath":"zh/api/mp_math/vector.md"}'),n={name:"api/mp_math/vector.md"},h=t(`

mbcp.mp_math.vector

说明: 本模块定义了3维向量的类Vector3,以及一些常用的向量。

class Vector3

method __init__(self, x: float, y: float, z: float)

说明: 3维向量

参数:

  • x: x轴分量
  • y: y轴分量
  • z: z轴分量
源代码
python
def __init__(self, x: float, y: float, z: float):
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector","editLink":false},"headers":[],"relativePath":"api/mp_math/vector.md","filePath":"zh/api/mp_math/vector.md"}'),n={name:"api/mp_math/vector.md"},h=t(`

mbcp.mp_math.vector

说明: 本模块定义了3维向量的类Vector3,以及一些常用的向量。

class Vector3

method __init__(self, x: float, y: float, z: float)

说明: 3维向量

参数:

  • x: x轴分量
  • y: y轴分量
  • z: z轴分量
源代码
python
def __init__(self, x: float, y: float, z: float):
     """
         3维向量
         Args:
diff --git a/assets/api_mp_math_vector.md.BiNus8y5.lean.js b/assets/api_mp_math_vector.md.BiNus8y5.lean.js
new file mode 100644
index 0000000..e586017
--- /dev/null
+++ b/assets/api_mp_math_vector.md.BiNus8y5.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector","editLink":false},"headers":[],"relativePath":"api/mp_math/vector.md","filePath":"zh/api/mp_math/vector.md"}'),n={name:"api/mp_math/vector.md"},h=t("",127),l=[h];function e(p,k,r,o,d,g){return a(),i("div",null,l)}const F=s(n,[["render",e]]);export{y as __pageData,F as default};
diff --git a/assets/api_particle_index.md.Cgiljhcz.js b/assets/api_particle_index.md.Cgiljhcz.js
deleted file mode 100644
index 32bbc28..0000000
--- a/assets/api_particle_index.md.Cgiljhcz.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c,o as r,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","collapsed":true},"headers":[],"relativePath":"api/particle/index.md","filePath":"zh/api/particle/index.md"}'),i={name:"api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),l=e("p",null,[e("strong",null,"说明"),t(": 本模块定义了粒子生成相关的工具")],-1),n=[p,l];function o(s,d,_,m,h,f){return r(),c("div",null,n)}const u=a(i,[["render",o]]);export{b as __pageData,u as default};
diff --git a/assets/api_particle_index.md.Cgiljhcz.lean.js b/assets/api_particle_index.md.Cgiljhcz.lean.js
deleted file mode 100644
index 32bbc28..0000000
--- a/assets/api_particle_index.md.Cgiljhcz.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c,o as r,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","collapsed":true},"headers":[],"relativePath":"api/particle/index.md","filePath":"zh/api/particle/index.md"}'),i={name:"api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),l=e("p",null,[e("strong",null,"说明"),t(": 本模块定义了粒子生成相关的工具")],-1),n=[p,l];function o(s,d,_,m,h,f){return r(),c("div",null,n)}const u=a(i,[["render",o]]);export{b as __pageData,u as default};
diff --git a/assets/api_particle_index.md.Cm3Vk-es.js b/assets/api_particle_index.md.Cm3Vk-es.js
new file mode 100644
index 0000000..b627b83
--- /dev/null
+++ b/assets/api_particle_index.md.Cm3Vk-es.js
@@ -0,0 +1 @@
+import{_ as a,c,o as i,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","editLink":false,"collapsed":true},"headers":[],"relativePath":"api/particle/index.md","filePath":"zh/api/particle/index.md"}'),r={name:"api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),l=e("p",null,[e("strong",null,"说明"),t(": 本模块定义了粒子生成相关的工具")],-1),n=[p,l];function s(o,d,_,m,h,f){return i(),c("div",null,n)}const u=a(r,[["render",s]]);export{b as __pageData,u as default};
diff --git a/assets/api_particle_index.md.Cm3Vk-es.lean.js b/assets/api_particle_index.md.Cm3Vk-es.lean.js
new file mode 100644
index 0000000..b627b83
--- /dev/null
+++ b/assets/api_particle_index.md.Cm3Vk-es.lean.js
@@ -0,0 +1 @@
+import{_ as a,c,o as i,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","editLink":false,"collapsed":true},"headers":[],"relativePath":"api/particle/index.md","filePath":"zh/api/particle/index.md"}'),r={name:"api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),l=e("p",null,[e("strong",null,"说明"),t(": 本模块定义了粒子生成相关的工具")],-1),n=[p,l];function s(o,d,_,m,h,f){return i(),c("div",null,n)}const u=a(r,[["render",s]]);export{b as __pageData,u as default};
diff --git a/assets/api_presets_index.md.CD62I2gv.js b/assets/api_presets_index.md.CD62I2gv.js
new file mode 100644
index 0000000..68c2222
--- /dev/null
+++ b/assets/api_presets_index.md.CD62I2gv.js
@@ -0,0 +1 @@
+import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","editLink":false,"collapsed":true},"headers":[],"relativePath":"api/presets/index.md","filePath":"zh/api/presets/index.md"}'),r={name:"api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"说明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),p=[i,n,l];function c(d,m,_,h,u,f){return o(),a("div",null,p)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/api_presets_index.md.CD62I2gv.lean.js b/assets/api_presets_index.md.CD62I2gv.lean.js
new file mode 100644
index 0000000..68c2222
--- /dev/null
+++ b/assets/api_presets_index.md.CD62I2gv.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","editLink":false,"collapsed":true},"headers":[],"relativePath":"api/presets/index.md","filePath":"zh/api/presets/index.md"}'),r={name:"api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"说明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),p=[i,n,l];function c(d,m,_,h,u,f){return o(),a("div",null,p)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/api_presets_index.md.RZipvyLz.js b/assets/api_presets_index.md.RZipvyLz.js
deleted file mode 100644
index a18d9bc..0000000
--- a/assets/api_presets_index.md.RZipvyLz.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","collapsed":true},"headers":[],"relativePath":"api/presets/index.md","filePath":"zh/api/presets/index.md"}'),r={name:"api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"说明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),p=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),l=[i,n,p];function c(d,m,_,h,u,f){return o(),a("div",null,l)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/api_presets_index.md.RZipvyLz.lean.js b/assets/api_presets_index.md.RZipvyLz.lean.js
deleted file mode 100644
index a18d9bc..0000000
--- a/assets/api_presets_index.md.RZipvyLz.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","collapsed":true},"headers":[],"relativePath":"api/presets/index.md","filePath":"zh/api/presets/index.md"}'),r={name:"api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"说明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),p=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),l=[i,n,p];function c(d,m,_,h,u,f){return o(),a("div",null,l)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/api_presets_model_index.md.4RPSG4yh.lean.js b/assets/api_presets_model_index.md.4RPSG4yh.lean.js
deleted file mode 100644
index 38610d4..0000000
--- a/assets/api_presets_model_index.md.4RPSG4yh.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","collapsed":true},"headers":[],"relativePath":"api/presets/model/index.md","filePath":"zh/api/presets/model/index.md"}'),t={name:"api/presets/model/index.md"},h=n("",10),l=[h];function p(k,e,r,d,E,o){return a(),i("div",null,l)}const c=s(t,[["render",p]]);export{y as __pageData,c as default};
diff --git a/assets/api_presets_model_index.md.4RPSG4yh.js b/assets/api_presets_model_index.md.CJMO-ffZ.js
similarity index 79%
rename from assets/api_presets_model_index.md.4RPSG4yh.js
rename to assets/api_presets_model_index.md.CJMO-ffZ.js
index 1e7857f..11bb8bb 100644
--- a/assets/api_presets_model_index.md.4RPSG4yh.js
+++ b/assets/api_presets_model_index.md.CJMO-ffZ.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","collapsed":true},"headers":[],"relativePath":"api/presets/model/index.md","filePath":"zh/api/presets/model/index.md"}'),t={name:"api/presets/model/index.md"},h=n(`

mbcp.presets.model

说明: 几何模型点集

class GeometricModels

@staticmethod

method sphere(radius: float, density: float)

说明: 生成球体上的点集。

参数:

  • radius:
  • density:

返回: List[Point3]: 球体上的点集。

源代码
python
@staticmethod
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","editLink":false,"collapsed":true},"headers":[],"relativePath":"api/presets/model/index.md","filePath":"zh/api/presets/model/index.md"}'),t={name:"api/presets/model/index.md"},h=n(`

mbcp.presets.model

说明: 几何模型点集

class GeometricModels

@staticmethod

method sphere(radius: float, density: float)

说明: 生成球体上的点集。

参数:

  • radius:
  • density:

返回: List[Point3]: 球体上的点集。

源代码
python
@staticmethod
 def sphere(radius: float, density: float):
     """
         生成球体上的点集。
diff --git a/assets/api_presets_model_index.md.CJMO-ffZ.lean.js b/assets/api_presets_model_index.md.CJMO-ffZ.lean.js
new file mode 100644
index 0000000..1c76908
--- /dev/null
+++ b/assets/api_presets_model_index.md.CJMO-ffZ.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","editLink":false,"collapsed":true},"headers":[],"relativePath":"api/presets/model/index.md","filePath":"zh/api/presets/model/index.md"}'),t={name:"api/presets/model/index.md"},h=n("",10),l=[h];function p(k,e,r,d,E,o){return a(),i("div",null,l)}const c=s(t,[["render",p]]);export{y as __pageData,c as default};
diff --git a/assets/en_api_index.md.BaqBYqY8.js b/assets/en_api_index.md.BaqBYqY8.js
deleted file mode 100644
index 0fb9529..0000000
--- a/assets/en_api_index.md.BaqBYqY8.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c as n,o as c,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","collapsed":true},"headers":[],"relativePath":"en/api/index.md","filePath":"en/api/index.md"}'),o={name:"en/api/index.md"},s=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),r=e("p",null,[e("strong",null,"Description"),t(": 本模块塞了一些预设的粒子生成器")],-1),i=[s,r];function d(p,l,_,m,h,f){return c(),n("div",null,i)}const u=a(o,[["render",d]]);export{b as __pageData,u as default};
diff --git a/assets/en_api_index.md.BaqBYqY8.lean.js b/assets/en_api_index.md.BaqBYqY8.lean.js
deleted file mode 100644
index 0fb9529..0000000
--- a/assets/en_api_index.md.BaqBYqY8.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c as n,o as c,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","collapsed":true},"headers":[],"relativePath":"en/api/index.md","filePath":"en/api/index.md"}'),o={name:"en/api/index.md"},s=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),r=e("p",null,[e("strong",null,"Description"),t(": 本模块塞了一些预设的粒子生成器")],-1),i=[s,r];function d(p,l,_,m,h,f){return c(),n("div",null,i)}const u=a(o,[["render",d]]);export{b as __pageData,u as default};
diff --git a/assets/en_api_index.md.Dj_5nFTt.js b/assets/en_api_index.md.Dj_5nFTt.js
new file mode 100644
index 0000000..247705a
--- /dev/null
+++ b/assets/en_api_index.md.Dj_5nFTt.js
@@ -0,0 +1 @@
+import{_ as a,c as n,o as s,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","editLink":false,"collapsed":true},"headers":[],"relativePath":"en/api/index.md","filePath":"en/api/index.md"}'),c={name:"en/api/index.md"},o=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),i=e("p",null,[e("strong",null,"Description"),t(": 本模块塞了一些预设的粒子生成器")],-1),r=[o,i];function d(p,l,_,m,h,f){return s(),n("div",null,r)}const u=a(c,[["render",d]]);export{b as __pageData,u as default};
diff --git a/assets/en_api_index.md.Dj_5nFTt.lean.js b/assets/en_api_index.md.Dj_5nFTt.lean.js
new file mode 100644
index 0000000..247705a
--- /dev/null
+++ b/assets/en_api_index.md.Dj_5nFTt.lean.js
@@ -0,0 +1 @@
+import{_ as a,c as n,o as s,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","editLink":false,"collapsed":true},"headers":[],"relativePath":"en/api/index.md","filePath":"en/api/index.md"}'),c={name:"en/api/index.md"},o=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),i=e("p",null,[e("strong",null,"Description"),t(": 本模块塞了一些预设的粒子生成器")],-1),r=[o,i];function d(p,l,_,m,h,f){return s(),n("div",null,r)}const u=a(c,[["render",d]]);export{b as __pageData,u as default};
diff --git a/assets/en_api_mp_math_angle.md.z39I-qRz.js b/assets/en_api_mp_math_angle.md.DI0aMl64.js
similarity index 94%
rename from assets/en_api_mp_math_angle.md.z39I-qRz.js
rename to assets/en_api_mp_math_angle.md.DI0aMl64.js
index f4e83e1..f2fd506 100644
--- a/assets/en_api_mp_math_angle.md.z39I-qRz.js
+++ b/assets/en_api_mp_math_angle.md.DI0aMl64.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const c=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle"},"headers":[],"relativePath":"en/api/mp_math/angle.md","filePath":"en/api/mp_math/angle.md"}'),t={name:"en/api/mp_math/angle.md"},e=n(`

mbcp.mp_math.angle

Description: 本模块定义了角度相关的类

class Angle

class AnyAngle(Angle)

method __init__(self, value: float, is_radian: bool = False)

Description: 任意角度。

Arguments:

  • value: 角度或弧度值
  • is_radian: 是否为弧度,默认为否
Source code
python
def __init__(self, value: float, is_radian: bool=False):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const c=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle","editLink":false},"headers":[],"relativePath":"en/api/mp_math/angle.md","filePath":"en/api/mp_math/angle.md"}'),t={name:"en/api/mp_math/angle.md"},e=n(`

mbcp.mp_math.angle

Description: 本模块定义了角度相关的类

class Angle

class AnyAngle(Angle)

method __init__(self, value: float, is_radian: bool = False)

Description: 任意角度。

Arguments:

  • value: 角度或弧度值
  • is_radian: 是否为弧度,默认为否
Source code
python
def __init__(self, value: float, is_radian: bool=False):
     """
         任意角度。
         Args:
diff --git a/assets/en_api_mp_math_angle.md.DI0aMl64.lean.js b/assets/en_api_mp_math_angle.md.DI0aMl64.lean.js
new file mode 100644
index 0000000..1a9c359
--- /dev/null
+++ b/assets/en_api_mp_math_angle.md.DI0aMl64.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const c=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle","editLink":false},"headers":[],"relativePath":"en/api/mp_math/angle.md","filePath":"en/api/mp_math/angle.md"}'),t={name:"en/api/mp_math/angle.md"},e=n("",80),l=[e];function h(p,k,r,o,d,g){return a(),i("div",null,l)}const F=s(t,[["render",h]]);export{c as __pageData,F as default};
diff --git a/assets/en_api_mp_math_angle.md.z39I-qRz.lean.js b/assets/en_api_mp_math_angle.md.z39I-qRz.lean.js
deleted file mode 100644
index b1e5da2..0000000
--- a/assets/en_api_mp_math_angle.md.z39I-qRz.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const c=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle"},"headers":[],"relativePath":"en/api/mp_math/angle.md","filePath":"en/api/mp_math/angle.md"}'),t={name:"en/api/mp_math/angle.md"},e=n("",80),l=[e];function h(p,k,r,o,d,g){return a(),i("div",null,l)}const F=s(t,[["render",h]]);export{c as __pageData,F as default};
diff --git a/assets/en_api_mp_math_const.md.CSc4Ut1v.js b/assets/en_api_mp_math_const.md.CSc4Ut1v.js
deleted file mode 100644
index 714c29e..0000000
--- a/assets/en_api_mp_math_const.md.CSc4Ut1v.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const"},"headers":[],"relativePath":"en/api/mp_math/const.md","filePath":"en/api/mp_math/const.md"}'),r={name:"en/api/mp_math/const.md"},i=o('

mbcp.mp_math.const

Description: 本模块定义了一些常用的常量

var PI = math.pi

  • Description: 常量 π

var E = math.e

  • Description: 自然对数的底 exp(1)

var GOLDEN_RATIO = (1 + math.sqrt(5)) / 2

  • Description: 黄金分割比

var GAMMA = 0.5772156649015329

  • Description: 欧拉常数

var EPSILON = 0.0001

  • Description: 精度误差

var APPROX = 0.001

  • Description: 约等于判定误差
',14),c=[i];function n(s,l,h,d,m,p){return e(),t("div",null,c)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/en_api_mp_math_const.md.CSc4Ut1v.lean.js b/assets/en_api_mp_math_const.md.CSc4Ut1v.lean.js deleted file mode 100644 index 8778859..0000000 --- a/assets/en_api_mp_math_const.md.CSc4Ut1v.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const"},"headers":[],"relativePath":"en/api/mp_math/const.md","filePath":"en/api/mp_math/const.md"}'),r={name:"en/api/mp_math/const.md"},i=o("",14),c=[i];function n(s,l,h,d,m,p){return e(),t("div",null,c)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/en_api_mp_math_const.md.gGpXUShq.js b/assets/en_api_mp_math_const.md.gGpXUShq.js new file mode 100644 index 0000000..42a8e3c --- /dev/null +++ b/assets/en_api_mp_math_const.md.gGpXUShq.js @@ -0,0 +1 @@ +import{_ as a,c as e,o as t,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const","editLink":false},"headers":[],"relativePath":"en/api/mp_math/const.md","filePath":"en/api/mp_math/const.md"}'),r={name:"en/api/mp_math/const.md"},i=o('

mbcp.mp_math.const

Description: 本模块定义了一些常用的常量

var PI = math.pi

  • Description: 常量 π

var E = math.e

  • Description: 自然对数的底 exp(1)

var GOLDEN_RATIO = (1 + math.sqrt(5)) / 2

  • Description: 黄金分割比

var GAMMA = 0.5772156649015329

  • Description: 欧拉常数

var EPSILON = 0.0001

  • Description: 精度误差

var APPROX = 0.001

  • Description: 约等于判定误差
',14),c=[i];function n(s,l,h,d,m,p){return t(),e("div",null,c)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/en_api_mp_math_const.md.gGpXUShq.lean.js b/assets/en_api_mp_math_const.md.gGpXUShq.lean.js new file mode 100644 index 0000000..8eb2ccd --- /dev/null +++ b/assets/en_api_mp_math_const.md.gGpXUShq.lean.js @@ -0,0 +1 @@ +import{_ as a,c as e,o as t,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const","editLink":false},"headers":[],"relativePath":"en/api/mp_math/const.md","filePath":"en/api/mp_math/const.md"}'),r={name:"en/api/mp_math/const.md"},i=o("",14),c=[i];function n(s,l,h,d,m,p){return t(),e("div",null,c)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/en_api_mp_math_equation.md.0VnHCQQ4.lean.js b/assets/en_api_mp_math_equation.md.0VnHCQQ4.lean.js deleted file mode 100644 index 9967043..0000000 --- a/assets/en_api_mp_math_equation.md.0VnHCQQ4.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation"},"headers":[],"relativePath":"en/api/mp_math/equation.md","filePath":"en/api/mp_math/equation.md"}'),t={name:"en/api/mp_math/equation.md"},l=n("",30),p=[l];function h(k,e,r,E,d,g){return a(),i("div",null,p)}const F=s(t,[["render",h]]);export{u as __pageData,F as default}; diff --git a/assets/en_api_mp_math_equation.md.0VnHCQQ4.js b/assets/en_api_mp_math_equation.md.CFa2gNNX.js similarity index 91% rename from assets/en_api_mp_math_equation.md.0VnHCQQ4.js rename to assets/en_api_mp_math_equation.md.CFa2gNNX.js index 5e220ff..5a4e5e5 100644 --- a/assets/en_api_mp_math_equation.md.0VnHCQQ4.js +++ b/assets/en_api_mp_math_equation.md.CFa2gNNX.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation"},"headers":[],"relativePath":"en/api/mp_math/equation.md","filePath":"en/api/mp_math/equation.md"}'),t={name:"en/api/mp_math/equation.md"},l=n(`

mbcp.mp_math.equation

Description: 本模块定义了方程相关的类和函数以及一些常用的数学函数

class CurveEquation

method __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc)

Description: 曲线方程。

Arguments:

  • x_func: x函数
  • y_func: y函数
  • z_func: z函数
Source code
python
def __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation","editLink":false},"headers":[],"relativePath":"en/api/mp_math/equation.md","filePath":"en/api/mp_math/equation.md"}'),t={name:"en/api/mp_math/equation.md"},l=n(`

mbcp.mp_math.equation

Description: 本模块定义了方程相关的类和函数以及一些常用的数学函数

class CurveEquation

method __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc)

Description: 曲线方程。

Arguments:

  • x_func: x函数
  • y_func: y函数
  • z_func: z函数
Source code
python
def __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc):
     """
         曲线方程。
         Args:
diff --git a/assets/en_api_mp_math_equation.md.CFa2gNNX.lean.js b/assets/en_api_mp_math_equation.md.CFa2gNNX.lean.js
new file mode 100644
index 0000000..2bb7492
--- /dev/null
+++ b/assets/en_api_mp_math_equation.md.CFa2gNNX.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation","editLink":false},"headers":[],"relativePath":"en/api/mp_math/equation.md","filePath":"en/api/mp_math/equation.md"}'),t={name:"en/api/mp_math/equation.md"},l=n("",30),p=[l];function h(k,e,r,E,d,g){return a(),i("div",null,p)}const F=s(t,[["render",h]]);export{u as __pageData,F as default};
diff --git a/assets/en_api_mp_math_function.md.BzQ8FTPC.js b/assets/en_api_mp_math_function.md.BzQ8FTPC.js
deleted file mode 100644
index c088319..0000000
--- a/assets/en_api_mp_math_function.md.BzQ8FTPC.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function"},"headers":[],"relativePath":"en/api/mp_math/function.md","filePath":"en/api/mp_math/function.md"}'),n={name:"en/api/mp_math/function.md"},l=a('

mbcp.mp_math.function

Description: AAA

func cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float = EPSILON) -> Vector3

Description: 计算三元函数在某点的梯度向量。

',4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a('',1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a('',1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a('',1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a(`

Arguments:

  • func: 三元函数
  • p: 点
  • epsilon: 偏移量

Return: 梯度

Source code
python
def cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float=EPSILON) -> Vector3:
-    """
-    计算三元函数在某点的梯度向量。
-    > [!tip]
-    > 已知一个函数$f(x, y, z)$,则其在点$(x_0, y_0, z_0)$处的梯度向量为:
-    $\\\\nabla f(x_0, y_0, z_0) = \\\\left(\\\\frac{\\\\partial f}{\\\\partial x}, \\\\frac{\\\\partial f}{\\\\partial y}, \\\\frac{\\\\partial f}{\\\\partial z}\\\\right)$
-    Args:
-        func: 三元函数
-        p: 点
-        epsilon: 偏移量
-    Returns:
-        梯度
-    """
-    dx = (func(p.x + epsilon, p.y, p.z) - func(p.x - epsilon, p.y, p.z)) / (2 * epsilon)
-    dy = (func(p.x, p.y + epsilon, p.z) - func(p.x, p.y - epsilon, p.z)) / (2 * epsilon)
-    dz = (func(p.x, p.y, p.z + epsilon) - func(p.x, p.y, p.z - epsilon)) / (2 * epsilon)
-    return Vector3(dx, dy, dz)
`,4);function C(L,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",C]]);export{v as __pageData,V as default}; diff --git a/assets/en_api_mp_math_function.md.BzQ8FTPC.lean.js b/assets/en_api_mp_math_function.md.BzQ8FTPC.lean.js deleted file mode 100644 index 249d8a6..0000000 --- a/assets/en_api_mp_math_function.md.BzQ8FTPC.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function"},"headers":[],"relativePath":"en/api/mp_math/function.md","filePath":"en/api/mp_math/function.md"}'),n={name:"en/api/mp_math/function.md"},l=a("",4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a("",1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a("",1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a("",1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a("",4);function C(L,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",C]]);export{v as __pageData,V as default}; diff --git a/assets/en_api_mp_math_function.md.D5HNykIX.js b/assets/en_api_mp_math_function.md.D5HNykIX.js new file mode 100644 index 0000000..e1fab56 --- /dev/null +++ b/assets/en_api_mp_math_function.md.D5HNykIX.js @@ -0,0 +1,17 @@ +import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function","editLink":false},"headers":[],"relativePath":"en/api/mp_math/function.md","filePath":"en/api/mp_math/function.md"}'),n={name:"en/api/mp_math/function.md"},l=a('

mbcp.mp_math.function

Description: AAA

func cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float = EPSILON) -> Vector3

Description: 计算三元函数在某点的梯度向量。

',4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a('',1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a('',1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a('',1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a(`

Arguments:

  • func: 三元函数
  • p: 点
  • epsilon: 偏移量

Return: 梯度

Source code
python
def cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float=EPSILON) -> Vector3:
+    """
+    计算三元函数在某点的梯度向量。
+    > [!tip]
+    > 已知一个函数$f(x, y, z)$,则其在点$(x_0, y_0, z_0)$处的梯度向量为:
+    $\\\\nabla f(x_0, y_0, z_0) = \\\\left(\\\\frac{\\\\partial f}{\\\\partial x}, \\\\frac{\\\\partial f}{\\\\partial y}, \\\\frac{\\\\partial f}{\\\\partial z}\\\\right)$
+    Args:
+        func: 三元函数
+        p: 点
+        epsilon: 偏移量
+    Returns:
+        梯度
+    """
+    dx = (func(p.x + epsilon, p.y, p.z) - func(p.x - epsilon, p.y, p.z)) / (2 * epsilon)
+    dy = (func(p.x, p.y + epsilon, p.z) - func(p.x, p.y - epsilon, p.z)) / (2 * epsilon)
+    dz = (func(p.x, p.y, p.z + epsilon) - func(p.x, p.y, p.z - epsilon)) / (2 * epsilon)
+    return Vector3(dx, dy, dz)
`,4);function L(C,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",L]]);export{v as __pageData,V as default}; diff --git a/assets/en_api_mp_math_function.md.D5HNykIX.lean.js b/assets/en_api_mp_math_function.md.D5HNykIX.lean.js new file mode 100644 index 0000000..f6844ba --- /dev/null +++ b/assets/en_api_mp_math_function.md.D5HNykIX.lean.js @@ -0,0 +1 @@ +import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function","editLink":false},"headers":[],"relativePath":"en/api/mp_math/function.md","filePath":"en/api/mp_math/function.md"}'),n={name:"en/api/mp_math/function.md"},l=a("",4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a("",1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a("",1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a("",1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a("",4);function L(C,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",L]]);export{v as __pageData,V as default}; diff --git a/assets/en_api_mp_math_index.md.BEjLBMpH.js b/assets/en_api_mp_math_index.md.BEjLBMpH.js new file mode 100644 index 0000000..430959f --- /dev/null +++ b/assets/en_api_mp_math_index.md.BEjLBMpH.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","editLink":false,"collapsed":true},"headers":[],"relativePath":"en/api/mp_math/index.md","filePath":"en/api/mp_math/index.md"}'),c={name:"en/api/mp_math/index.md"},i=o('

mbcp.mp_math

Description: 本包定义了一些常用的导入,可直接从mbcp.mp_math导入使用 导入的类有:

  • AnyAngle:任意角
  • CurveEquation:曲线方程
  • Line3:三维直线
  • Plane3:三维平面
  • Point3:三维点
  • Segment3:三维线段
  • Vector3:三维向量
',3),n=[i];function d(m,l,p,_,r,s){return a(),t("div",null,n)}const f=e(c,[["render",d]]);export{u as __pageData,f as default}; diff --git a/assets/en_api_mp_math_index.md.BEjLBMpH.lean.js b/assets/en_api_mp_math_index.md.BEjLBMpH.lean.js new file mode 100644 index 0000000..6a30daf --- /dev/null +++ b/assets/en_api_mp_math_index.md.BEjLBMpH.lean.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","editLink":false,"collapsed":true},"headers":[],"relativePath":"en/api/mp_math/index.md","filePath":"en/api/mp_math/index.md"}'),c={name:"en/api/mp_math/index.md"},i=o("",3),n=[i];function d(m,l,p,_,r,s){return a(),t("div",null,n)}const f=e(c,[["render",d]]);export{u as __pageData,f as default}; diff --git a/assets/en_api_mp_math_index.md.Gx9tQ_Za.js b/assets/en_api_mp_math_index.md.Gx9tQ_Za.js deleted file mode 100644 index 8fce09b..0000000 --- a/assets/en_api_mp_math_index.md.Gx9tQ_Za.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","collapsed":true},"headers":[],"relativePath":"en/api/mp_math/index.md","filePath":"en/api/mp_math/index.md"}'),c={name:"en/api/mp_math/index.md"},i=o('

mbcp.mp_math

Description: 本包定义了一些常用的导入,可直接从mbcp.mp_math导入使用 导入的类有:

  • AnyAngle:任意角
  • CurveEquation:曲线方程
  • Line3:三维直线
  • Plane3:三维平面
  • Point3:三维点
  • Segment3:三维线段
  • Vector3:三维向量
',3),m=[i];function n(d,p,_,l,r,s){return a(),t("div",null,m)}const b=e(c,[["render",n]]);export{u as __pageData,b as default}; diff --git a/assets/en_api_mp_math_index.md.Gx9tQ_Za.lean.js b/assets/en_api_mp_math_index.md.Gx9tQ_Za.lean.js deleted file mode 100644 index e78dea1..0000000 --- a/assets/en_api_mp_math_index.md.Gx9tQ_Za.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","collapsed":true},"headers":[],"relativePath":"en/api/mp_math/index.md","filePath":"en/api/mp_math/index.md"}'),c={name:"en/api/mp_math/index.md"},i=o("",3),m=[i];function n(d,p,_,l,r,s){return a(),t("div",null,m)}const b=e(c,[["render",n]]);export{u as __pageData,b as default}; diff --git a/assets/en_api_mp_math_line.md.e8dK90h_.js b/assets/en_api_mp_math_line.md.BI7jrk5A.js similarity index 96% rename from assets/en_api_mp_math_line.md.e8dK90h_.js rename to assets/en_api_mp_math_line.md.BI7jrk5A.js index 88be222..05b7bb9 100644 --- a/assets/en_api_mp_math_line.md.e8dK90h_.js +++ b/assets/en_api_mp_math_line.md.BI7jrk5A.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line"},"headers":[],"relativePath":"en/api/mp_math/line.md","filePath":"en/api/mp_math/line.md"}'),t={name:"en/api/mp_math/line.md"},l=n(`

mbcp.mp_math.line

Description: 本模块定义了三维空间中的直线类

class Line3

method __init__(self, point: Point3, direction: Vector3)

Description: 三维空间中的直线。由一个点和一个方向向量确定。

Arguments:

  • point: 直线上的一点
  • direction: 直线的方向向量
Source code
python
def __init__(self, point: 'Point3', direction: 'Vector3'):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line","editLink":false},"headers":[],"relativePath":"en/api/mp_math/line.md","filePath":"en/api/mp_math/line.md"}'),t={name:"en/api/mp_math/line.md"},l=n(`

mbcp.mp_math.line

Description: 本模块定义了三维空间中的直线类

class Line3

method __init__(self, point: Point3, direction: Vector3)

Description: 三维空间中的直线。由一个点和一个方向向量确定。

Arguments:

  • point: 直线上的一点
  • direction: 直线的方向向量
Source code
python
def __init__(self, point: 'Point3', direction: 'Vector3'):
     """
         三维空间中的直线。由一个点和一个方向向量确定。
         Args:
diff --git a/assets/en_api_mp_math_line.md.BI7jrk5A.lean.js b/assets/en_api_mp_math_line.md.BI7jrk5A.lean.js
new file mode 100644
index 0000000..57a3677
--- /dev/null
+++ b/assets/en_api_mp_math_line.md.BI7jrk5A.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line","editLink":false},"headers":[],"relativePath":"en/api/mp_math/line.md","filePath":"en/api/mp_math/line.md"}'),t={name:"en/api/mp_math/line.md"},l=n("",107),e=[l];function h(p,k,r,o,d,g){return a(),i("div",null,e)}const c=s(t,[["render",h]]);export{E as __pageData,c as default};
diff --git a/assets/en_api_mp_math_line.md.e8dK90h_.lean.js b/assets/en_api_mp_math_line.md.e8dK90h_.lean.js
deleted file mode 100644
index f99fb6a..0000000
--- a/assets/en_api_mp_math_line.md.e8dK90h_.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line"},"headers":[],"relativePath":"en/api/mp_math/line.md","filePath":"en/api/mp_math/line.md"}'),t={name:"en/api/mp_math/line.md"},l=n("",107),e=[l];function h(p,k,r,o,d,g){return a(),i("div",null,e)}const c=s(t,[["render",h]]);export{E as __pageData,c as default};
diff --git a/assets/en_api_mp_math_mp_math_typing.md.DByFpCMm.js b/assets/en_api_mp_math_mp_math_typing.md.DByFpCMm.js
deleted file mode 100644
index 3a10baf..0000000
--- a/assets/en_api_mp_math_mp_math_typing.md.DByFpCMm.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing"},"headers":[],"relativePath":"en/api/mp_math/mp_math_typing.md","filePath":"en/api/mp_math/mp_math_typing.md"}'),n={name:"en/api/mp_math/mp_math_typing.md"},i=l('

mbcp.mp_math.mp_math_typing

Description: 本模块用于内部类型提示

var RealNumber = int | float

  • Type: TypeAlias

  • Description: 实数

var Number = RealNumber | complex

  • Type: TypeAlias

  • Description: 数

var SingleVar = TypeVar('SingleVar', bound=Number)

  • Description: 单变量

var ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])

  • Description: 数组变量

var Var = SingleVar | ArrayVar

  • Type: TypeAlias

  • Description: 变量

var OneSingleVarFunc = Callable[[SingleVar], SingleVar]

  • Type: TypeAlias

  • Description: 一元单变量函数

var OneArrayFunc = Callable[[ArrayVar], ArrayVar]

  • Type: TypeAlias

  • Description: 一元数组函数

var OneVarFunc = OneSingleVarFunc | OneArrayFunc

  • Type: TypeAlias

  • Description: 一元函数

var TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]

  • Type: TypeAlias

  • Description: 二元单变量函数

var TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]

  • Type: TypeAlias

  • Description: 二元数组函数

var TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc

  • Type: TypeAlias

  • Description: 二元函数

var ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]

  • Type: TypeAlias

  • Description: 三元单变量函数

var ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]

  • Type: TypeAlias

  • Description: 三元数组函数

var ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc

  • Type: TypeAlias

  • Description: 三元函数

var MultiSingleVarsFunc = Callable[..., SingleVar]

  • Type: TypeAlias

  • Description: 多元单变量函数

var MultiArraysFunc = Callable[..., ArrayVar]

  • Type: TypeAlias

  • Description: 多元数组函数

var MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc

  • Type: TypeAlias

  • Description: 多元函数

',36),o=[i];function c(t,s,u,d,p,g){return e(),r("div",null,o)}const y=a(n,[["render",c]]);export{h as __pageData,y as default}; diff --git a/assets/en_api_mp_math_mp_math_typing.md.DByFpCMm.lean.js b/assets/en_api_mp_math_mp_math_typing.md.DByFpCMm.lean.js deleted file mode 100644 index 6be5dc4..0000000 --- a/assets/en_api_mp_math_mp_math_typing.md.DByFpCMm.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing"},"headers":[],"relativePath":"en/api/mp_math/mp_math_typing.md","filePath":"en/api/mp_math/mp_math_typing.md"}'),n={name:"en/api/mp_math/mp_math_typing.md"},i=l("",36),o=[i];function c(t,s,u,d,p,g){return e(),r("div",null,o)}const y=a(n,[["render",c]]);export{h as __pageData,y as default}; diff --git a/assets/en_api_mp_math_mp_math_typing.md.Dnl2aJQ4.js b/assets/en_api_mp_math_mp_math_typing.md.Dnl2aJQ4.js new file mode 100644 index 0000000..5f66ee5 --- /dev/null +++ b/assets/en_api_mp_math_mp_math_typing.md.Dnl2aJQ4.js @@ -0,0 +1 @@ +import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing","editLink":false},"headers":[],"relativePath":"en/api/mp_math/mp_math_typing.md","filePath":"en/api/mp_math/mp_math_typing.md"}'),n={name:"en/api/mp_math/mp_math_typing.md"},i=l('

mbcp.mp_math.mp_math_typing

Description: 本模块用于内部类型提示

var RealNumber = int | float

  • Type: TypeAlias

  • Description: 实数

var Number = RealNumber | complex

  • Type: TypeAlias

  • Description: 数

var SingleVar = TypeVar('SingleVar', bound=Number)

  • Description: 单变量

var ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])

  • Description: 数组变量

var Var = SingleVar | ArrayVar

  • Type: TypeAlias

  • Description: 变量

var OneSingleVarFunc = Callable[[SingleVar], SingleVar]

  • Type: TypeAlias

  • Description: 一元单变量函数

var OneArrayFunc = Callable[[ArrayVar], ArrayVar]

  • Type: TypeAlias

  • Description: 一元数组函数

var OneVarFunc = OneSingleVarFunc | OneArrayFunc

  • Type: TypeAlias

  • Description: 一元函数

var TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]

  • Type: TypeAlias

  • Description: 二元单变量函数

var TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]

  • Type: TypeAlias

  • Description: 二元数组函数

var TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc

  • Type: TypeAlias

  • Description: 二元函数

var ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]

  • Type: TypeAlias

  • Description: 三元单变量函数

var ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]

  • Type: TypeAlias

  • Description: 三元数组函数

var ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc

  • Type: TypeAlias

  • Description: 三元函数

var MultiSingleVarsFunc = Callable[..., SingleVar]

  • Type: TypeAlias

  • Description: 多元单变量函数

var MultiArraysFunc = Callable[..., ArrayVar]

  • Type: TypeAlias

  • Description: 多元数组函数

var MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc

  • Type: TypeAlias

  • Description: 多元函数

',36),o=[i];function c(t,s,u,d,p,g){return e(),r("div",null,o)}const y=a(n,[["render",c]]);export{h as __pageData,y as default}; diff --git a/assets/en_api_mp_math_mp_math_typing.md.Dnl2aJQ4.lean.js b/assets/en_api_mp_math_mp_math_typing.md.Dnl2aJQ4.lean.js new file mode 100644 index 0000000..215f152 --- /dev/null +++ b/assets/en_api_mp_math_mp_math_typing.md.Dnl2aJQ4.lean.js @@ -0,0 +1 @@ +import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing","editLink":false},"headers":[],"relativePath":"en/api/mp_math/mp_math_typing.md","filePath":"en/api/mp_math/mp_math_typing.md"}'),n={name:"en/api/mp_math/mp_math_typing.md"},i=l("",36),o=[i];function c(t,s,u,d,p,g){return e(),r("div",null,o)}const y=a(n,[["render",c]]);export{h as __pageData,y as default}; diff --git a/assets/en_api_mp_math_plane.md.DYLAU1Re.js b/assets/en_api_mp_math_plane.md.C6JEigTz.js similarity index 97% rename from assets/en_api_mp_math_plane.md.DYLAU1Re.js rename to assets/en_api_mp_math_plane.md.C6JEigTz.js index 57c7c75..ca9c8b8 100644 --- a/assets/en_api_mp_math_plane.md.DYLAU1Re.js +++ b/assets/en_api_mp_math_plane.md.C6JEigTz.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane"},"headers":[],"relativePath":"en/api/mp_math/plane.md","filePath":"en/api/mp_math/plane.md"}'),l={name:"en/api/mp_math/plane.md"},t=n(`

mbcp.mp_math.plane

Description: 本模块定义了三维空间中的平面类

class Plane3

method __init__(self, a: float, b: float, c: float, d: float)

Description: 平面方程:ax + by + cz + d = 0

Arguments:

  • a: x系数
  • b: y系数
  • c: z系数
  • d: 常数项
Source code
python
def __init__(self, a: float, b: float, c: float, d: float):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane","editLink":false},"headers":[],"relativePath":"en/api/mp_math/plane.md","filePath":"en/api/mp_math/plane.md"}'),l={name:"en/api/mp_math/plane.md"},t=n(`

mbcp.mp_math.plane

Description: 本模块定义了三维空间中的平面类

class Plane3

method __init__(self, a: float, b: float, c: float, d: float)

Description: 平面方程:ax + by + cz + d = 0

Arguments:

  • a: x系数
  • b: y系数
  • c: z系数
  • d: 常数项
Source code
python
def __init__(self, a: float, b: float, c: float, d: float):
     """
         平面方程:ax + by + cz + d = 0
         Args:
diff --git a/assets/en_api_mp_math_plane.md.C6JEigTz.lean.js b/assets/en_api_mp_math_plane.md.C6JEigTz.lean.js
new file mode 100644
index 0000000..921f178
--- /dev/null
+++ b/assets/en_api_mp_math_plane.md.C6JEigTz.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane","editLink":false},"headers":[],"relativePath":"en/api/mp_math/plane.md","filePath":"en/api/mp_math/plane.md"}'),l={name:"en/api/mp_math/plane.md"},t=n("",105),h=[t];function p(e,k,r,d,o,E){return a(),i("div",null,h)}const y=s(l,[["render",p]]);export{F as __pageData,y as default};
diff --git a/assets/en_api_mp_math_plane.md.DYLAU1Re.lean.js b/assets/en_api_mp_math_plane.md.DYLAU1Re.lean.js
deleted file mode 100644
index 05541b4..0000000
--- a/assets/en_api_mp_math_plane.md.DYLAU1Re.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane"},"headers":[],"relativePath":"en/api/mp_math/plane.md","filePath":"en/api/mp_math/plane.md"}'),l={name:"en/api/mp_math/plane.md"},t=n("",105),h=[t];function p(e,k,r,d,o,E){return a(),i("div",null,h)}const y=s(l,[["render",p]]);export{F as __pageData,y as default};
diff --git a/assets/en_api_mp_math_point.md.DYCVxK7m.lean.js b/assets/en_api_mp_math_point.md.DYCVxK7m.lean.js
deleted file mode 100644
index 932220b..0000000
--- a/assets/en_api_mp_math_point.md.DYCVxK7m.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const c=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point"},"headers":[],"relativePath":"en/api/mp_math/point.md","filePath":"en/api/mp_math/point.md"}'),n={name:"en/api/mp_math/point.md"},h=t("",36),l=[h];function e(p,k,o,r,d,E){return a(),i("div",null,l)}const y=s(n,[["render",e]]);export{c as __pageData,y as default};
diff --git a/assets/en_api_mp_math_point.md.DYCVxK7m.js b/assets/en_api_mp_math_point.md.DgKVopYL.js
similarity index 88%
rename from assets/en_api_mp_math_point.md.DYCVxK7m.js
rename to assets/en_api_mp_math_point.md.DgKVopYL.js
index a487e6c..1a81585 100644
--- a/assets/en_api_mp_math_point.md.DYCVxK7m.js
+++ b/assets/en_api_mp_math_point.md.DgKVopYL.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const c=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point"},"headers":[],"relativePath":"en/api/mp_math/point.md","filePath":"en/api/mp_math/point.md"}'),n={name:"en/api/mp_math/point.md"},h=t(`

mbcp.mp_math.point

Description: 本模块定义了三维空间中点的类。

class Point3

method __init__(self, x: float, y: float, z: float)

Description: 笛卡尔坐标系中的点。

Arguments:

  • x: x 坐标
  • y: y 坐标
  • z: z 坐标
Source code
python
def __init__(self, x: float, y: float, z: float):
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const c=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point","editLink":false},"headers":[],"relativePath":"en/api/mp_math/point.md","filePath":"en/api/mp_math/point.md"}'),n={name:"en/api/mp_math/point.md"},l=t(`

mbcp.mp_math.point

Description: 本模块定义了三维空间中点的类。

class Point3

method __init__(self, x: float, y: float, z: float)

Description: 笛卡尔坐标系中的点。

Arguments:

  • x: x 坐标
  • y: y 坐标
  • z: z 坐标
Source code
python
def __init__(self, x: float, y: float, z: float):
     """
         笛卡尔坐标系中的点。
         Args:
@@ -48,4 +48,4 @@ import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const c
 
         """
     from .vector import Vector3
-    return Vector3(self.x - other.x, self.y - other.y, self.z - other.z)
`,36),l=[h];function e(p,k,o,r,d,E){return a(),i("div",null,l)}const y=s(n,[["render",e]]);export{c as __pageData,y as default}; + return Vector3(self.x - other.x, self.y - other.y, self.z - other.z)
`,36),h=[l];function e(p,k,o,r,d,E){return a(),i("div",null,h)}const y=s(n,[["render",e]]);export{c as __pageData,y as default}; diff --git a/assets/en_api_mp_math_point.md.DgKVopYL.lean.js b/assets/en_api_mp_math_point.md.DgKVopYL.lean.js new file mode 100644 index 0000000..1b6dad3 --- /dev/null +++ b/assets/en_api_mp_math_point.md.DgKVopYL.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const c=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point","editLink":false},"headers":[],"relativePath":"en/api/mp_math/point.md","filePath":"en/api/mp_math/point.md"}'),n={name:"en/api/mp_math/point.md"},l=t("",36),h=[l];function e(p,k,o,r,d,E){return a(),i("div",null,h)}const y=s(n,[["render",e]]);export{c as __pageData,y as default}; diff --git a/assets/en_api_mp_math_segment.md.CUQLS_qv.lean.js b/assets/en_api_mp_math_segment.md.CUQLS_qv.lean.js deleted file mode 100644 index 3159f59..0000000 --- a/assets/en_api_mp_math_segment.md.CUQLS_qv.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment"},"headers":[],"relativePath":"en/api/mp_math/segment.md","filePath":"en/api/mp_math/segment.md"}'),t={name:"en/api/mp_math/segment.md"},h=n("",6),p=[h];function e(l,k,r,d,E,g){return a(),i("div",null,p)}const y=s(t,[["render",e]]);export{F as __pageData,y as default}; diff --git a/assets/en_api_mp_math_segment.md.CUQLS_qv.js b/assets/en_api_mp_math_segment.md.GweOoNT9.js similarity index 71% rename from assets/en_api_mp_math_segment.md.CUQLS_qv.js rename to assets/en_api_mp_math_segment.md.GweOoNT9.js index 2cbc331..c04bd2a 100644 --- a/assets/en_api_mp_math_segment.md.CUQLS_qv.js +++ b/assets/en_api_mp_math_segment.md.GweOoNT9.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment"},"headers":[],"relativePath":"en/api/mp_math/segment.md","filePath":"en/api/mp_math/segment.md"}'),t={name:"en/api/mp_math/segment.md"},h=n(`

mbcp.mp_math.segment

Description: 本模块定义了三维空间中的线段类

class Segment3

method __init__(self, p1: Point3, p2: Point3)

Description: 三维空间中的线段。 :param p1: :param p2:

Source code
python
def __init__(self, p1: 'Point3', p2: 'Point3'):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment","editLink":false},"headers":[],"relativePath":"en/api/mp_math/segment.md","filePath":"en/api/mp_math/segment.md"}'),t={name:"en/api/mp_math/segment.md"},h=n(`

mbcp.mp_math.segment

Description: 本模块定义了三维空间中的线段类

class Segment3

method __init__(self, p1: Point3, p2: Point3)

Description: 三维空间中的线段。 :param p1: :param p2:

Source code
python
def __init__(self, p1: 'Point3', p2: 'Point3'):
     """
         三维空间中的线段。
         :param p1:
diff --git a/assets/en_api_mp_math_segment.md.GweOoNT9.lean.js b/assets/en_api_mp_math_segment.md.GweOoNT9.lean.js
new file mode 100644
index 0000000..cfa19a5
--- /dev/null
+++ b/assets/en_api_mp_math_segment.md.GweOoNT9.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment","editLink":false},"headers":[],"relativePath":"en/api/mp_math/segment.md","filePath":"en/api/mp_math/segment.md"}'),t={name:"en/api/mp_math/segment.md"},h=n("",6),p=[h];function e(l,k,r,d,E,g){return a(),i("div",null,p)}const y=s(t,[["render",e]]);export{F as __pageData,y as default};
diff --git a/assets/en_api_mp_math_utils.md.B4NFHkPz.lean.js b/assets/en_api_mp_math_utils.md.B4NFHkPz.lean.js
deleted file mode 100644
index 7d0c625..0000000
--- a/assets/en_api_mp_math_utils.md.B4NFHkPz.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils"},"headers":[],"relativePath":"en/api/mp_math/utils.md","filePath":"en/api/mp_math/utils.md"}'),t={name:"en/api/mp_math/utils.md"},l=n("",35),h=[l];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(t,[["render",p]]);export{E as __pageData,y as default};
diff --git a/assets/en_api_mp_math_utils.md.B4NFHkPz.js b/assets/en_api_mp_math_utils.md.VHDSe3i2.js
similarity index 92%
rename from assets/en_api_mp_math_utils.md.B4NFHkPz.js
rename to assets/en_api_mp_math_utils.md.VHDSe3i2.js
index 26fde5b..8b7cd19 100644
--- a/assets/en_api_mp_math_utils.md.B4NFHkPz.js
+++ b/assets/en_api_mp_math_utils.md.VHDSe3i2.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils"},"headers":[],"relativePath":"en/api/mp_math/utils.md","filePath":"en/api/mp_math/utils.md"}'),t={name:"en/api/mp_math/utils.md"},l=n(`

mbcp.mp_math.utils

Description: 本模块定义了一些常用的工具函数

func clamp(x: float, min_: float, max_: float) -> float

Description: 区间限定函数

Arguments:

  • x: 待限定的值
  • min_: 最小值
  • max_: 最大值

Return: 限制后的值

Source code
python
def clamp(x: float, min_: float, max_: float) -> float:
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils","editLink":false},"headers":[],"relativePath":"en/api/mp_math/utils.md","filePath":"en/api/mp_math/utils.md"}'),t={name:"en/api/mp_math/utils.md"},l=n(`

mbcp.mp_math.utils

Description: 本模块定义了一些常用的工具函数

func clamp(x: float, min_: float, max_: float) -> float

Description: 区间限定函数

Arguments:

  • x: 待限定的值
  • min_: 最小值
  • max_: 最大值

Return: 限制后的值

Source code
python
def clamp(x: float, min_: float, max_: float) -> float:
     """
     区间限定函数
     Args:
diff --git a/assets/en_api_mp_math_utils.md.VHDSe3i2.lean.js b/assets/en_api_mp_math_utils.md.VHDSe3i2.lean.js
new file mode 100644
index 0000000..d52826c
--- /dev/null
+++ b/assets/en_api_mp_math_utils.md.VHDSe3i2.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils","editLink":false},"headers":[],"relativePath":"en/api/mp_math/utils.md","filePath":"en/api/mp_math/utils.md"}'),t={name:"en/api/mp_math/utils.md"},l=n("",35),h=[l];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(t,[["render",p]]);export{E as __pageData,y as default};
diff --git a/assets/en_api_mp_math_vector.md.BJF5J3QY.lean.js b/assets/en_api_mp_math_vector.md.BJF5J3QY.lean.js
deleted file mode 100644
index 5db5c89..0000000
--- a/assets/en_api_mp_math_vector.md.BJF5J3QY.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector"},"headers":[],"relativePath":"en/api/mp_math/vector.md","filePath":"en/api/mp_math/vector.md"}'),n={name:"en/api/mp_math/vector.md"},h=t("",127),e=[h];function l(p,k,r,o,d,g){return a(),i("div",null,e)}const c=s(n,[["render",l]]);export{y as __pageData,c as default};
diff --git a/assets/en_api_mp_math_vector.md.BJF5J3QY.js b/assets/en_api_mp_math_vector.md.BlzUS0V3.js
similarity index 97%
rename from assets/en_api_mp_math_vector.md.BJF5J3QY.js
rename to assets/en_api_mp_math_vector.md.BlzUS0V3.js
index 548c77f..be30ddf 100644
--- a/assets/en_api_mp_math_vector.md.BJF5J3QY.js
+++ b/assets/en_api_mp_math_vector.md.BlzUS0V3.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector"},"headers":[],"relativePath":"en/api/mp_math/vector.md","filePath":"en/api/mp_math/vector.md"}'),n={name:"en/api/mp_math/vector.md"},h=t(`

mbcp.mp_math.vector

Description: 本模块定义了3维向量的类Vector3,以及一些常用的向量。

class Vector3

method __init__(self, x: float, y: float, z: float)

Description: 3维向量

Arguments:

  • x: x轴分量
  • y: y轴分量
  • z: z轴分量
Source code
python
def __init__(self, x: float, y: float, z: float):
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector","editLink":false},"headers":[],"relativePath":"en/api/mp_math/vector.md","filePath":"en/api/mp_math/vector.md"}'),n={name:"en/api/mp_math/vector.md"},h=t(`

mbcp.mp_math.vector

Description: 本模块定义了3维向量的类Vector3,以及一些常用的向量。

class Vector3

method __init__(self, x: float, y: float, z: float)

Description: 3维向量

Arguments:

  • x: x轴分量
  • y: y轴分量
  • z: z轴分量
Source code
python
def __init__(self, x: float, y: float, z: float):
     """
         3维向量
         Args:
diff --git a/assets/en_api_mp_math_vector.md.BlzUS0V3.lean.js b/assets/en_api_mp_math_vector.md.BlzUS0V3.lean.js
new file mode 100644
index 0000000..960c528
--- /dev/null
+++ b/assets/en_api_mp_math_vector.md.BlzUS0V3.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector","editLink":false},"headers":[],"relativePath":"en/api/mp_math/vector.md","filePath":"en/api/mp_math/vector.md"}'),n={name:"en/api/mp_math/vector.md"},h=t("",127),e=[h];function l(p,k,r,o,d,g){return a(),i("div",null,e)}const c=s(n,[["render",l]]);export{y as __pageData,c as default};
diff --git a/assets/en_api_particle_index.md.BfyNQiRg.js b/assets/en_api_particle_index.md.BfyNQiRg.js
new file mode 100644
index 0000000..82f693e
--- /dev/null
+++ b/assets/en_api_particle_index.md.BfyNQiRg.js
@@ -0,0 +1 @@
+import{_ as a,c,o as i,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","editLink":false,"collapsed":true},"headers":[],"relativePath":"en/api/particle/index.md","filePath":"en/api/particle/index.md"}'),r={name:"en/api/particle/index.md"},n=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),p=e("p",null,[e("strong",null,"Description"),t(": 本模块定义了粒子生成相关的工具")],-1),s=[n,p];function l(o,d,_,m,h,f){return i(),c("div",null,s)}const u=a(r,[["render",l]]);export{b as __pageData,u as default};
diff --git a/assets/en_api_particle_index.md.BfyNQiRg.lean.js b/assets/en_api_particle_index.md.BfyNQiRg.lean.js
new file mode 100644
index 0000000..82f693e
--- /dev/null
+++ b/assets/en_api_particle_index.md.BfyNQiRg.lean.js
@@ -0,0 +1 @@
+import{_ as a,c,o as i,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","editLink":false,"collapsed":true},"headers":[],"relativePath":"en/api/particle/index.md","filePath":"en/api/particle/index.md"}'),r={name:"en/api/particle/index.md"},n=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),p=e("p",null,[e("strong",null,"Description"),t(": 本模块定义了粒子生成相关的工具")],-1),s=[n,p];function l(o,d,_,m,h,f){return i(),c("div",null,s)}const u=a(r,[["render",l]]);export{b as __pageData,u as default};
diff --git a/assets/en_api_particle_index.md.f-q0HsfK.js b/assets/en_api_particle_index.md.f-q0HsfK.js
deleted file mode 100644
index 4374b9a..0000000
--- a/assets/en_api_particle_index.md.f-q0HsfK.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c,o as r,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","collapsed":true},"headers":[],"relativePath":"en/api/particle/index.md","filePath":"en/api/particle/index.md"}'),i={name:"en/api/particle/index.md"},n=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),p=e("p",null,[e("strong",null,"Description"),t(": 本模块定义了粒子生成相关的工具")],-1),o=[n,p];function s(l,d,_,m,h,f){return r(),c("div",null,o)}const u=a(i,[["render",s]]);export{b as __pageData,u as default};
diff --git a/assets/en_api_particle_index.md.f-q0HsfK.lean.js b/assets/en_api_particle_index.md.f-q0HsfK.lean.js
deleted file mode 100644
index 4374b9a..0000000
--- a/assets/en_api_particle_index.md.f-q0HsfK.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c,o as r,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","collapsed":true},"headers":[],"relativePath":"en/api/particle/index.md","filePath":"en/api/particle/index.md"}'),i={name:"en/api/particle/index.md"},n=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),p=e("p",null,[e("strong",null,"Description"),t(": 本模块定义了粒子生成相关的工具")],-1),o=[n,p];function s(l,d,_,m,h,f){return r(),c("div",null,o)}const u=a(i,[["render",s]]);export{b as __pageData,u as default};
diff --git a/assets/en_api_presets_index.md.BWb2fpTg.js b/assets/en_api_presets_index.md.BWb2fpTg.js
new file mode 100644
index 0000000..3a3d9b3
--- /dev/null
+++ b/assets/en_api_presets_index.md.BWb2fpTg.js
@@ -0,0 +1 @@
+import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","editLink":false,"collapsed":true},"headers":[],"relativePath":"en/api/presets/index.md","filePath":"en/api/presets/index.md"}'),r={name:"en/api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"Description"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),p=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),l=[i,n,p];function c(d,m,_,h,u,f){return o(),a("div",null,l)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/en_api_presets_index.md.BWb2fpTg.lean.js b/assets/en_api_presets_index.md.BWb2fpTg.lean.js
new file mode 100644
index 0000000..3a3d9b3
--- /dev/null
+++ b/assets/en_api_presets_index.md.BWb2fpTg.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","editLink":false,"collapsed":true},"headers":[],"relativePath":"en/api/presets/index.md","filePath":"en/api/presets/index.md"}'),r={name:"en/api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"Description"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),p=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),l=[i,n,p];function c(d,m,_,h,u,f){return o(),a("div",null,l)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/en_api_presets_index.md.CAyxYhKI.js b/assets/en_api_presets_index.md.CAyxYhKI.js
deleted file mode 100644
index 5e329e3..0000000
--- a/assets/en_api_presets_index.md.CAyxYhKI.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as o,o as r,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","collapsed":true},"headers":[],"relativePath":"en/api/presets/index.md","filePath":"en/api/presets/index.md"}'),a={name:"en/api/presets/index.md"},n=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),i=e("p",null,[e("strong",null,"Description"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),p=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),c=[n,i,p];function l(d,m,_,h,u,f){return r(),o("div",null,c)}const x=s(a,[["render",l]]);export{b as __pageData,x as default};
diff --git a/assets/en_api_presets_index.md.CAyxYhKI.lean.js b/assets/en_api_presets_index.md.CAyxYhKI.lean.js
deleted file mode 100644
index 5e329e3..0000000
--- a/assets/en_api_presets_index.md.CAyxYhKI.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as o,o as r,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","collapsed":true},"headers":[],"relativePath":"en/api/presets/index.md","filePath":"en/api/presets/index.md"}'),a={name:"en/api/presets/index.md"},n=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),i=e("p",null,[e("strong",null,"Description"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),p=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),c=[n,i,p];function l(d,m,_,h,u,f){return r(),o("div",null,c)}const x=s(a,[["render",l]]);export{b as __pageData,x as default};
diff --git a/assets/en_api_presets_model_index.md.DypEdCdE.js b/assets/en_api_presets_model_index.md.BOZde1R5.js
similarity index 79%
rename from assets/en_api_presets_model_index.md.DypEdCdE.js
rename to assets/en_api_presets_model_index.md.BOZde1R5.js
index 3203498..208d48d 100644
--- a/assets/en_api_presets_model_index.md.DypEdCdE.js
+++ b/assets/en_api_presets_model_index.md.BOZde1R5.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","collapsed":true},"headers":[],"relativePath":"en/api/presets/model/index.md","filePath":"en/api/presets/model/index.md"}'),t={name:"en/api/presets/model/index.md"},h=n(`

mbcp.presets.model

Description: 几何模型点集

class GeometricModels

@staticmethod

method sphere(radius: float, density: float)

Description: 生成球体上的点集。

Arguments:

  • radius:
  • density:

Return: List[Point3]: 球体上的点集。

Source code
python
@staticmethod
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","editLink":false,"collapsed":true},"headers":[],"relativePath":"en/api/presets/model/index.md","filePath":"en/api/presets/model/index.md"}'),t={name:"en/api/presets/model/index.md"},h=n(`

mbcp.presets.model

Description: 几何模型点集

class GeometricModels

@staticmethod

method sphere(radius: float, density: float)

Description: 生成球体上的点集。

Arguments:

  • radius:
  • density:

Return: List[Point3]: 球体上的点集。

Source code
python
@staticmethod
 def sphere(radius: float, density: float):
     """
         生成球体上的点集。
diff --git a/assets/en_api_presets_model_index.md.BOZde1R5.lean.js b/assets/en_api_presets_model_index.md.BOZde1R5.lean.js
new file mode 100644
index 0000000..59631d6
--- /dev/null
+++ b/assets/en_api_presets_model_index.md.BOZde1R5.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","editLink":false,"collapsed":true},"headers":[],"relativePath":"en/api/presets/model/index.md","filePath":"en/api/presets/model/index.md"}'),t={name:"en/api/presets/model/index.md"},h=n("",10),l=[h];function p(e,k,r,d,E,o){return a(),i("div",null,l)}const c=s(t,[["render",p]]);export{y as __pageData,c as default};
diff --git a/assets/en_api_presets_model_index.md.DypEdCdE.lean.js b/assets/en_api_presets_model_index.md.DypEdCdE.lean.js
deleted file mode 100644
index b8472c9..0000000
--- a/assets/en_api_presets_model_index.md.DypEdCdE.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","collapsed":true},"headers":[],"relativePath":"en/api/presets/model/index.md","filePath":"en/api/presets/model/index.md"}'),t={name:"en/api/presets/model/index.md"},h=n("",10),l=[h];function p(e,k,r,d,E,o){return a(),i("div",null,l)}const c=s(t,[["render",p]]);export{y as __pageData,c as default};
diff --git a/assets/guide_index.md.NVx3l2Cr.js b/assets/guide_index.md.Cfmzk2IH.js
similarity index 74%
rename from assets/guide_index.md.NVx3l2Cr.js
rename to assets/guide_index.md.Cfmzk2IH.js
index eaad12c..e5d9dae 100644
--- a/assets/guide_index.md.NVx3l2Cr.js
+++ b/assets/guide_index.md.Cfmzk2IH.js
@@ -1 +1 @@
-import{_ as T,c as e,j as t,a as s,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const H=JSON.parse('{"title":"开始不了一点","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"zh/guide/index.md"}'),n={name:"guide/index.md"},Q=t("h1",{id:"开始不了一点",tabindex:"-1"},[s("开始不了一点 "),t("a",{class:"header-anchor",href:"#开始不了一点","aria-label":'Permalink to "开始不了一点"'},"​")],-1),l={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.771ex"},xmlns:"http://www.w3.org/2000/svg",width:"7.561ex",height:"3.042ex",role:"img",focusable:"false",viewBox:"0 -1003.5 3342.1 1344.3","aria-hidden":"true"},r=o('',1),i=[r],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("msubsup",null,[t("mo",{"data-mjx-texclass":"OP"},"∫"),t("mrow",{"data-mjx-texclass":"ORD"},[t("mn",null,"1")]),t("mrow",{"data-mjx-texclass":"ORD"},[t("mn",null,"2")])]),t("mi",null,"x"),t("mn",null,"111")])],-1);function c(h,p,x,_,g,u){return a(),e("div",null,[Q,t("p",null,[t("mjx-container",l,[(a(),e("svg",d,i)),m])])])}const w=T(n,[["render",c]]);export{H as __pageData,w as default};
+import{_ as s,c as t,j as a,a as o,a2 as T,o as e}from"./chunks/framework.C94oF1kp.js";const f=JSON.parse('{"title":"开始不了一点","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"zh/guide/index.md"}'),d={name:"guide/index.md"},l=a("h1",{id:"开始不了一点",tabindex:"-1"},[o("开始不了一点 "),a("a",{class:"header-anchor",href:"#开始不了一点","aria-label":'Permalink to "开始不了一点"'},"​")],-1),n={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},r={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.771ex"},xmlns:"http://www.w3.org/2000/svg",width:"7.561ex",height:"3.042ex",role:"img",focusable:"false",viewBox:"0 -1003.5 3342.1 1344.3","aria-hidden":"true"},Q=T('',1),i=[Q],h=a("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[a("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[a("msubsup",null,[a("mo",{"data-mjx-texclass":"OP"},"∫"),a("mrow",{"data-mjx-texclass":"ORD"},[a("mn",null,"1")]),a("mrow",{"data-mjx-texclass":"ORD"},[a("mn",null,"2")])]),a("mi",null,"x"),a("mn",null,"111")])],-1),m=T('

AAA

BBB

C

ddd

',4);function c(p,_,x,u,g,V){return e(),t("div",null,[l,a("p",null,[a("mjx-container",n,[(e(),t("svg",r,i)),h])]),m])}const b=s(d,[["render",c]]);export{f as __pageData,b as default}; diff --git a/assets/guide_index.md.Cfmzk2IH.lean.js b/assets/guide_index.md.Cfmzk2IH.lean.js new file mode 100644 index 0000000..9bebe07 --- /dev/null +++ b/assets/guide_index.md.Cfmzk2IH.lean.js @@ -0,0 +1 @@ +import{_ as s,c as t,j as a,a as o,a2 as T,o as e}from"./chunks/framework.C94oF1kp.js";const f=JSON.parse('{"title":"开始不了一点","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"zh/guide/index.md"}'),d={name:"guide/index.md"},l=a("h1",{id:"开始不了一点",tabindex:"-1"},[o("开始不了一点 "),a("a",{class:"header-anchor",href:"#开始不了一点","aria-label":'Permalink to "开始不了一点"'},"​")],-1),n={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},r={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.771ex"},xmlns:"http://www.w3.org/2000/svg",width:"7.561ex",height:"3.042ex",role:"img",focusable:"false",viewBox:"0 -1003.5 3342.1 1344.3","aria-hidden":"true"},Q=T("",1),i=[Q],h=a("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[a("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[a("msubsup",null,[a("mo",{"data-mjx-texclass":"OP"},"∫"),a("mrow",{"data-mjx-texclass":"ORD"},[a("mn",null,"1")]),a("mrow",{"data-mjx-texclass":"ORD"},[a("mn",null,"2")])]),a("mi",null,"x"),a("mn",null,"111")])],-1),m=T("",4);function c(p,_,x,u,g,V){return e(),t("div",null,[l,a("p",null,[a("mjx-container",n,[(e(),t("svg",r,i)),h])]),m])}const b=s(d,[["render",c]]);export{f as __pageData,b as default}; diff --git a/assets/guide_index.md.NVx3l2Cr.lean.js b/assets/guide_index.md.NVx3l2Cr.lean.js deleted file mode 100644 index 77a8e3e..0000000 --- a/assets/guide_index.md.NVx3l2Cr.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as T,c as e,j as t,a as s,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const H=JSON.parse('{"title":"开始不了一点","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"zh/guide/index.md"}'),n={name:"guide/index.md"},Q=t("h1",{id:"开始不了一点",tabindex:"-1"},[s("开始不了一点 "),t("a",{class:"header-anchor",href:"#开始不了一点","aria-label":'Permalink to "开始不了一点"'},"​")],-1),l={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.771ex"},xmlns:"http://www.w3.org/2000/svg",width:"7.561ex",height:"3.042ex",role:"img",focusable:"false",viewBox:"0 -1003.5 3342.1 1344.3","aria-hidden":"true"},r=o("",1),i=[r],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("msubsup",null,[t("mo",{"data-mjx-texclass":"OP"},"∫"),t("mrow",{"data-mjx-texclass":"ORD"},[t("mn",null,"1")]),t("mrow",{"data-mjx-texclass":"ORD"},[t("mn",null,"2")])]),t("mi",null,"x"),t("mn",null,"111")])],-1);function c(h,p,x,_,g,u){return a(),e("div",null,[Q,t("p",null,[t("mjx-container",l,[(a(),e("svg",d,i)),m])])])}const w=T(n,[["render",c]]);export{H as __pageData,w as default}; diff --git a/assets/ja_api_index.md.CnUeuifx.js b/assets/ja_api_index.md.CnUeuifx.js new file mode 100644 index 0000000..a40e5dc --- /dev/null +++ b/assets/ja_api_index.md.CnUeuifx.js @@ -0,0 +1 @@ +import{_ as t,c as n,o as s,j as e,a}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","editLink":false,"collapsed":true},"headers":[],"relativePath":"ja/api/index.md","filePath":"ja/api/index.md"}'),c={name:"ja/api/index.md"},o=e("h1",{id:"mbcp",tabindex:"-1"},[a("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),i=e("p",null,[e("strong",null,"説明"),a(": 本模块塞了一些预设的粒子生成器")],-1),r=[o,i];function d(p,l,_,m,h,f){return s(),n("div",null,r)}const u=t(c,[["render",d]]);export{b as __pageData,u as default}; diff --git a/assets/ja_api_index.md.CnUeuifx.lean.js b/assets/ja_api_index.md.CnUeuifx.lean.js new file mode 100644 index 0000000..a40e5dc --- /dev/null +++ b/assets/ja_api_index.md.CnUeuifx.lean.js @@ -0,0 +1 @@ +import{_ as t,c as n,o as s,j as e,a}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","editLink":false,"collapsed":true},"headers":[],"relativePath":"ja/api/index.md","filePath":"ja/api/index.md"}'),c={name:"ja/api/index.md"},o=e("h1",{id:"mbcp",tabindex:"-1"},[a("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),i=e("p",null,[e("strong",null,"説明"),a(": 本模块塞了一些预设的粒子生成器")],-1),r=[o,i];function d(p,l,_,m,h,f){return s(),n("div",null,r)}const u=t(c,[["render",d]]);export{b as __pageData,u as default}; diff --git a/assets/ja_api_index.md.DW7hb-YH.js b/assets/ja_api_index.md.DW7hb-YH.js deleted file mode 100644 index 723a176..0000000 --- a/assets/ja_api_index.md.DW7hb-YH.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,c,o as n,j as e,a}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","collapsed":true},"headers":[],"relativePath":"ja/api/index.md","filePath":"ja/api/index.md"}'),o={name:"ja/api/index.md"},s=e("h1",{id:"mbcp",tabindex:"-1"},[a("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),r=e("p",null,[e("strong",null,"説明"),a(": 本模块塞了一些预设的粒子生成器")],-1),i=[s,r];function d(p,l,_,m,h,f){return n(),c("div",null,i)}const u=t(o,[["render",d]]);export{b as __pageData,u as default}; diff --git a/assets/ja_api_index.md.DW7hb-YH.lean.js b/assets/ja_api_index.md.DW7hb-YH.lean.js deleted file mode 100644 index 723a176..0000000 --- a/assets/ja_api_index.md.DW7hb-YH.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,c,o as n,j as e,a}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","collapsed":true},"headers":[],"relativePath":"ja/api/index.md","filePath":"ja/api/index.md"}'),o={name:"ja/api/index.md"},s=e("h1",{id:"mbcp",tabindex:"-1"},[a("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),r=e("p",null,[e("strong",null,"説明"),a(": 本模块塞了一些预设的粒子生成器")],-1),i=[s,r];function d(p,l,_,m,h,f){return n(),c("div",null,i)}const u=t(o,[["render",d]]);export{b as __pageData,u as default}; diff --git a/assets/ja_api_mp_math_angle.md.Cac0Crec.lean.js b/assets/ja_api_mp_math_angle.md.Cac0Crec.lean.js deleted file mode 100644 index a464f33..0000000 --- a/assets/ja_api_mp_math_angle.md.Cac0Crec.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle"},"headers":[],"relativePath":"ja/api/mp_math/angle.md","filePath":"ja/api/mp_math/angle.md"}'),t={name:"ja/api/mp_math/angle.md"},e=n("",80),l=[e];function h(p,k,r,d,o,g){return a(),i("div",null,l)}const c=s(t,[["render",h]]);export{F as __pageData,c as default}; diff --git a/assets/ja_api_mp_math_angle.md.Cac0Crec.js b/assets/ja_api_mp_math_angle.md.mNl1_TuR.js similarity index 94% rename from assets/ja_api_mp_math_angle.md.Cac0Crec.js rename to assets/ja_api_mp_math_angle.md.mNl1_TuR.js index 2896cad..f1764e4 100644 --- a/assets/ja_api_mp_math_angle.md.Cac0Crec.js +++ b/assets/ja_api_mp_math_angle.md.mNl1_TuR.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle"},"headers":[],"relativePath":"ja/api/mp_math/angle.md","filePath":"ja/api/mp_math/angle.md"}'),t={name:"ja/api/mp_math/angle.md"},e=n(`

mbcp.mp_math.angle

説明: 本模块定义了角度相关的类

class Angle

class AnyAngle(Angle)

method __init__(self, value: float, is_radian: bool = False)

説明: 任意角度。

引数:

  • value: 角度或弧度值
  • is_radian: 是否为弧度,默认为否
ソースコード
python
def __init__(self, value: float, is_radian: bool=False):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/angle.md","filePath":"ja/api/mp_math/angle.md"}'),t={name:"ja/api/mp_math/angle.md"},e=n(`

mbcp.mp_math.angle

説明: 本模块定义了角度相关的类

class Angle

class AnyAngle(Angle)

method __init__(self, value: float, is_radian: bool = False)

説明: 任意角度。

引数:

  • value: 角度或弧度值
  • is_radian: 是否为弧度,默认为否
ソースコード
python
def __init__(self, value: float, is_radian: bool=False):
     """
         任意角度。
         Args:
diff --git a/assets/ja_api_mp_math_angle.md.mNl1_TuR.lean.js b/assets/ja_api_mp_math_angle.md.mNl1_TuR.lean.js
new file mode 100644
index 0000000..adc42fe
--- /dev/null
+++ b/assets/ja_api_mp_math_angle.md.mNl1_TuR.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/angle.md","filePath":"ja/api/mp_math/angle.md"}'),t={name:"ja/api/mp_math/angle.md"},e=n("",80),l=[e];function h(p,k,r,d,o,g){return a(),i("div",null,l)}const c=s(t,[["render",h]]);export{F as __pageData,c as default};
diff --git a/assets/ja_api_mp_math_const.md.ClLsNkM_.js b/assets/ja_api_mp_math_const.md.ClLsNkM_.js
deleted file mode 100644
index f0ddcc5..0000000
--- a/assets/ja_api_mp_math_const.md.ClLsNkM_.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const"},"headers":[],"relativePath":"ja/api/mp_math/const.md","filePath":"ja/api/mp_math/const.md"}'),r={name:"ja/api/mp_math/const.md"},c=o('

mbcp.mp_math.const

説明: 本模块定义了一些常用的常量

var PI = math.pi

  • 説明: 常量 π

var E = math.e

  • 説明: 自然对数的底 exp(1)

var GOLDEN_RATIO = (1 + math.sqrt(5)) / 2

  • 説明: 黄金分割比

var GAMMA = 0.5772156649015329

  • 説明: 欧拉常数

var EPSILON = 0.0001

  • 説明: 精度误差

var APPROX = 0.001

  • 説明: 约等于判定误差
',14),i=[c];function n(l,s,h,d,m,p){return e(),t("div",null,i)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/ja_api_mp_math_const.md.ClLsNkM_.lean.js b/assets/ja_api_mp_math_const.md.ClLsNkM_.lean.js deleted file mode 100644 index 3c5cbf7..0000000 --- a/assets/ja_api_mp_math_const.md.ClLsNkM_.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const"},"headers":[],"relativePath":"ja/api/mp_math/const.md","filePath":"ja/api/mp_math/const.md"}'),r={name:"ja/api/mp_math/const.md"},c=o("",14),i=[c];function n(l,s,h,d,m,p){return e(),t("div",null,i)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/ja_api_mp_math_const.md.DGXAgDfn.js b/assets/ja_api_mp_math_const.md.DGXAgDfn.js new file mode 100644 index 0000000..0c4a1b0 --- /dev/null +++ b/assets/ja_api_mp_math_const.md.DGXAgDfn.js @@ -0,0 +1 @@ +import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/const.md","filePath":"ja/api/mp_math/const.md"}'),r={name:"ja/api/mp_math/const.md"},c=o('

mbcp.mp_math.const

説明: 本模块定义了一些常用的常量

var PI = math.pi

  • 説明: 常量 π

var E = math.e

  • 説明: 自然对数的底 exp(1)

var GOLDEN_RATIO = (1 + math.sqrt(5)) / 2

  • 説明: 黄金分割比

var GAMMA = 0.5772156649015329

  • 説明: 欧拉常数

var EPSILON = 0.0001

  • 説明: 精度误差

var APPROX = 0.001

  • 説明: 约等于判定误差
',14),i=[c];function n(l,s,h,d,m,p){return e(),t("div",null,i)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/ja_api_mp_math_const.md.DGXAgDfn.lean.js b/assets/ja_api_mp_math_const.md.DGXAgDfn.lean.js new file mode 100644 index 0000000..7556282 --- /dev/null +++ b/assets/ja_api_mp_math_const.md.DGXAgDfn.lean.js @@ -0,0 +1 @@ +import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/const.md","filePath":"ja/api/mp_math/const.md"}'),r={name:"ja/api/mp_math/const.md"},c=o("",14),i=[c];function n(l,s,h,d,m,p){return e(),t("div",null,i)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/ja_api_mp_math_equation.md.8i-WXc7A.lean.js b/assets/ja_api_mp_math_equation.md.8i-WXc7A.lean.js deleted file mode 100644 index c140908..0000000 --- a/assets/ja_api_mp_math_equation.md.8i-WXc7A.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation"},"headers":[],"relativePath":"ja/api/mp_math/equation.md","filePath":"ja/api/mp_math/equation.md"}'),l={name:"ja/api/mp_math/equation.md"},t=n("",30),p=[t];function h(k,e,r,E,d,g){return a(),i("div",null,p)}const F=s(l,[["render",h]]);export{u as __pageData,F as default}; diff --git a/assets/ja_api_mp_math_equation.md.8i-WXc7A.js b/assets/ja_api_mp_math_equation.md.Bx4R1cWT.js similarity index 91% rename from assets/ja_api_mp_math_equation.md.8i-WXc7A.js rename to assets/ja_api_mp_math_equation.md.Bx4R1cWT.js index d73b6c3..26eeafe 100644 --- a/assets/ja_api_mp_math_equation.md.8i-WXc7A.js +++ b/assets/ja_api_mp_math_equation.md.Bx4R1cWT.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation"},"headers":[],"relativePath":"ja/api/mp_math/equation.md","filePath":"ja/api/mp_math/equation.md"}'),l={name:"ja/api/mp_math/equation.md"},t=n(`

mbcp.mp_math.equation

説明: 本模块定义了方程相关的类和函数以及一些常用的数学函数

class CurveEquation

method __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc)

説明: 曲线方程。

引数:

  • x_func: x函数
  • y_func: y函数
  • z_func: z函数
ソースコード
python
def __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/equation.md","filePath":"ja/api/mp_math/equation.md"}'),l={name:"ja/api/mp_math/equation.md"},t=n(`

mbcp.mp_math.equation

説明: 本模块定义了方程相关的类和函数以及一些常用的数学函数

class CurveEquation

method __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc)

説明: 曲线方程。

引数:

  • x_func: x函数
  • y_func: y函数
  • z_func: z函数
ソースコード
python
def __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc):
     """
         曲线方程。
         Args:
diff --git a/assets/ja_api_mp_math_equation.md.Bx4R1cWT.lean.js b/assets/ja_api_mp_math_equation.md.Bx4R1cWT.lean.js
new file mode 100644
index 0000000..3715c76
--- /dev/null
+++ b/assets/ja_api_mp_math_equation.md.Bx4R1cWT.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/equation.md","filePath":"ja/api/mp_math/equation.md"}'),l={name:"ja/api/mp_math/equation.md"},t=n("",30),p=[t];function h(k,e,r,E,d,g){return a(),i("div",null,p)}const F=s(l,[["render",h]]);export{u as __pageData,F as default};
diff --git a/assets/ja_api_mp_math_function.md.D1A2lXjy.js b/assets/ja_api_mp_math_function.md.D1A2lXjy.js
new file mode 100644
index 0000000..79abebd
--- /dev/null
+++ b/assets/ja_api_mp_math_function.md.D1A2lXjy.js
@@ -0,0 +1,17 @@
+import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/function.md","filePath":"ja/api/mp_math/function.md"}'),n={name:"ja/api/mp_math/function.md"},l=a('

mbcp.mp_math.function

説明: AAA

func cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float = EPSILON) -> Vector3

説明: 计算三元函数在某点的梯度向量。

',4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a('',1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a('',1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a('',1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a(`

引数:

  • func: 三元函数
  • p: 点
  • epsilon: 偏移量

戻り値: 梯度

ソースコード
python
def cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float=EPSILON) -> Vector3:
+    """
+    计算三元函数在某点的梯度向量。
+    > [!tip]
+    > 已知一个函数$f(x, y, z)$,则其在点$(x_0, y_0, z_0)$处的梯度向量为:
+    $\\\\nabla f(x_0, y_0, z_0) = \\\\left(\\\\frac{\\\\partial f}{\\\\partial x}, \\\\frac{\\\\partial f}{\\\\partial y}, \\\\frac{\\\\partial f}{\\\\partial z}\\\\right)$
+    Args:
+        func: 三元函数
+        p: 点
+        epsilon: 偏移量
+    Returns:
+        梯度
+    """
+    dx = (func(p.x + epsilon, p.y, p.z) - func(p.x - epsilon, p.y, p.z)) / (2 * epsilon)
+    dy = (func(p.x, p.y + epsilon, p.z) - func(p.x, p.y - epsilon, p.z)) / (2 * epsilon)
+    dz = (func(p.x, p.y, p.z + epsilon) - func(p.x, p.y, p.z - epsilon)) / (2 * epsilon)
+    return Vector3(dx, dy, dz)
`,4);function L(C,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",L]]);export{v as __pageData,V as default}; diff --git a/assets/ja_api_mp_math_function.md.D1A2lXjy.lean.js b/assets/ja_api_mp_math_function.md.D1A2lXjy.lean.js new file mode 100644 index 0000000..ef9c878 --- /dev/null +++ b/assets/ja_api_mp_math_function.md.D1A2lXjy.lean.js @@ -0,0 +1 @@ +import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/function.md","filePath":"ja/api/mp_math/function.md"}'),n={name:"ja/api/mp_math/function.md"},l=a("",4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a("",1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a("",1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a("",1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a("",4);function L(C,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",L]]);export{v as __pageData,V as default}; diff --git a/assets/ja_api_mp_math_function.md.GLsPZWha.js b/assets/ja_api_mp_math_function.md.GLsPZWha.js deleted file mode 100644 index fda7939..0000000 --- a/assets/ja_api_mp_math_function.md.GLsPZWha.js +++ /dev/null @@ -1,17 +0,0 @@ -import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function"},"headers":[],"relativePath":"ja/api/mp_math/function.md","filePath":"ja/api/mp_math/function.md"}'),n={name:"ja/api/mp_math/function.md"},l=a('

mbcp.mp_math.function

説明: AAA

func cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float = EPSILON) -> Vector3

説明: 计算三元函数在某点的梯度向量。

',4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a('',1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a('',1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a('',1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a(`

引数:

  • func: 三元函数
  • p: 点
  • epsilon: 偏移量

戻り値: 梯度

ソースコード
python
def cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float=EPSILON) -> Vector3:
-    """
-    计算三元函数在某点的梯度向量。
-    > [!tip]
-    > 已知一个函数$f(x, y, z)$,则其在点$(x_0, y_0, z_0)$处的梯度向量为:
-    $\\\\nabla f(x_0, y_0, z_0) = \\\\left(\\\\frac{\\\\partial f}{\\\\partial x}, \\\\frac{\\\\partial f}{\\\\partial y}, \\\\frac{\\\\partial f}{\\\\partial z}\\\\right)$
-    Args:
-        func: 三元函数
-        p: 点
-        epsilon: 偏移量
-    Returns:
-        梯度
-    """
-    dx = (func(p.x + epsilon, p.y, p.z) - func(p.x - epsilon, p.y, p.z)) / (2 * epsilon)
-    dy = (func(p.x, p.y + epsilon, p.z) - func(p.x, p.y - epsilon, p.z)) / (2 * epsilon)
-    dz = (func(p.x, p.y, p.z + epsilon) - func(p.x, p.y, p.z - epsilon)) / (2 * epsilon)
-    return Vector3(dx, dy, dz)
`,4);function C(L,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",C]]);export{v as __pageData,V as default}; diff --git a/assets/ja_api_mp_math_function.md.GLsPZWha.lean.js b/assets/ja_api_mp_math_function.md.GLsPZWha.lean.js deleted file mode 100644 index ac13516..0000000 --- a/assets/ja_api_mp_math_function.md.GLsPZWha.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function"},"headers":[],"relativePath":"ja/api/mp_math/function.md","filePath":"ja/api/mp_math/function.md"}'),n={name:"ja/api/mp_math/function.md"},l=a("",4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a("",1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a("",1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a("",1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a("",4);function C(L,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",C]]);export{v as __pageData,V as default}; diff --git a/assets/ja_api_mp_math_index.md.BBAQ-AOT.js b/assets/ja_api_mp_math_index.md.BBAQ-AOT.js deleted file mode 100644 index f2ad3b5..0000000 --- a/assets/ja_api_mp_math_index.md.BBAQ-AOT.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","collapsed":true},"headers":[],"relativePath":"ja/api/mp_math/index.md","filePath":"ja/api/mp_math/index.md"}'),c={name:"ja/api/mp_math/index.md"},i=o('

mbcp.mp_math

説明: 本包定义了一些常用的导入,可直接从mbcp.mp_math导入使用 导入的类有:

  • AnyAngle:任意角
  • CurveEquation:曲线方程
  • Line3:三维直线
  • Plane3:三维平面
  • Point3:三维点
  • Segment3:三维线段
  • Vector3:三维向量
',3),m=[i];function d(_,l,n,p,r,s){return a(),t("div",null,m)}const b=e(c,[["render",d]]);export{u as __pageData,b as default}; diff --git a/assets/ja_api_mp_math_index.md.BBAQ-AOT.lean.js b/assets/ja_api_mp_math_index.md.BBAQ-AOT.lean.js deleted file mode 100644 index 78f24b8..0000000 --- a/assets/ja_api_mp_math_index.md.BBAQ-AOT.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","collapsed":true},"headers":[],"relativePath":"ja/api/mp_math/index.md","filePath":"ja/api/mp_math/index.md"}'),c={name:"ja/api/mp_math/index.md"},i=o("",3),m=[i];function d(_,l,n,p,r,s){return a(),t("div",null,m)}const b=e(c,[["render",d]]);export{u as __pageData,b as default}; diff --git a/assets/ja_api_mp_math_index.md.CTZZ-p9Z.js b/assets/ja_api_mp_math_index.md.CTZZ-p9Z.js new file mode 100644 index 0000000..ea192a0 --- /dev/null +++ b/assets/ja_api_mp_math_index.md.CTZZ-p9Z.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","editLink":false,"collapsed":true},"headers":[],"relativePath":"ja/api/mp_math/index.md","filePath":"ja/api/mp_math/index.md"}'),c={name:"ja/api/mp_math/index.md"},i=o('

mbcp.mp_math

説明: 本包定义了一些常用的导入,可直接从mbcp.mp_math导入使用 导入的类有:

  • AnyAngle:任意角
  • CurveEquation:曲线方程
  • Line3:三维直线
  • Plane3:三维平面
  • Point3:三维点
  • Segment3:三维线段
  • Vector3:三维向量
',3),d=[i];function m(l,n,_,p,r,s){return a(),t("div",null,d)}const f=e(c,[["render",m]]);export{u as __pageData,f as default}; diff --git a/assets/ja_api_mp_math_index.md.CTZZ-p9Z.lean.js b/assets/ja_api_mp_math_index.md.CTZZ-p9Z.lean.js new file mode 100644 index 0000000..bceed43 --- /dev/null +++ b/assets/ja_api_mp_math_index.md.CTZZ-p9Z.lean.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","editLink":false,"collapsed":true},"headers":[],"relativePath":"ja/api/mp_math/index.md","filePath":"ja/api/mp_math/index.md"}'),c={name:"ja/api/mp_math/index.md"},i=o("",3),d=[i];function m(l,n,_,p,r,s){return a(),t("div",null,d)}const f=e(c,[["render",m]]);export{u as __pageData,f as default}; diff --git a/assets/ja_api_mp_math_line.md.BwZJXqnL.lean.js b/assets/ja_api_mp_math_line.md.BwZJXqnL.lean.js deleted file mode 100644 index 6bbd2a1..0000000 --- a/assets/ja_api_mp_math_line.md.BwZJXqnL.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line"},"headers":[],"relativePath":"ja/api/mp_math/line.md","filePath":"ja/api/mp_math/line.md"}'),t={name:"ja/api/mp_math/line.md"},l=n("",107),h=[l];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(t,[["render",p]]);export{E as __pageData,y as default}; diff --git a/assets/ja_api_mp_math_line.md.BwZJXqnL.js b/assets/ja_api_mp_math_line.md.CUb8HcBw.js similarity index 96% rename from assets/ja_api_mp_math_line.md.BwZJXqnL.js rename to assets/ja_api_mp_math_line.md.CUb8HcBw.js index ba2bb95..281c949 100644 --- a/assets/ja_api_mp_math_line.md.BwZJXqnL.js +++ b/assets/ja_api_mp_math_line.md.CUb8HcBw.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line"},"headers":[],"relativePath":"ja/api/mp_math/line.md","filePath":"ja/api/mp_math/line.md"}'),t={name:"ja/api/mp_math/line.md"},l=n(`

mbcp.mp_math.line

説明: 本模块定义了三维空间中的直线类

class Line3

method __init__(self, point: Point3, direction: Vector3)

説明: 三维空间中的直线。由一个点和一个方向向量确定。

引数:

  • point: 直线上的一点
  • direction: 直线的方向向量
ソースコード
python
def __init__(self, point: 'Point3', direction: 'Vector3'):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/line.md","filePath":"ja/api/mp_math/line.md"}'),t={name:"ja/api/mp_math/line.md"},l=n(`

mbcp.mp_math.line

説明: 本模块定义了三维空间中的直线类

class Line3

method __init__(self, point: Point3, direction: Vector3)

説明: 三维空间中的直线。由一个点和一个方向向量确定。

引数:

  • point: 直线上的一点
  • direction: 直线的方向向量
ソースコード
python
def __init__(self, point: 'Point3', direction: 'Vector3'):
     """
         三维空间中的直线。由一个点和一个方向向量确定。
         Args:
diff --git a/assets/ja_api_mp_math_line.md.CUb8HcBw.lean.js b/assets/ja_api_mp_math_line.md.CUb8HcBw.lean.js
new file mode 100644
index 0000000..69f2dae
--- /dev/null
+++ b/assets/ja_api_mp_math_line.md.CUb8HcBw.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/line.md","filePath":"ja/api/mp_math/line.md"}'),t={name:"ja/api/mp_math/line.md"},l=n("",107),h=[l];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(t,[["render",p]]);export{E as __pageData,y as default};
diff --git a/assets/ja_api_mp_math_mp_math_typing.md.BNymgrCT.js b/assets/ja_api_mp_math_mp_math_typing.md.BNymgrCT.js
new file mode 100644
index 0000000..831858c
--- /dev/null
+++ b/assets/ja_api_mp_math_mp_math_typing.md.BNymgrCT.js
@@ -0,0 +1 @@
+import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/mp_math_typing.md","filePath":"ja/api/mp_math/mp_math_typing.md"}'),n={name:"ja/api/mp_math/mp_math_typing.md"},o=l('

mbcp.mp_math.mp_math_typing

説明: 本模块用于内部类型提示

var RealNumber = int | float

  • タイプ: TypeAlias

  • 説明: 实数

var Number = RealNumber | complex

  • タイプ: TypeAlias

  • 説明: 数

var SingleVar = TypeVar('SingleVar', bound=Number)

  • 説明: 单变量

var ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])

  • 説明: 数组变量

var Var = SingleVar | ArrayVar

  • タイプ: TypeAlias

  • 説明: 变量

var OneSingleVarFunc = Callable[[SingleVar], SingleVar]

  • タイプ: TypeAlias

  • 説明: 一元单变量函数

var OneArrayFunc = Callable[[ArrayVar], ArrayVar]

  • タイプ: TypeAlias

  • 説明: 一元数组函数

var OneVarFunc = OneSingleVarFunc | OneArrayFunc

  • タイプ: TypeAlias

  • 説明: 一元函数

var TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]

  • タイプ: TypeAlias

  • 説明: 二元单变量函数

var TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]

  • タイプ: TypeAlias

  • 説明: 二元数组函数

var TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc

  • タイプ: TypeAlias

  • 説明: 二元函数

var ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]

  • タイプ: TypeAlias

  • 説明: 三元单变量函数

var ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]

  • タイプ: TypeAlias

  • 説明: 三元数组函数

var ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc

  • タイプ: TypeAlias

  • 説明: 三元函数

var MultiSingleVarsFunc = Callable[..., SingleVar]

  • タイプ: TypeAlias

  • 説明: 多元单变量函数

var MultiArraysFunc = Callable[..., ArrayVar]

  • タイプ: TypeAlias

  • 説明: 多元数组函数

var MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc

  • タイプ: TypeAlias

  • 説明: 多元函数

',36),i=[o];function c(t,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",c]]);export{h as __pageData,y as default}; diff --git a/assets/ja_api_mp_math_mp_math_typing.md.BNymgrCT.lean.js b/assets/ja_api_mp_math_mp_math_typing.md.BNymgrCT.lean.js new file mode 100644 index 0000000..5d975e0 --- /dev/null +++ b/assets/ja_api_mp_math_mp_math_typing.md.BNymgrCT.lean.js @@ -0,0 +1 @@ +import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/mp_math_typing.md","filePath":"ja/api/mp_math/mp_math_typing.md"}'),n={name:"ja/api/mp_math/mp_math_typing.md"},o=l("",36),i=[o];function c(t,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",c]]);export{h as __pageData,y as default}; diff --git a/assets/ja_api_mp_math_mp_math_typing.md.DHbmIzMT.js b/assets/ja_api_mp_math_mp_math_typing.md.DHbmIzMT.js deleted file mode 100644 index db53e8b..0000000 --- a/assets/ja_api_mp_math_mp_math_typing.md.DHbmIzMT.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing"},"headers":[],"relativePath":"ja/api/mp_math/mp_math_typing.md","filePath":"ja/api/mp_math/mp_math_typing.md"}'),n={name:"ja/api/mp_math/mp_math_typing.md"},o=l('

mbcp.mp_math.mp_math_typing

説明: 本模块用于内部类型提示

var RealNumber = int | float

  • タイプ: TypeAlias

  • 説明: 实数

var Number = RealNumber | complex

  • タイプ: TypeAlias

  • 説明: 数

var SingleVar = TypeVar('SingleVar', bound=Number)

  • 説明: 单变量

var ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])

  • 説明: 数组变量

var Var = SingleVar | ArrayVar

  • タイプ: TypeAlias

  • 説明: 变量

var OneSingleVarFunc = Callable[[SingleVar], SingleVar]

  • タイプ: TypeAlias

  • 説明: 一元单变量函数

var OneArrayFunc = Callable[[ArrayVar], ArrayVar]

  • タイプ: TypeAlias

  • 説明: 一元数组函数

var OneVarFunc = OneSingleVarFunc | OneArrayFunc

  • タイプ: TypeAlias

  • 説明: 一元函数

var TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]

  • タイプ: TypeAlias

  • 説明: 二元单变量函数

var TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]

  • タイプ: TypeAlias

  • 説明: 二元数组函数

var TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc

  • タイプ: TypeAlias

  • 説明: 二元函数

var ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]

  • タイプ: TypeAlias

  • 説明: 三元单变量函数

var ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]

  • タイプ: TypeAlias

  • 説明: 三元数组函数

var ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc

  • タイプ: TypeAlias

  • 説明: 三元函数

var MultiSingleVarsFunc = Callable[..., SingleVar]

  • タイプ: TypeAlias

  • 説明: 多元单变量函数

var MultiArraysFunc = Callable[..., ArrayVar]

  • タイプ: TypeAlias

  • 説明: 多元数组函数

var MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc

  • タイプ: TypeAlias

  • 説明: 多元函数

',36),i=[o];function c(t,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",c]]);export{h as __pageData,y as default}; diff --git a/assets/ja_api_mp_math_mp_math_typing.md.DHbmIzMT.lean.js b/assets/ja_api_mp_math_mp_math_typing.md.DHbmIzMT.lean.js deleted file mode 100644 index e0e58fd..0000000 --- a/assets/ja_api_mp_math_mp_math_typing.md.DHbmIzMT.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing"},"headers":[],"relativePath":"ja/api/mp_math/mp_math_typing.md","filePath":"ja/api/mp_math/mp_math_typing.md"}'),n={name:"ja/api/mp_math/mp_math_typing.md"},o=l("",36),i=[o];function c(t,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",c]]);export{h as __pageData,y as default}; diff --git a/assets/ja_api_mp_math_plane.md.Ck5Q7igW.lean.js b/assets/ja_api_mp_math_plane.md.Ck5Q7igW.lean.js deleted file mode 100644 index 4956280..0000000 --- a/assets/ja_api_mp_math_plane.md.Ck5Q7igW.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane"},"headers":[],"relativePath":"ja/api/mp_math/plane.md","filePath":"ja/api/mp_math/plane.md"}'),l={name:"ja/api/mp_math/plane.md"},h=n("",105),t=[h];function p(k,e,r,d,E,o){return a(),i("div",null,t)}const y=s(l,[["render",p]]);export{F as __pageData,y as default}; diff --git a/assets/ja_api_mp_math_plane.md.Ck5Q7igW.js b/assets/ja_api_mp_math_plane.md.CzPHp-i-.js similarity index 97% rename from assets/ja_api_mp_math_plane.md.Ck5Q7igW.js rename to assets/ja_api_mp_math_plane.md.CzPHp-i-.js index 316ca90..161ca85 100644 --- a/assets/ja_api_mp_math_plane.md.Ck5Q7igW.js +++ b/assets/ja_api_mp_math_plane.md.CzPHp-i-.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane"},"headers":[],"relativePath":"ja/api/mp_math/plane.md","filePath":"ja/api/mp_math/plane.md"}'),l={name:"ja/api/mp_math/plane.md"},h=n(`

mbcp.mp_math.plane

説明: 本模块定义了三维空间中的平面类

class Plane3

method __init__(self, a: float, b: float, c: float, d: float)

説明: 平面方程:ax + by + cz + d = 0

引数:

  • a: x系数
  • b: y系数
  • c: z系数
  • d: 常数项
ソースコード
python
def __init__(self, a: float, b: float, c: float, d: float):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/plane.md","filePath":"ja/api/mp_math/plane.md"}'),l={name:"ja/api/mp_math/plane.md"},h=n(`

mbcp.mp_math.plane

説明: 本模块定义了三维空间中的平面类

class Plane3

method __init__(self, a: float, b: float, c: float, d: float)

説明: 平面方程:ax + by + cz + d = 0

引数:

  • a: x系数
  • b: y系数
  • c: z系数
  • d: 常数项
ソースコード
python
def __init__(self, a: float, b: float, c: float, d: float):
     """
         平面方程:ax + by + cz + d = 0
         Args:
diff --git a/assets/ja_api_mp_math_plane.md.CzPHp-i-.lean.js b/assets/ja_api_mp_math_plane.md.CzPHp-i-.lean.js
new file mode 100644
index 0000000..8761d16
--- /dev/null
+++ b/assets/ja_api_mp_math_plane.md.CzPHp-i-.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/plane.md","filePath":"ja/api/mp_math/plane.md"}'),l={name:"ja/api/mp_math/plane.md"},h=n("",105),t=[h];function p(k,e,r,d,E,o){return a(),i("div",null,t)}const y=s(l,[["render",p]]);export{F as __pageData,y as default};
diff --git a/assets/ja_api_mp_math_point.md.CbFZXfAJ.js b/assets/ja_api_mp_math_point.md.1OBHSorb.js
similarity index 88%
rename from assets/ja_api_mp_math_point.md.CbFZXfAJ.js
rename to assets/ja_api_mp_math_point.md.1OBHSorb.js
index 1fcf4c6..10a18fa 100644
--- a/assets/ja_api_mp_math_point.md.CbFZXfAJ.js
+++ b/assets/ja_api_mp_math_point.md.1OBHSorb.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point"},"headers":[],"relativePath":"ja/api/mp_math/point.md","filePath":"ja/api/mp_math/point.md"}'),n={name:"ja/api/mp_math/point.md"},h=t(`

mbcp.mp_math.point

説明: 本模块定义了三维空间中点的类。

class Point3

method __init__(self, x: float, y: float, z: float)

説明: 笛卡尔坐标系中的点。

引数:

  • x: x 坐标
  • y: y 坐标
  • z: z 坐标
ソースコード
python
def __init__(self, x: float, y: float, z: float):
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/point.md","filePath":"ja/api/mp_math/point.md"}'),n={name:"ja/api/mp_math/point.md"},l=t(`

mbcp.mp_math.point

説明: 本模块定义了三维空间中点的类。

class Point3

method __init__(self, x: float, y: float, z: float)

説明: 笛卡尔坐标系中的点。

引数:

  • x: x 坐标
  • y: y 坐标
  • z: z 坐标
ソースコード
python
def __init__(self, x: float, y: float, z: float):
     """
         笛卡尔坐标系中的点。
         Args:
@@ -48,4 +48,4 @@ import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y
 
         """
     from .vector import Vector3
-    return Vector3(self.x - other.x, self.y - other.y, self.z - other.z)
`,36),l=[h];function e(p,k,o,r,d,E){return a(),i("div",null,l)}const F=s(n,[["render",e]]);export{y as __pageData,F as default}; + return Vector3(self.x - other.x, self.y - other.y, self.z - other.z)
`,36),h=[l];function e(p,k,o,r,d,E){return a(),i("div",null,h)}const F=s(n,[["render",e]]);export{y as __pageData,F as default}; diff --git a/assets/ja_api_mp_math_point.md.1OBHSorb.lean.js b/assets/ja_api_mp_math_point.md.1OBHSorb.lean.js new file mode 100644 index 0000000..ceb0b23 --- /dev/null +++ b/assets/ja_api_mp_math_point.md.1OBHSorb.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/point.md","filePath":"ja/api/mp_math/point.md"}'),n={name:"ja/api/mp_math/point.md"},l=t("",36),h=[l];function e(p,k,o,r,d,E){return a(),i("div",null,h)}const F=s(n,[["render",e]]);export{y as __pageData,F as default}; diff --git a/assets/ja_api_mp_math_point.md.CbFZXfAJ.lean.js b/assets/ja_api_mp_math_point.md.CbFZXfAJ.lean.js deleted file mode 100644 index 6a96b8b..0000000 --- a/assets/ja_api_mp_math_point.md.CbFZXfAJ.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point"},"headers":[],"relativePath":"ja/api/mp_math/point.md","filePath":"ja/api/mp_math/point.md"}'),n={name:"ja/api/mp_math/point.md"},h=t("",36),l=[h];function e(p,k,o,r,d,E){return a(),i("div",null,l)}const F=s(n,[["render",e]]);export{y as __pageData,F as default}; diff --git a/assets/ja_api_mp_math_segment.md.DbTMeZAn.lean.js b/assets/ja_api_mp_math_segment.md.DbTMeZAn.lean.js deleted file mode 100644 index 836de36..0000000 --- a/assets/ja_api_mp_math_segment.md.DbTMeZAn.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment"},"headers":[],"relativePath":"ja/api/mp_math/segment.md","filePath":"ja/api/mp_math/segment.md"}'),t={name:"ja/api/mp_math/segment.md"},h=n("",6),p=[h];function l(e,k,r,d,E,g){return a(),i("div",null,p)}const y=s(t,[["render",l]]);export{F as __pageData,y as default}; diff --git a/assets/zht_api_mp_math_segment.md.BK0QQket.js b/assets/ja_api_mp_math_segment.md.Elu4YWS-.js similarity index 71% rename from assets/zht_api_mp_math_segment.md.BK0QQket.js rename to assets/ja_api_mp_math_segment.md.Elu4YWS-.js index e5587a9..ab70f79 100644 --- a/assets/zht_api_mp_math_segment.md.BK0QQket.js +++ b/assets/ja_api_mp_math_segment.md.Elu4YWS-.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment"},"headers":[],"relativePath":"zht/api/mp_math/segment.md","filePath":"zht/api/mp_math/segment.md"}'),t={name:"zht/api/mp_math/segment.md"},h=n(`

mbcp.mp_math.segment

説明: 本模块定义了三维空间中的线段类

class Segment3

method __init__(self, p1: Point3, p2: Point3)

説明: 三维空间中的线段。 :param p1: :param p2:

源碼
python
def __init__(self, p1: 'Point3', p2: 'Point3'):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/segment.md","filePath":"ja/api/mp_math/segment.md"}'),t={name:"ja/api/mp_math/segment.md"},h=n(`

mbcp.mp_math.segment

説明: 本模块定义了三维空间中的线段类

class Segment3

method __init__(self, p1: Point3, p2: Point3)

説明: 三维空间中的线段。 :param p1: :param p2:

ソースコード
python
def __init__(self, p1: 'Point3', p2: 'Point3'):
     """
         三维空间中的线段。
         :param p1:
diff --git a/assets/ja_api_mp_math_segment.md.Elu4YWS-.lean.js b/assets/ja_api_mp_math_segment.md.Elu4YWS-.lean.js
new file mode 100644
index 0000000..5a2fd16
--- /dev/null
+++ b/assets/ja_api_mp_math_segment.md.Elu4YWS-.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/segment.md","filePath":"ja/api/mp_math/segment.md"}'),t={name:"ja/api/mp_math/segment.md"},h=n("",6),p=[h];function l(e,k,r,d,E,g){return a(),i("div",null,p)}const y=s(t,[["render",l]]);export{F as __pageData,y as default};
diff --git a/assets/ja_api_mp_math_utils.md.D2dcQ_ET.lean.js b/assets/ja_api_mp_math_utils.md.D2dcQ_ET.lean.js
deleted file mode 100644
index 07e14e6..0000000
--- a/assets/ja_api_mp_math_utils.md.D2dcQ_ET.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils"},"headers":[],"relativePath":"ja/api/mp_math/utils.md","filePath":"ja/api/mp_math/utils.md"}'),l={name:"ja/api/mp_math/utils.md"},t=n("",35),h=[t];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(l,[["render",p]]);export{E as __pageData,y as default};
diff --git a/assets/ja_api_mp_math_utils.md.D2dcQ_ET.js b/assets/ja_api_mp_math_utils.md.DdUJsEiD.js
similarity index 92%
rename from assets/ja_api_mp_math_utils.md.D2dcQ_ET.js
rename to assets/ja_api_mp_math_utils.md.DdUJsEiD.js
index 3818bba..7bdfe21 100644
--- a/assets/ja_api_mp_math_utils.md.D2dcQ_ET.js
+++ b/assets/ja_api_mp_math_utils.md.DdUJsEiD.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils"},"headers":[],"relativePath":"ja/api/mp_math/utils.md","filePath":"ja/api/mp_math/utils.md"}'),l={name:"ja/api/mp_math/utils.md"},t=n(`

mbcp.mp_math.utils

説明: 本模块定义了一些常用的工具函数

func clamp(x: float, min_: float, max_: float) -> float

説明: 区间限定函数

引数:

  • x: 待限定的值
  • min_: 最小值
  • max_: 最大值

戻り値: 限制后的值

ソースコード
python
def clamp(x: float, min_: float, max_: float) -> float:
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/utils.md","filePath":"ja/api/mp_math/utils.md"}'),l={name:"ja/api/mp_math/utils.md"},t=n(`

mbcp.mp_math.utils

説明: 本模块定义了一些常用的工具函数

func clamp(x: float, min_: float, max_: float) -> float

説明: 区间限定函数

引数:

  • x: 待限定的值
  • min_: 最小值
  • max_: 最大值

戻り値: 限制后的值

ソースコード
python
def clamp(x: float, min_: float, max_: float) -> float:
     """
     区间限定函数
     Args:
diff --git a/assets/ja_api_mp_math_utils.md.DdUJsEiD.lean.js b/assets/ja_api_mp_math_utils.md.DdUJsEiD.lean.js
new file mode 100644
index 0000000..9543877
--- /dev/null
+++ b/assets/ja_api_mp_math_utils.md.DdUJsEiD.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/utils.md","filePath":"ja/api/mp_math/utils.md"}'),l={name:"ja/api/mp_math/utils.md"},t=n("",35),h=[t];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(l,[["render",p]]);export{E as __pageData,y as default};
diff --git a/assets/ja_api_mp_math_vector.md.DBPPUIlc.js b/assets/ja_api_mp_math_vector.md.BIkkuu3D.js
similarity index 97%
rename from assets/ja_api_mp_math_vector.md.DBPPUIlc.js
rename to assets/ja_api_mp_math_vector.md.BIkkuu3D.js
index c78ed79..92128df 100644
--- a/assets/ja_api_mp_math_vector.md.DBPPUIlc.js
+++ b/assets/ja_api_mp_math_vector.md.BIkkuu3D.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector"},"headers":[],"relativePath":"ja/api/mp_math/vector.md","filePath":"ja/api/mp_math/vector.md"}'),n={name:"ja/api/mp_math/vector.md"},h=t(`

mbcp.mp_math.vector

説明: 本模块定义了3维向量的类Vector3,以及一些常用的向量。

class Vector3

method __init__(self, x: float, y: float, z: float)

説明: 3维向量

引数:

  • x: x轴分量
  • y: y轴分量
  • z: z轴分量
ソースコード
python
def __init__(self, x: float, y: float, z: float):
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/vector.md","filePath":"ja/api/mp_math/vector.md"}'),n={name:"ja/api/mp_math/vector.md"},h=t(`

mbcp.mp_math.vector

説明: 本模块定义了3维向量的类Vector3,以及一些常用的向量。

class Vector3

method __init__(self, x: float, y: float, z: float)

説明: 3维向量

引数:

  • x: x轴分量
  • y: y轴分量
  • z: z轴分量
ソースコード
python
def __init__(self, x: float, y: float, z: float):
     """
         3维向量
         Args:
diff --git a/assets/ja_api_mp_math_vector.md.BIkkuu3D.lean.js b/assets/ja_api_mp_math_vector.md.BIkkuu3D.lean.js
new file mode 100644
index 0000000..d1736cc
--- /dev/null
+++ b/assets/ja_api_mp_math_vector.md.BIkkuu3D.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector","editLink":false},"headers":[],"relativePath":"ja/api/mp_math/vector.md","filePath":"ja/api/mp_math/vector.md"}'),n={name:"ja/api/mp_math/vector.md"},h=t("",127),l=[h];function e(p,k,r,o,d,g){return a(),i("div",null,l)}const F=s(n,[["render",e]]);export{y as __pageData,F as default};
diff --git a/assets/ja_api_mp_math_vector.md.DBPPUIlc.lean.js b/assets/ja_api_mp_math_vector.md.DBPPUIlc.lean.js
deleted file mode 100644
index ce21ff2..0000000
--- a/assets/ja_api_mp_math_vector.md.DBPPUIlc.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector"},"headers":[],"relativePath":"ja/api/mp_math/vector.md","filePath":"ja/api/mp_math/vector.md"}'),n={name:"ja/api/mp_math/vector.md"},h=t("",127),l=[h];function e(p,k,r,o,d,g){return a(),i("div",null,l)}const F=s(n,[["render",e]]);export{y as __pageData,F as default};
diff --git a/assets/ja_api_particle_index.md.C9QFJ8EN.js b/assets/ja_api_particle_index.md.C9QFJ8EN.js
deleted file mode 100644
index 3f75fc5..0000000
--- a/assets/ja_api_particle_index.md.C9QFJ8EN.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as t,c,o as r,j as e,a}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","collapsed":true},"headers":[],"relativePath":"ja/api/particle/index.md","filePath":"ja/api/particle/index.md"}'),i={name:"ja/api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[a("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),l=e("p",null,[e("strong",null,"説明"),a(": 本模块定义了粒子生成相关的工具")],-1),n=[p,l];function o(s,d,_,m,h,f){return r(),c("div",null,n)}const u=t(i,[["render",o]]);export{b as __pageData,u as default};
diff --git a/assets/ja_api_particle_index.md.C9QFJ8EN.lean.js b/assets/ja_api_particle_index.md.C9QFJ8EN.lean.js
deleted file mode 100644
index 3f75fc5..0000000
--- a/assets/ja_api_particle_index.md.C9QFJ8EN.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as t,c,o as r,j as e,a}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","collapsed":true},"headers":[],"relativePath":"ja/api/particle/index.md","filePath":"ja/api/particle/index.md"}'),i={name:"ja/api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[a("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),l=e("p",null,[e("strong",null,"説明"),a(": 本模块定义了粒子生成相关的工具")],-1),n=[p,l];function o(s,d,_,m,h,f){return r(),c("div",null,n)}const u=t(i,[["render",o]]);export{b as __pageData,u as default};
diff --git a/assets/ja_api_particle_index.md.Jr41Y3TS.js b/assets/ja_api_particle_index.md.Jr41Y3TS.js
new file mode 100644
index 0000000..0bcf9a2
--- /dev/null
+++ b/assets/ja_api_particle_index.md.Jr41Y3TS.js
@@ -0,0 +1 @@
+import{_ as t,c,o as i,j as e,a}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","editLink":false,"collapsed":true},"headers":[],"relativePath":"ja/api/particle/index.md","filePath":"ja/api/particle/index.md"}'),r={name:"ja/api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[a("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),l=e("p",null,[e("strong",null,"説明"),a(": 本模块定义了粒子生成相关的工具")],-1),n=[p,l];function s(o,d,_,m,h,f){return i(),c("div",null,n)}const u=t(r,[["render",s]]);export{b as __pageData,u as default};
diff --git a/assets/ja_api_particle_index.md.Jr41Y3TS.lean.js b/assets/ja_api_particle_index.md.Jr41Y3TS.lean.js
new file mode 100644
index 0000000..0bcf9a2
--- /dev/null
+++ b/assets/ja_api_particle_index.md.Jr41Y3TS.lean.js
@@ -0,0 +1 @@
+import{_ as t,c,o as i,j as e,a}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","editLink":false,"collapsed":true},"headers":[],"relativePath":"ja/api/particle/index.md","filePath":"ja/api/particle/index.md"}'),r={name:"ja/api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[a("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),l=e("p",null,[e("strong",null,"説明"),a(": 本模块定义了粒子生成相关的工具")],-1),n=[p,l];function s(o,d,_,m,h,f){return i(),c("div",null,n)}const u=t(r,[["render",s]]);export{b as __pageData,u as default};
diff --git a/assets/ja_api_presets_index.md.BZKh7pEG.js b/assets/ja_api_presets_index.md.BZKh7pEG.js
deleted file mode 100644
index fd6e431..0000000
--- a/assets/ja_api_presets_index.md.BZKh7pEG.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","collapsed":true},"headers":[],"relativePath":"ja/api/presets/index.md","filePath":"ja/api/presets/index.md"}'),r={name:"ja/api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"説明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),p=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),l=[i,n,p];function c(d,m,_,h,u,f){return o(),a("div",null,l)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/ja_api_presets_index.md.BZKh7pEG.lean.js b/assets/ja_api_presets_index.md.BZKh7pEG.lean.js
deleted file mode 100644
index fd6e431..0000000
--- a/assets/ja_api_presets_index.md.BZKh7pEG.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","collapsed":true},"headers":[],"relativePath":"ja/api/presets/index.md","filePath":"ja/api/presets/index.md"}'),r={name:"ja/api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"説明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),p=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),l=[i,n,p];function c(d,m,_,h,u,f){return o(),a("div",null,l)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/ja_api_presets_index.md.CQqdQbIZ.js b/assets/ja_api_presets_index.md.CQqdQbIZ.js
new file mode 100644
index 0000000..dcd8131
--- /dev/null
+++ b/assets/ja_api_presets_index.md.CQqdQbIZ.js
@@ -0,0 +1 @@
+import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","editLink":false,"collapsed":true},"headers":[],"relativePath":"ja/api/presets/index.md","filePath":"ja/api/presets/index.md"}'),r={name:"ja/api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"説明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),p=[i,n,l];function c(d,m,_,h,u,f){return o(),a("div",null,p)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/ja_api_presets_index.md.CQqdQbIZ.lean.js b/assets/ja_api_presets_index.md.CQqdQbIZ.lean.js
new file mode 100644
index 0000000..dcd8131
--- /dev/null
+++ b/assets/ja_api_presets_index.md.CQqdQbIZ.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","editLink":false,"collapsed":true},"headers":[],"relativePath":"ja/api/presets/index.md","filePath":"ja/api/presets/index.md"}'),r={name:"ja/api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"説明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),p=[i,n,l];function c(d,m,_,h,u,f){return o(),a("div",null,p)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/ja_api_presets_model_index.md.DzI-SA0H.js b/assets/ja_api_presets_model_index.md.DGIEt4ke.js
similarity index 79%
rename from assets/ja_api_presets_model_index.md.DzI-SA0H.js
rename to assets/ja_api_presets_model_index.md.DGIEt4ke.js
index 5bf63f1..5d13f5f 100644
--- a/assets/ja_api_presets_model_index.md.DzI-SA0H.js
+++ b/assets/ja_api_presets_model_index.md.DGIEt4ke.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","collapsed":true},"headers":[],"relativePath":"ja/api/presets/model/index.md","filePath":"ja/api/presets/model/index.md"}'),t={name:"ja/api/presets/model/index.md"},h=n(`

mbcp.presets.model

説明: 几何模型点集

class GeometricModels

@staticmethod

method sphere(radius: float, density: float)

説明: 生成球体上的点集。

引数:

  • radius:
  • density:

戻り値: List[Point3]: 球体上的点集。

ソースコード
python
@staticmethod
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","editLink":false,"collapsed":true},"headers":[],"relativePath":"ja/api/presets/model/index.md","filePath":"ja/api/presets/model/index.md"}'),t={name:"ja/api/presets/model/index.md"},h=n(`

mbcp.presets.model

説明: 几何模型点集

class GeometricModels

@staticmethod

method sphere(radius: float, density: float)

説明: 生成球体上的点集。

引数:

  • radius:
  • density:

戻り値: List[Point3]: 球体上的点集。

ソースコード
python
@staticmethod
 def sphere(radius: float, density: float):
     """
         生成球体上的点集。
diff --git a/assets/ja_api_presets_model_index.md.DGIEt4ke.lean.js b/assets/ja_api_presets_model_index.md.DGIEt4ke.lean.js
new file mode 100644
index 0000000..2a8e5fd
--- /dev/null
+++ b/assets/ja_api_presets_model_index.md.DGIEt4ke.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","editLink":false,"collapsed":true},"headers":[],"relativePath":"ja/api/presets/model/index.md","filePath":"ja/api/presets/model/index.md"}'),t={name:"ja/api/presets/model/index.md"},h=n("",10),l=[h];function p(k,e,r,d,E,o){return a(),i("div",null,l)}const c=s(t,[["render",p]]);export{y as __pageData,c as default};
diff --git a/assets/ja_api_presets_model_index.md.DzI-SA0H.lean.js b/assets/ja_api_presets_model_index.md.DzI-SA0H.lean.js
deleted file mode 100644
index 497c78d..0000000
--- a/assets/ja_api_presets_model_index.md.DzI-SA0H.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","collapsed":true},"headers":[],"relativePath":"ja/api/presets/model/index.md","filePath":"ja/api/presets/model/index.md"}'),t={name:"ja/api/presets/model/index.md"},h=n("",10),l=[h];function p(k,e,r,d,E,o){return a(),i("div",null,l)}const c=s(t,[["render",p]]);export{y as __pageData,c as default};
diff --git a/assets/zht_api_index.md.BoNToa7V.js b/assets/zht_api_index.md.BoNToa7V.js
deleted file mode 100644
index 6d259c4..0000000
--- a/assets/zht_api_index.md.BoNToa7V.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c,o as n,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","collapsed":true},"headers":[],"relativePath":"zht/api/index.md","filePath":"zht/api/index.md"}'),o={name:"zht/api/index.md"},s=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),r=e("p",null,[e("strong",null,"説明"),t(": 本模块塞了一些预设的粒子生成器")],-1),i=[s,r];function d(p,l,_,m,h,f){return n(),c("div",null,i)}const u=a(o,[["render",d]]);export{b as __pageData,u as default};
diff --git a/assets/zht_api_index.md.BoNToa7V.lean.js b/assets/zht_api_index.md.BoNToa7V.lean.js
deleted file mode 100644
index 6d259c4..0000000
--- a/assets/zht_api_index.md.BoNToa7V.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c,o as n,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","collapsed":true},"headers":[],"relativePath":"zht/api/index.md","filePath":"zht/api/index.md"}'),o={name:"zht/api/index.md"},s=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),r=e("p",null,[e("strong",null,"説明"),t(": 本模块塞了一些预设的粒子生成器")],-1),i=[s,r];function d(p,l,_,m,h,f){return n(),c("div",null,i)}const u=a(o,[["render",d]]);export{b as __pageData,u as default};
diff --git a/assets/zht_api_index.md.CgZH6aHQ.js b/assets/zht_api_index.md.CgZH6aHQ.js
new file mode 100644
index 0000000..a24000a
--- /dev/null
+++ b/assets/zht_api_index.md.CgZH6aHQ.js
@@ -0,0 +1 @@
+import{_ as a,c as n,o as s,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","editLink":false,"collapsed":true},"headers":[],"relativePath":"zht/api/index.md","filePath":"zht/api/index.md"}'),c={name:"zht/api/index.md"},o=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),i=e("p",null,[e("strong",null,"説明"),t(": 本模块塞了一些预设的粒子生成器")],-1),r=[o,i];function d(p,l,_,m,h,f){return s(),n("div",null,r)}const u=a(c,[["render",d]]);export{b as __pageData,u as default};
diff --git a/assets/zht_api_index.md.CgZH6aHQ.lean.js b/assets/zht_api_index.md.CgZH6aHQ.lean.js
new file mode 100644
index 0000000..a24000a
--- /dev/null
+++ b/assets/zht_api_index.md.CgZH6aHQ.lean.js
@@ -0,0 +1 @@
+import{_ as a,c as n,o as s,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","editLink":false,"collapsed":true},"headers":[],"relativePath":"zht/api/index.md","filePath":"zht/api/index.md"}'),c={name:"zht/api/index.md"},o=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"​")],-1),i=e("p",null,[e("strong",null,"説明"),t(": 本模块塞了一些预设的粒子生成器")],-1),r=[o,i];function d(p,l,_,m,h,f){return s(),n("div",null,r)}const u=a(c,[["render",d]]);export{b as __pageData,u as default};
diff --git a/assets/zht_api_mp_math_angle.md.B7iqArJr.lean.js b/assets/zht_api_mp_math_angle.md.B7iqArJr.lean.js
deleted file mode 100644
index e8fcf1b..0000000
--- a/assets/zht_api_mp_math_angle.md.B7iqArJr.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle"},"headers":[],"relativePath":"zht/api/mp_math/angle.md","filePath":"zht/api/mp_math/angle.md"}'),t={name:"zht/api/mp_math/angle.md"},e=n("",80),l=[e];function h(p,k,r,d,o,g){return a(),i("div",null,l)}const c=s(t,[["render",h]]);export{F as __pageData,c as default};
diff --git a/assets/zht_api_mp_math_angle.md.B7iqArJr.js b/assets/zht_api_mp_math_angle.md.BHWp5-Wz.js
similarity index 94%
rename from assets/zht_api_mp_math_angle.md.B7iqArJr.js
rename to assets/zht_api_mp_math_angle.md.BHWp5-Wz.js
index ad5a45c..2b3ca5c 100644
--- a/assets/zht_api_mp_math_angle.md.B7iqArJr.js
+++ b/assets/zht_api_mp_math_angle.md.BHWp5-Wz.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle"},"headers":[],"relativePath":"zht/api/mp_math/angle.md","filePath":"zht/api/mp_math/angle.md"}'),t={name:"zht/api/mp_math/angle.md"},e=n(`

mbcp.mp_math.angle

説明: 本模块定义了角度相关的类

class Angle

class AnyAngle(Angle)

method __init__(self, value: float, is_radian: bool = False)

説明: 任意角度。

變數説明:

  • value: 角度或弧度值
  • is_radian: 是否为弧度,默认为否
源碼
python
def __init__(self, value: float, is_radian: bool=False):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/angle.md","filePath":"zht/api/mp_math/angle.md"}'),t={name:"zht/api/mp_math/angle.md"},e=n(`

mbcp.mp_math.angle

説明: 本模块定义了角度相关的类

class Angle

class AnyAngle(Angle)

method __init__(self, value: float, is_radian: bool = False)

説明: 任意角度。

變數説明:

  • value: 角度或弧度值
  • is_radian: 是否为弧度,默认为否
源碼
python
def __init__(self, value: float, is_radian: bool=False):
     """
         任意角度。
         Args:
diff --git a/assets/zht_api_mp_math_angle.md.BHWp5-Wz.lean.js b/assets/zht_api_mp_math_angle.md.BHWp5-Wz.lean.js
new file mode 100644
index 0000000..ecf0ccf
--- /dev/null
+++ b/assets/zht_api_mp_math_angle.md.BHWp5-Wz.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/angle.md","filePath":"zht/api/mp_math/angle.md"}'),t={name:"zht/api/mp_math/angle.md"},e=n("",80),l=[e];function h(p,k,r,d,o,g){return a(),i("div",null,l)}const c=s(t,[["render",h]]);export{F as __pageData,c as default};
diff --git a/assets/zht_api_mp_math_const.md.3LY5TQ7t.js b/assets/zht_api_mp_math_const.md.3LY5TQ7t.js
deleted file mode 100644
index 8273c03..0000000
--- a/assets/zht_api_mp_math_const.md.3LY5TQ7t.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const"},"headers":[],"relativePath":"zht/api/mp_math/const.md","filePath":"zht/api/mp_math/const.md"}'),r={name:"zht/api/mp_math/const.md"},c=o('

mbcp.mp_math.const

説明: 本模块定义了一些常用的常量

var PI = math.pi

  • 説明: 常量 π

var E = math.e

  • 説明: 自然对数的底 exp(1)

var GOLDEN_RATIO = (1 + math.sqrt(5)) / 2

  • 説明: 黄金分割比

var GAMMA = 0.5772156649015329

  • 説明: 欧拉常数

var EPSILON = 0.0001

  • 説明: 精度误差

var APPROX = 0.001

  • 説明: 约等于判定误差
',14),i=[c];function n(l,h,s,d,m,p){return e(),t("div",null,i)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/zht_api_mp_math_const.md.3LY5TQ7t.lean.js b/assets/zht_api_mp_math_const.md.3LY5TQ7t.lean.js deleted file mode 100644 index ad10b71..0000000 --- a/assets/zht_api_mp_math_const.md.3LY5TQ7t.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const"},"headers":[],"relativePath":"zht/api/mp_math/const.md","filePath":"zht/api/mp_math/const.md"}'),r={name:"zht/api/mp_math/const.md"},c=o("",14),i=[c];function n(l,h,s,d,m,p){return e(),t("div",null,i)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/zht_api_mp_math_const.md.xwQvuYck.js b/assets/zht_api_mp_math_const.md.xwQvuYck.js new file mode 100644 index 0000000..397cb91 --- /dev/null +++ b/assets/zht_api_mp_math_const.md.xwQvuYck.js @@ -0,0 +1 @@ +import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/const.md","filePath":"zht/api/mp_math/const.md"}'),r={name:"zht/api/mp_math/const.md"},c=o('

mbcp.mp_math.const

説明: 本模块定义了一些常用的常量

var PI = math.pi

  • 説明: 常量 π

var E = math.e

  • 説明: 自然对数的底 exp(1)

var GOLDEN_RATIO = (1 + math.sqrt(5)) / 2

  • 説明: 黄金分割比

var GAMMA = 0.5772156649015329

  • 説明: 欧拉常数

var EPSILON = 0.0001

  • 説明: 精度误差

var APPROX = 0.001

  • 説明: 约等于判定误差
',14),i=[c];function n(l,s,h,d,m,p){return e(),t("div",null,i)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/zht_api_mp_math_const.md.xwQvuYck.lean.js b/assets/zht_api_mp_math_const.md.xwQvuYck.lean.js new file mode 100644 index 0000000..45b3338 --- /dev/null +++ b/assets/zht_api_mp_math_const.md.xwQvuYck.lean.js @@ -0,0 +1 @@ +import{_ as a,c as t,o as e,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/const.md","filePath":"zht/api/mp_math/const.md"}'),r={name:"zht/api/mp_math/const.md"},c=o("",14),i=[c];function n(l,s,h,d,m,p){return e(),t("div",null,i)}const v=a(r,[["render",n]]);export{u as __pageData,v as default}; diff --git a/assets/zht_api_mp_math_equation.md.DMSjWdou.lean.js b/assets/zht_api_mp_math_equation.md.DMSjWdou.lean.js deleted file mode 100644 index 9b4a068..0000000 --- a/assets/zht_api_mp_math_equation.md.DMSjWdou.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation"},"headers":[],"relativePath":"zht/api/mp_math/equation.md","filePath":"zht/api/mp_math/equation.md"}'),t={name:"zht/api/mp_math/equation.md"},l=n("",30),p=[l];function h(k,e,r,E,d,g){return a(),i("div",null,p)}const F=s(t,[["render",h]]);export{u as __pageData,F as default}; diff --git a/assets/zht_api_mp_math_equation.md.DMSjWdou.js b/assets/zht_api_mp_math_equation.md.Da-XfzS0.js similarity index 91% rename from assets/zht_api_mp_math_equation.md.DMSjWdou.js rename to assets/zht_api_mp_math_equation.md.Da-XfzS0.js index ea88eee..3952e8c 100644 --- a/assets/zht_api_mp_math_equation.md.DMSjWdou.js +++ b/assets/zht_api_mp_math_equation.md.Da-XfzS0.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation"},"headers":[],"relativePath":"zht/api/mp_math/equation.md","filePath":"zht/api/mp_math/equation.md"}'),t={name:"zht/api/mp_math/equation.md"},l=n(`

mbcp.mp_math.equation

説明: 本模块定义了方程相关的类和函数以及一些常用的数学函数

class CurveEquation

method __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc)

説明: 曲线方程。

變數説明:

  • x_func: x函数
  • y_func: y函数
  • z_func: z函数
源碼
python
def __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/equation.md","filePath":"zht/api/mp_math/equation.md"}'),t={name:"zht/api/mp_math/equation.md"},l=n(`

mbcp.mp_math.equation

説明: 本模块定义了方程相关的类和函数以及一些常用的数学函数

class CurveEquation

method __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc)

説明: 曲线方程。

變數説明:

  • x_func: x函数
  • y_func: y函数
  • z_func: z函数
源碼
python
def __init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc):
     """
         曲线方程。
         Args:
diff --git a/assets/zht_api_mp_math_equation.md.Da-XfzS0.lean.js b/assets/zht_api_mp_math_equation.md.Da-XfzS0.lean.js
new file mode 100644
index 0000000..6dbb689
--- /dev/null
+++ b/assets/zht_api_mp_math_equation.md.Da-XfzS0.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/equation.md","filePath":"zht/api/mp_math/equation.md"}'),t={name:"zht/api/mp_math/equation.md"},l=n("",30),p=[l];function h(k,e,r,E,d,g){return a(),i("div",null,p)}const F=s(t,[["render",h]]);export{u as __pageData,F as default};
diff --git a/assets/zht_api_mp_math_function.md.CFVTTeOW.js b/assets/zht_api_mp_math_function.md.CFVTTeOW.js
new file mode 100644
index 0000000..9480db4
--- /dev/null
+++ b/assets/zht_api_mp_math_function.md.CFVTTeOW.js
@@ -0,0 +1,17 @@
+import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/function.md","filePath":"zht/api/mp_math/function.md"}'),n={name:"zht/api/mp_math/function.md"},l=a('

mbcp.mp_math.function

説明: AAA

func cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float = EPSILON) -> Vector3

説明: 计算三元函数在某点的梯度向量。

',4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a('',1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a('',1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a('',1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a(`

變數説明:

  • func: 三元函数
  • p: 点
  • epsilon: 偏移量

返回: 梯度

源碼
python
def cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float=EPSILON) -> Vector3:
+    """
+    计算三元函数在某点的梯度向量。
+    > [!tip]
+    > 已知一个函数$f(x, y, z)$,则其在点$(x_0, y_0, z_0)$处的梯度向量为:
+    $\\\\nabla f(x_0, y_0, z_0) = \\\\left(\\\\frac{\\\\partial f}{\\\\partial x}, \\\\frac{\\\\partial f}{\\\\partial y}, \\\\frac{\\\\partial f}{\\\\partial z}\\\\right)$
+    Args:
+        func: 三元函数
+        p: 点
+        epsilon: 偏移量
+    Returns:
+        梯度
+    """
+    dx = (func(p.x + epsilon, p.y, p.z) - func(p.x - epsilon, p.y, p.z)) / (2 * epsilon)
+    dy = (func(p.x, p.y + epsilon, p.z) - func(p.x, p.y - epsilon, p.z)) / (2 * epsilon)
+    dz = (func(p.x, p.y, p.z + epsilon) - func(p.x, p.y, p.z - epsilon)) / (2 * epsilon)
+    return Vector3(dx, dy, dz)
`,4);function L(C,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",L]]);export{v as __pageData,V as default}; diff --git a/assets/zht_api_mp_math_function.md.CFVTTeOW.lean.js b/assets/zht_api_mp_math_function.md.CFVTTeOW.lean.js new file mode 100644 index 0000000..99228b7 --- /dev/null +++ b/assets/zht_api_mp_math_function.md.CFVTTeOW.lean.js @@ -0,0 +1 @@ +import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/function.md","filePath":"zht/api/mp_math/function.md"}'),n={name:"zht/api/mp_math/function.md"},l=a("",4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a("",1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a("",1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a("",1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a("",4);function L(C,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",L]]);export{v as __pageData,V as default}; diff --git a/assets/zht_api_mp_math_function.md.DOX7pGXC.js b/assets/zht_api_mp_math_function.md.DOX7pGXC.js deleted file mode 100644 index 19a863d..0000000 --- a/assets/zht_api_mp_math_function.md.DOX7pGXC.js +++ /dev/null @@ -1,17 +0,0 @@ -import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function"},"headers":[],"relativePath":"zht/api/mp_math/function.md","filePath":"zht/api/mp_math/function.md"}'),n={name:"zht/api/mp_math/function.md"},l=a('

mbcp.mp_math.function

説明: AAA

func cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float = EPSILON) -> Vector3

説明: 计算三元函数在某点的梯度向量。

',4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a('',1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a('',1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a('',1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a(`

變數説明:

  • func: 三元函数
  • p: 点
  • epsilon: 偏移量

返回: 梯度

源碼
python
def cal_gradient_3vf(func: ThreeSingleVarsFunc, p: Point3, epsilon: float=EPSILON) -> Vector3:
-    """
-    计算三元函数在某点的梯度向量。
-    > [!tip]
-    > 已知一个函数$f(x, y, z)$,则其在点$(x_0, y_0, z_0)$处的梯度向量为:
-    $\\\\nabla f(x_0, y_0, z_0) = \\\\left(\\\\frac{\\\\partial f}{\\\\partial x}, \\\\frac{\\\\partial f}{\\\\partial y}, \\\\frac{\\\\partial f}{\\\\partial z}\\\\right)$
-    Args:
-        func: 三元函数
-        p: 点
-        epsilon: 偏移量
-    Returns:
-        梯度
-    """
-    dx = (func(p.x + epsilon, p.y, p.z) - func(p.x - epsilon, p.y, p.z)) / (2 * epsilon)
-    dy = (func(p.x, p.y + epsilon, p.z) - func(p.x, p.y - epsilon, p.z)) / (2 * epsilon)
-    dz = (func(p.x, p.y, p.z + epsilon) - func(p.x, p.y, p.z - epsilon)) / (2 * epsilon)
-    return Vector3(dx, dy, dz)
`,4);function C(L,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",C]]);export{v as __pageData,V as default}; diff --git a/assets/zht_api_mp_math_function.md.DOX7pGXC.lean.js b/assets/zht_api_mp_math_function.md.DOX7pGXC.lean.js deleted file mode 100644 index 9903b1a..0000000 --- a/assets/zht_api_mp_math_function.md.DOX7pGXC.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as i,c as s,j as t,a as T,a2 as a,o as Q}from"./chunks/framework.C94oF1kp.js";const v=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function"},"headers":[],"relativePath":"zht/api/mp_math/function.md","filePath":"zht/api/mp_math/function.md"}'),n={name:"zht/api/mp_math/function.md"},l=a("",4),e={class:"tip custom-block github-alert"},h=t("p",{class:"custom-block-title"},"TIP",-1),r={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},d={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},p=a("",1),o=[p],m=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("mi",null,"x"),t("mo",null,","),t("mi",null,"y"),t("mo",null,","),t("mi",null,"z"),t("mo",{stretchy:"false"},")")])],-1),k={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a("",1),y=[c],u=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")")])],-1),f={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},E={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},F=a("",1),_=[F],w=t("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[t("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[t("mi",{mathvariant:"normal"},"∇"),t("mi",null,"f"),t("mo",{stretchy:"false"},"("),t("msub",null,[t("mi",null,"x"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"y"),t("mn",null,"0")]),t("mo",null,","),t("msub",null,[t("mi",null,"z"),t("mn",null,"0")]),t("mo",{stretchy:"false"},")"),t("mo",null,"="),t("mrow",{"data-mjx-texclass":"INNER"},[t("mo",{"data-mjx-texclass":"OPEN"},"("),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"x")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"y")])]),t("mo",null,","),t("mfrac",null,[t("mrow",null,[t("mi",null,"∂"),t("mi",null,"f")]),t("mrow",null,[t("mi",null,"∂"),t("mi",null,"z")])]),t("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),x=a("",4);function C(L,H,M,Z,b,D){return Q(),s("div",null,[l,t("div",e,[h,t("p",null,[T("已知一个函数"),t("mjx-container",r,[(Q(),s("svg",d,o)),m]),T(",则其在点"),t("mjx-container",k,[(Q(),s("svg",g,y)),u]),T("处的梯度向量为: "),t("mjx-container",f,[(Q(),s("svg",E,_)),w])])]),x])}const V=i(n,[["render",C]]);export{v as __pageData,V as default}; diff --git a/assets/zht_api_mp_math_index.md.Cp3ggfPO.js b/assets/zht_api_mp_math_index.md.Cp3ggfPO.js deleted file mode 100644 index c19d933..0000000 --- a/assets/zht_api_mp_math_index.md.Cp3ggfPO.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","collapsed":true},"headers":[],"relativePath":"zht/api/mp_math/index.md","filePath":"zht/api/mp_math/index.md"}'),c={name:"zht/api/mp_math/index.md"},i=o('

mbcp.mp_math

説明: 本包定义了一些常用的导入,可直接从mbcp.mp_math导入使用 导入的类有:

  • AnyAngle:任意角
  • CurveEquation:曲线方程
  • Line3:三维直线
  • Plane3:三维平面
  • Point3:三维点
  • Segment3:三维线段
  • Vector3:三维向量
',3),m=[i];function d(_,l,n,p,r,s){return a(),t("div",null,m)}const b=e(c,[["render",d]]);export{u as __pageData,b as default}; diff --git a/assets/zht_api_mp_math_index.md.Cp3ggfPO.lean.js b/assets/zht_api_mp_math_index.md.Cp3ggfPO.lean.js deleted file mode 100644 index a7b515d..0000000 --- a/assets/zht_api_mp_math_index.md.Cp3ggfPO.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","collapsed":true},"headers":[],"relativePath":"zht/api/mp_math/index.md","filePath":"zht/api/mp_math/index.md"}'),c={name:"zht/api/mp_math/index.md"},i=o("",3),m=[i];function d(_,l,n,p,r,s){return a(),t("div",null,m)}const b=e(c,[["render",d]]);export{u as __pageData,b as default}; diff --git a/assets/zht_api_mp_math_index.md.mmeMMriu.js b/assets/zht_api_mp_math_index.md.mmeMMriu.js new file mode 100644 index 0000000..5c768d4 --- /dev/null +++ b/assets/zht_api_mp_math_index.md.mmeMMriu.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","editLink":false,"collapsed":true},"headers":[],"relativePath":"zht/api/mp_math/index.md","filePath":"zht/api/mp_math/index.md"}'),c={name:"zht/api/mp_math/index.md"},i=o('

mbcp.mp_math

説明: 本包定义了一些常用的导入,可直接从mbcp.mp_math导入使用 导入的类有:

  • AnyAngle:任意角
  • CurveEquation:曲线方程
  • Line3:三维直线
  • Plane3:三维平面
  • Point3:三维点
  • Segment3:三维线段
  • Vector3:三维向量
',3),d=[i];function m(l,n,_,p,r,s){return a(),t("div",null,d)}const f=e(c,[["render",m]]);export{u as __pageData,f as default}; diff --git a/assets/zht_api_mp_math_index.md.mmeMMriu.lean.js b/assets/zht_api_mp_math_index.md.mmeMMriu.lean.js new file mode 100644 index 0000000..57efd7e --- /dev/null +++ b/assets/zht_api_mp_math_index.md.mmeMMriu.lean.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","editLink":false,"collapsed":true},"headers":[],"relativePath":"zht/api/mp_math/index.md","filePath":"zht/api/mp_math/index.md"}'),c={name:"zht/api/mp_math/index.md"},i=o("",3),d=[i];function m(l,n,_,p,r,s){return a(),t("div",null,d)}const f=e(c,[["render",m]]);export{u as __pageData,f as default}; diff --git a/assets/zht_api_mp_math_line.md.D3xPFA2p.js b/assets/zht_api_mp_math_line.md.CERQpbvD.js similarity index 96% rename from assets/zht_api_mp_math_line.md.D3xPFA2p.js rename to assets/zht_api_mp_math_line.md.CERQpbvD.js index 7b7a396..8113729 100644 --- a/assets/zht_api_mp_math_line.md.D3xPFA2p.js +++ b/assets/zht_api_mp_math_line.md.CERQpbvD.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line"},"headers":[],"relativePath":"zht/api/mp_math/line.md","filePath":"zht/api/mp_math/line.md"}'),t={name:"zht/api/mp_math/line.md"},l=n(`

mbcp.mp_math.line

説明: 本模块定义了三维空间中的直线类

class Line3

method __init__(self, point: Point3, direction: Vector3)

説明: 三维空间中的直线。由一个点和一个方向向量确定。

變數説明:

  • point: 直线上的一点
  • direction: 直线的方向向量
源碼
python
def __init__(self, point: 'Point3', direction: 'Vector3'):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/line.md","filePath":"zht/api/mp_math/line.md"}'),t={name:"zht/api/mp_math/line.md"},l=n(`

mbcp.mp_math.line

説明: 本模块定义了三维空间中的直线类

class Line3

method __init__(self, point: Point3, direction: Vector3)

説明: 三维空间中的直线。由一个点和一个方向向量确定。

變數説明:

  • point: 直线上的一点
  • direction: 直线的方向向量
源碼
python
def __init__(self, point: 'Point3', direction: 'Vector3'):
     """
         三维空间中的直线。由一个点和一个方向向量确定。
         Args:
diff --git a/assets/zht_api_mp_math_line.md.CERQpbvD.lean.js b/assets/zht_api_mp_math_line.md.CERQpbvD.lean.js
new file mode 100644
index 0000000..297756a
--- /dev/null
+++ b/assets/zht_api_mp_math_line.md.CERQpbvD.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/line.md","filePath":"zht/api/mp_math/line.md"}'),t={name:"zht/api/mp_math/line.md"},l=n("",107),h=[l];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(t,[["render",p]]);export{E as __pageData,y as default};
diff --git a/assets/zht_api_mp_math_line.md.D3xPFA2p.lean.js b/assets/zht_api_mp_math_line.md.D3xPFA2p.lean.js
deleted file mode 100644
index 3eb33da..0000000
--- a/assets/zht_api_mp_math_line.md.D3xPFA2p.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line"},"headers":[],"relativePath":"zht/api/mp_math/line.md","filePath":"zht/api/mp_math/line.md"}'),t={name:"zht/api/mp_math/line.md"},l=n("",107),h=[l];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(t,[["render",p]]);export{E as __pageData,y as default};
diff --git a/assets/zht_api_mp_math_mp_math_typing.md.CNiSnuMw.js b/assets/zht_api_mp_math_mp_math_typing.md.CNiSnuMw.js
new file mode 100644
index 0000000..287f1fa
--- /dev/null
+++ b/assets/zht_api_mp_math_mp_math_typing.md.CNiSnuMw.js
@@ -0,0 +1 @@
+import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const p=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/mp_math_typing.md","filePath":"zht/api/mp_math/mp_math_typing.md"}'),n={name:"zht/api/mp_math/mp_math_typing.md"},o=l('

mbcp.mp_math.mp_math_typing

説明: 本模块用于内部类型提示

var RealNumber = int | float

  • 類型: TypeAlias

  • 説明: 实数

var Number = RealNumber | complex

  • 類型: TypeAlias

  • 説明: 数

var SingleVar = TypeVar('SingleVar', bound=Number)

  • 説明: 单变量

var ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])

  • 説明: 数组变量

var Var = SingleVar | ArrayVar

  • 類型: TypeAlias

  • 説明: 变量

var OneSingleVarFunc = Callable[[SingleVar], SingleVar]

  • 類型: TypeAlias

  • 説明: 一元单变量函数

var OneArrayFunc = Callable[[ArrayVar], ArrayVar]

  • 類型: TypeAlias

  • 説明: 一元数组函数

var OneVarFunc = OneSingleVarFunc | OneArrayFunc

  • 類型: TypeAlias

  • 説明: 一元函数

var TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]

  • 類型: TypeAlias

  • 説明: 二元单变量函数

var TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]

  • 類型: TypeAlias

  • 説明: 二元数组函数

var TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc

  • 類型: TypeAlias

  • 説明: 二元函数

var ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]

  • 類型: TypeAlias

  • 説明: 三元单变量函数

var ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]

  • 類型: TypeAlias

  • 説明: 三元数组函数

var ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc

  • 類型: TypeAlias

  • 説明: 三元函数

var MultiSingleVarsFunc = Callable[..., SingleVar]

  • 類型: TypeAlias

  • 説明: 多元单变量函数

var MultiArraysFunc = Callable[..., ArrayVar]

  • 類型: TypeAlias

  • 説明: 多元数组函数

var MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc

  • 類型: TypeAlias

  • 説明: 多元函数

',36),i=[o];function t(c,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",t]]);export{p as __pageData,y as default}; diff --git a/assets/zht_api_mp_math_mp_math_typing.md.CNiSnuMw.lean.js b/assets/zht_api_mp_math_mp_math_typing.md.CNiSnuMw.lean.js new file mode 100644 index 0000000..ff61dea --- /dev/null +++ b/assets/zht_api_mp_math_mp_math_typing.md.CNiSnuMw.lean.js @@ -0,0 +1 @@ +import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const p=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/mp_math_typing.md","filePath":"zht/api/mp_math/mp_math_typing.md"}'),n={name:"zht/api/mp_math/mp_math_typing.md"},o=l("",36),i=[o];function t(c,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",t]]);export{p as __pageData,y as default}; diff --git a/assets/zht_api_mp_math_mp_math_typing.md.DTY2F-6g.js b/assets/zht_api_mp_math_mp_math_typing.md.DTY2F-6g.js deleted file mode 100644 index 0c66e9b..0000000 --- a/assets/zht_api_mp_math_mp_math_typing.md.DTY2F-6g.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const p=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing"},"headers":[],"relativePath":"zht/api/mp_math/mp_math_typing.md","filePath":"zht/api/mp_math/mp_math_typing.md"}'),n={name:"zht/api/mp_math/mp_math_typing.md"},o=l('

mbcp.mp_math.mp_math_typing

説明: 本模块用于内部类型提示

var RealNumber = int | float

  • 類型: TypeAlias

  • 説明: 实数

var Number = RealNumber | complex

  • 類型: TypeAlias

  • 説明: 数

var SingleVar = TypeVar('SingleVar', bound=Number)

  • 説明: 单变量

var ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])

  • 説明: 数组变量

var Var = SingleVar | ArrayVar

  • 類型: TypeAlias

  • 説明: 变量

var OneSingleVarFunc = Callable[[SingleVar], SingleVar]

  • 類型: TypeAlias

  • 説明: 一元单变量函数

var OneArrayFunc = Callable[[ArrayVar], ArrayVar]

  • 類型: TypeAlias

  • 説明: 一元数组函数

var OneVarFunc = OneSingleVarFunc | OneArrayFunc

  • 類型: TypeAlias

  • 説明: 一元函数

var TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]

  • 類型: TypeAlias

  • 説明: 二元单变量函数

var TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]

  • 類型: TypeAlias

  • 説明: 二元数组函数

var TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc

  • 類型: TypeAlias

  • 説明: 二元函数

var ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]

  • 類型: TypeAlias

  • 説明: 三元单变量函数

var ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]

  • 類型: TypeAlias

  • 説明: 三元数组函数

var ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc

  • 類型: TypeAlias

  • 説明: 三元函数

var MultiSingleVarsFunc = Callable[..., SingleVar]

  • 類型: TypeAlias

  • 説明: 多元单变量函数

var MultiArraysFunc = Callable[..., ArrayVar]

  • 類型: TypeAlias

  • 説明: 多元数组函数

var MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc

  • 類型: TypeAlias

  • 説明: 多元函数

',36),i=[o];function t(c,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",t]]);export{p as __pageData,y as default}; diff --git a/assets/zht_api_mp_math_mp_math_typing.md.DTY2F-6g.lean.js b/assets/zht_api_mp_math_mp_math_typing.md.DTY2F-6g.lean.js deleted file mode 100644 index 50190ed..0000000 --- a/assets/zht_api_mp_math_mp_math_typing.md.DTY2F-6g.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const p=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing"},"headers":[],"relativePath":"zht/api/mp_math/mp_math_typing.md","filePath":"zht/api/mp_math/mp_math_typing.md"}'),n={name:"zht/api/mp_math/mp_math_typing.md"},o=l("",36),i=[o];function t(c,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",t]]);export{p as __pageData,y as default}; diff --git a/assets/zht_api_mp_math_plane.md.DAAO1c38.js b/assets/zht_api_mp_math_plane.md.8lFm9uJ1.js similarity index 97% rename from assets/zht_api_mp_math_plane.md.DAAO1c38.js rename to assets/zht_api_mp_math_plane.md.8lFm9uJ1.js index 5b08a4e..157e98d 100644 --- a/assets/zht_api_mp_math_plane.md.DAAO1c38.js +++ b/assets/zht_api_mp_math_plane.md.8lFm9uJ1.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane"},"headers":[],"relativePath":"zht/api/mp_math/plane.md","filePath":"zht/api/mp_math/plane.md"}'),l={name:"zht/api/mp_math/plane.md"},h=n(`

mbcp.mp_math.plane

説明: 本模块定义了三维空间中的平面类

class Plane3

method __init__(self, a: float, b: float, c: float, d: float)

説明: 平面方程:ax + by + cz + d = 0

變數説明:

  • a: x系数
  • b: y系数
  • c: z系数
  • d: 常数项
源碼
python
def __init__(self, a: float, b: float, c: float, d: float):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/plane.md","filePath":"zht/api/mp_math/plane.md"}'),l={name:"zht/api/mp_math/plane.md"},h=n(`

mbcp.mp_math.plane

説明: 本模块定义了三维空间中的平面类

class Plane3

method __init__(self, a: float, b: float, c: float, d: float)

説明: 平面方程:ax + by + cz + d = 0

變數説明:

  • a: x系数
  • b: y系数
  • c: z系数
  • d: 常数项
源碼
python
def __init__(self, a: float, b: float, c: float, d: float):
     """
         平面方程:ax + by + cz + d = 0
         Args:
diff --git a/assets/zht_api_mp_math_plane.md.8lFm9uJ1.lean.js b/assets/zht_api_mp_math_plane.md.8lFm9uJ1.lean.js
new file mode 100644
index 0000000..9b02a9f
--- /dev/null
+++ b/assets/zht_api_mp_math_plane.md.8lFm9uJ1.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/plane.md","filePath":"zht/api/mp_math/plane.md"}'),l={name:"zht/api/mp_math/plane.md"},h=n("",105),t=[h];function p(k,e,r,d,E,o){return a(),i("div",null,t)}const y=s(l,[["render",p]]);export{F as __pageData,y as default};
diff --git a/assets/zht_api_mp_math_plane.md.DAAO1c38.lean.js b/assets/zht_api_mp_math_plane.md.DAAO1c38.lean.js
deleted file mode 100644
index b658e1c..0000000
--- a/assets/zht_api_mp_math_plane.md.DAAO1c38.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane"},"headers":[],"relativePath":"zht/api/mp_math/plane.md","filePath":"zht/api/mp_math/plane.md"}'),l={name:"zht/api/mp_math/plane.md"},h=n("",105),t=[h];function p(k,e,r,d,E,o){return a(),i("div",null,t)}const y=s(l,[["render",p]]);export{F as __pageData,y as default};
diff --git a/assets/zht_api_mp_math_point.md.CK50W0JG.js b/assets/zht_api_mp_math_point.md.CH6HpvMW.js
similarity index 89%
rename from assets/zht_api_mp_math_point.md.CK50W0JG.js
rename to assets/zht_api_mp_math_point.md.CH6HpvMW.js
index 36ee763..c1ab724 100644
--- a/assets/zht_api_mp_math_point.md.CK50W0JG.js
+++ b/assets/zht_api_mp_math_point.md.CH6HpvMW.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point"},"headers":[],"relativePath":"zht/api/mp_math/point.md","filePath":"zht/api/mp_math/point.md"}'),n={name:"zht/api/mp_math/point.md"},h=t(`

mbcp.mp_math.point

説明: 本模块定义了三维空间中点的类。

class Point3

method __init__(self, x: float, y: float, z: float)

説明: 笛卡尔坐标系中的点。

變數説明:

  • x: x 坐标
  • y: y 坐标
  • z: z 坐标
源碼
python
def __init__(self, x: float, y: float, z: float):
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/point.md","filePath":"zht/api/mp_math/point.md"}'),n={name:"zht/api/mp_math/point.md"},h=t(`

mbcp.mp_math.point

説明: 本模块定义了三维空间中点的类。

class Point3

method __init__(self, x: float, y: float, z: float)

説明: 笛卡尔坐标系中的点。

變數説明:

  • x: x 坐标
  • y: y 坐标
  • z: z 坐标
源碼
python
def __init__(self, x: float, y: float, z: float):
     """
         笛卡尔坐标系中的点。
         Args:
diff --git a/assets/zht_api_mp_math_point.md.CH6HpvMW.lean.js b/assets/zht_api_mp_math_point.md.CH6HpvMW.lean.js
new file mode 100644
index 0000000..f80dac1
--- /dev/null
+++ b/assets/zht_api_mp_math_point.md.CH6HpvMW.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/point.md","filePath":"zht/api/mp_math/point.md"}'),n={name:"zht/api/mp_math/point.md"},h=t("",36),l=[h];function e(p,k,o,r,d,E){return a(),i("div",null,l)}const F=s(n,[["render",e]]);export{y as __pageData,F as default};
diff --git a/assets/zht_api_mp_math_point.md.CK50W0JG.lean.js b/assets/zht_api_mp_math_point.md.CK50W0JG.lean.js
deleted file mode 100644
index a3b770a..0000000
--- a/assets/zht_api_mp_math_point.md.CK50W0JG.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point"},"headers":[],"relativePath":"zht/api/mp_math/point.md","filePath":"zht/api/mp_math/point.md"}'),n={name:"zht/api/mp_math/point.md"},h=t("",36),l=[h];function e(p,k,o,r,d,E){return a(),i("div",null,l)}const F=s(n,[["render",e]]);export{y as __pageData,F as default};
diff --git a/assets/zht_api_mp_math_segment.md.BK0QQket.lean.js b/assets/zht_api_mp_math_segment.md.BK0QQket.lean.js
deleted file mode 100644
index 10f6519..0000000
--- a/assets/zht_api_mp_math_segment.md.BK0QQket.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment"},"headers":[],"relativePath":"zht/api/mp_math/segment.md","filePath":"zht/api/mp_math/segment.md"}'),t={name:"zht/api/mp_math/segment.md"},h=n("",6),p=[h];function l(e,k,r,d,E,g){return a(),i("div",null,p)}const y=s(t,[["render",l]]);export{F as __pageData,y as default};
diff --git a/assets/api_mp_math_segment.md.BLQ-UFFk.js b/assets/zht_api_mp_math_segment.md.BZQVMFnu.js
similarity index 71%
rename from assets/api_mp_math_segment.md.BLQ-UFFk.js
rename to assets/zht_api_mp_math_segment.md.BZQVMFnu.js
index 05580a0..d4c23d6 100644
--- a/assets/api_mp_math_segment.md.BLQ-UFFk.js
+++ b/assets/zht_api_mp_math_segment.md.BZQVMFnu.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment"},"headers":[],"relativePath":"api/mp_math/segment.md","filePath":"zh/api/mp_math/segment.md"}'),t={name:"api/mp_math/segment.md"},h=n(`

mbcp.mp_math.segment

说明: 本模块定义了三维空间中的线段类

class Segment3

method __init__(self, p1: Point3, p2: Point3)

说明: 三维空间中的线段。 :param p1: :param p2:

源代码
python
def __init__(self, p1: 'Point3', p2: 'Point3'):
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/segment.md","filePath":"zht/api/mp_math/segment.md"}'),t={name:"zht/api/mp_math/segment.md"},h=n(`

mbcp.mp_math.segment

説明: 本模块定义了三维空间中的线段类

class Segment3

method __init__(self, p1: Point3, p2: Point3)

説明: 三维空间中的线段。 :param p1: :param p2:

源碼
python
def __init__(self, p1: 'Point3', p2: 'Point3'):
     """
         三维空间中的线段。
         :param p1:
diff --git a/assets/zht_api_mp_math_segment.md.BZQVMFnu.lean.js b/assets/zht_api_mp_math_segment.md.BZQVMFnu.lean.js
new file mode 100644
index 0000000..6a4431d
--- /dev/null
+++ b/assets/zht_api_mp_math_segment.md.BZQVMFnu.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const F=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/segment.md","filePath":"zht/api/mp_math/segment.md"}'),t={name:"zht/api/mp_math/segment.md"},h=n("",6),p=[h];function l(e,k,r,d,E,g){return a(),i("div",null,p)}const y=s(t,[["render",l]]);export{F as __pageData,y as default};
diff --git a/assets/zht_api_mp_math_utils.md.BQrrPf8T.lean.js b/assets/zht_api_mp_math_utils.md.BQrrPf8T.lean.js
deleted file mode 100644
index b89db5c..0000000
--- a/assets/zht_api_mp_math_utils.md.BQrrPf8T.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils"},"headers":[],"relativePath":"zht/api/mp_math/utils.md","filePath":"zht/api/mp_math/utils.md"}'),t={name:"zht/api/mp_math/utils.md"},l=n("",35),h=[l];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(t,[["render",p]]);export{E as __pageData,y as default};
diff --git a/assets/zht_api_mp_math_utils.md.BQrrPf8T.js b/assets/zht_api_mp_math_utils.md.CAphuB0R.js
similarity index 92%
rename from assets/zht_api_mp_math_utils.md.BQrrPf8T.js
rename to assets/zht_api_mp_math_utils.md.CAphuB0R.js
index 1627c9c..5100857 100644
--- a/assets/zht_api_mp_math_utils.md.BQrrPf8T.js
+++ b/assets/zht_api_mp_math_utils.md.CAphuB0R.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils"},"headers":[],"relativePath":"zht/api/mp_math/utils.md","filePath":"zht/api/mp_math/utils.md"}'),t={name:"zht/api/mp_math/utils.md"},l=n(`

mbcp.mp_math.utils

説明: 本模块定义了一些常用的工具函数

func clamp(x: float, min_: float, max_: float) -> float

説明: 区间限定函数

變數説明:

  • x: 待限定的值
  • min_: 最小值
  • max_: 最大值

返回: 限制后的值

源碼
python
def clamp(x: float, min_: float, max_: float) -> float:
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/utils.md","filePath":"zht/api/mp_math/utils.md"}'),t={name:"zht/api/mp_math/utils.md"},l=n(`

mbcp.mp_math.utils

説明: 本模块定义了一些常用的工具函数

func clamp(x: float, min_: float, max_: float) -> float

説明: 区间限定函数

變數説明:

  • x: 待限定的值
  • min_: 最小值
  • max_: 最大值

返回: 限制后的值

源碼
python
def clamp(x: float, min_: float, max_: float) -> float:
     """
     区间限定函数
     Args:
diff --git a/assets/zht_api_mp_math_utils.md.CAphuB0R.lean.js b/assets/zht_api_mp_math_utils.md.CAphuB0R.lean.js
new file mode 100644
index 0000000..0997936
--- /dev/null
+++ b/assets/zht_api_mp_math_utils.md.CAphuB0R.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as n}from"./chunks/framework.C94oF1kp.js";const E=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/utils.md","filePath":"zht/api/mp_math/utils.md"}'),t={name:"zht/api/mp_math/utils.md"},l=n("",35),h=[l];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const y=s(t,[["render",p]]);export{E as __pageData,y as default};
diff --git a/assets/zht_api_mp_math_vector.md.CtYckwOL.js b/assets/zht_api_mp_math_vector.md.B57rC4-I.js
similarity index 97%
rename from assets/zht_api_mp_math_vector.md.CtYckwOL.js
rename to assets/zht_api_mp_math_vector.md.B57rC4-I.js
index 574aa63..cefe23c 100644
--- a/assets/zht_api_mp_math_vector.md.CtYckwOL.js
+++ b/assets/zht_api_mp_math_vector.md.B57rC4-I.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector"},"headers":[],"relativePath":"zht/api/mp_math/vector.md","filePath":"zht/api/mp_math/vector.md"}'),n={name:"zht/api/mp_math/vector.md"},h=t(`

mbcp.mp_math.vector

説明: 本模块定义了3维向量的类Vector3,以及一些常用的向量。

class Vector3

method __init__(self, x: float, y: float, z: float)

説明: 3维向量

變數説明:

  • x: x轴分量
  • y: y轴分量
  • z: z轴分量
源碼
python
def __init__(self, x: float, y: float, z: float):
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/vector.md","filePath":"zht/api/mp_math/vector.md"}'),n={name:"zht/api/mp_math/vector.md"},h=t(`

mbcp.mp_math.vector

説明: 本模块定义了3维向量的类Vector3,以及一些常用的向量。

class Vector3

method __init__(self, x: float, y: float, z: float)

説明: 3维向量

變數説明:

  • x: x轴分量
  • y: y轴分量
  • z: z轴分量
源碼
python
def __init__(self, x: float, y: float, z: float):
     """
         3维向量
         Args:
diff --git a/assets/zht_api_mp_math_vector.md.B57rC4-I.lean.js b/assets/zht_api_mp_math_vector.md.B57rC4-I.lean.js
new file mode 100644
index 0000000..344491f
--- /dev/null
+++ b/assets/zht_api_mp_math_vector.md.B57rC4-I.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector","editLink":false},"headers":[],"relativePath":"zht/api/mp_math/vector.md","filePath":"zht/api/mp_math/vector.md"}'),n={name:"zht/api/mp_math/vector.md"},h=t("",127),l=[h];function e(p,k,r,o,d,g){return a(),i("div",null,l)}const F=s(n,[["render",e]]);export{y as __pageData,F as default};
diff --git a/assets/zht_api_mp_math_vector.md.CtYckwOL.lean.js b/assets/zht_api_mp_math_vector.md.CtYckwOL.lean.js
deleted file mode 100644
index 9790731..0000000
--- a/assets/zht_api_mp_math_vector.md.CtYckwOL.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector"},"headers":[],"relativePath":"zht/api/mp_math/vector.md","filePath":"zht/api/mp_math/vector.md"}'),n={name:"zht/api/mp_math/vector.md"},h=t("",127),l=[h];function e(p,k,r,o,d,g){return a(),i("div",null,l)}const F=s(n,[["render",e]]);export{y as __pageData,F as default};
diff --git a/assets/zht_api_particle_index.md.8GaGB1ul.js b/assets/zht_api_particle_index.md.8GaGB1ul.js
new file mode 100644
index 0000000..5acdf77
--- /dev/null
+++ b/assets/zht_api_particle_index.md.8GaGB1ul.js
@@ -0,0 +1 @@
+import{_ as a,c,o as i,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","editLink":false,"collapsed":true},"headers":[],"relativePath":"zht/api/particle/index.md","filePath":"zht/api/particle/index.md"}'),r={name:"zht/api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),l=e("p",null,[e("strong",null,"説明"),t(": 本模块定义了粒子生成相关的工具")],-1),n=[p,l];function s(o,d,_,m,h,f){return i(),c("div",null,n)}const u=a(r,[["render",s]]);export{b as __pageData,u as default};
diff --git a/assets/zht_api_particle_index.md.8GaGB1ul.lean.js b/assets/zht_api_particle_index.md.8GaGB1ul.lean.js
new file mode 100644
index 0000000..5acdf77
--- /dev/null
+++ b/assets/zht_api_particle_index.md.8GaGB1ul.lean.js
@@ -0,0 +1 @@
+import{_ as a,c,o as i,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","editLink":false,"collapsed":true},"headers":[],"relativePath":"zht/api/particle/index.md","filePath":"zht/api/particle/index.md"}'),r={name:"zht/api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),l=e("p",null,[e("strong",null,"説明"),t(": 本模块定义了粒子生成相关的工具")],-1),n=[p,l];function s(o,d,_,m,h,f){return i(),c("div",null,n)}const u=a(r,[["render",s]]);export{b as __pageData,u as default};
diff --git a/assets/zht_api_particle_index.md.CljeoVXn.js b/assets/zht_api_particle_index.md.CljeoVXn.js
deleted file mode 100644
index 6bce6c3..0000000
--- a/assets/zht_api_particle_index.md.CljeoVXn.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c,o as r,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","collapsed":true},"headers":[],"relativePath":"zht/api/particle/index.md","filePath":"zht/api/particle/index.md"}'),i={name:"zht/api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),l=e("p",null,[e("strong",null,"説明"),t(": 本模块定义了粒子生成相关的工具")],-1),n=[p,l];function o(s,d,_,m,h,f){return r(),c("div",null,n)}const u=a(i,[["render",o]]);export{b as __pageData,u as default};
diff --git a/assets/zht_api_particle_index.md.CljeoVXn.lean.js b/assets/zht_api_particle_index.md.CljeoVXn.lean.js
deleted file mode 100644
index 6bce6c3..0000000
--- a/assets/zht_api_particle_index.md.CljeoVXn.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,c,o as r,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","collapsed":true},"headers":[],"relativePath":"zht/api/particle/index.md","filePath":"zht/api/particle/index.md"}'),i={name:"zht/api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"​")],-1),l=e("p",null,[e("strong",null,"説明"),t(": 本模块定义了粒子生成相关的工具")],-1),n=[p,l];function o(s,d,_,m,h,f){return r(),c("div",null,n)}const u=a(i,[["render",o]]);export{b as __pageData,u as default};
diff --git a/assets/zht_api_presets_index.md.DEbOKiST.js b/assets/zht_api_presets_index.md.DEbOKiST.js
deleted file mode 100644
index 7e0f5f8..0000000
--- a/assets/zht_api_presets_index.md.DEbOKiST.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","collapsed":true},"headers":[],"relativePath":"zht/api/presets/index.md","filePath":"zht/api/presets/index.md"}'),r={name:"zht/api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"説明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),p=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),l=[i,n,p];function c(d,m,h,_,u,f){return o(),a("div",null,l)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/zht_api_presets_index.md.DEbOKiST.lean.js b/assets/zht_api_presets_index.md.DEbOKiST.lean.js
deleted file mode 100644
index 7e0f5f8..0000000
--- a/assets/zht_api_presets_index.md.DEbOKiST.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","collapsed":true},"headers":[],"relativePath":"zht/api/presets/index.md","filePath":"zht/api/presets/index.md"}'),r={name:"zht/api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"説明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),p=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),l=[i,n,p];function c(d,m,h,_,u,f){return o(),a("div",null,l)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/zht_api_presets_index.md.DvOViSox.js b/assets/zht_api_presets_index.md.DvOViSox.js
new file mode 100644
index 0000000..042d73f
--- /dev/null
+++ b/assets/zht_api_presets_index.md.DvOViSox.js
@@ -0,0 +1 @@
+import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","editLink":false,"collapsed":true},"headers":[],"relativePath":"zht/api/presets/index.md","filePath":"zht/api/presets/index.md"}'),r={name:"zht/api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"説明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),p=[i,n,l];function c(d,m,h,_,u,f){return o(),a("div",null,p)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/zht_api_presets_index.md.DvOViSox.lean.js b/assets/zht_api_presets_index.md.DvOViSox.lean.js
new file mode 100644
index 0000000..042d73f
--- /dev/null
+++ b/assets/zht_api_presets_index.md.DvOViSox.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.C94oF1kp.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","editLink":false,"collapsed":true},"headers":[],"relativePath":"zht/api/presets/index.md","filePath":"zht/api/presets/index.md"}'),r={name:"zht/api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"​")],-1),n=e("p",null,[e("strong",null,"説明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),p=[i,n,l];function c(d,m,h,_,u,f){return o(),a("div",null,p)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};
diff --git a/assets/zht_api_presets_model_index.md.3pGdZAT9.lean.js b/assets/zht_api_presets_model_index.md.3pGdZAT9.lean.js
deleted file mode 100644
index bb959e6..0000000
--- a/assets/zht_api_presets_model_index.md.3pGdZAT9.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","collapsed":true},"headers":[],"relativePath":"zht/api/presets/model/index.md","filePath":"zht/api/presets/model/index.md"}'),n={name:"zht/api/presets/model/index.md"},h=t("",10),l=[h];function p(k,e,r,d,E,o){return a(),i("div",null,l)}const c=s(n,[["render",p]]);export{y as __pageData,c as default};
diff --git a/assets/zht_api_presets_model_index.md.3pGdZAT9.js b/assets/zht_api_presets_model_index.md.D2Dc7np7.js
similarity index 79%
rename from assets/zht_api_presets_model_index.md.3pGdZAT9.js
rename to assets/zht_api_presets_model_index.md.D2Dc7np7.js
index b145c65..879cc9e 100644
--- a/assets/zht_api_presets_model_index.md.3pGdZAT9.js
+++ b/assets/zht_api_presets_model_index.md.D2Dc7np7.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","collapsed":true},"headers":[],"relativePath":"zht/api/presets/model/index.md","filePath":"zht/api/presets/model/index.md"}'),n={name:"zht/api/presets/model/index.md"},h=t(`

mbcp.presets.model

説明: 几何模型点集

class GeometricModels

@staticmethod

method sphere(radius: float, density: float)

説明: 生成球体上的点集。

變數説明:

  • radius:
  • density:

返回: List[Point3]: 球体上的点集。

源碼
python
@staticmethod
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","editLink":false,"collapsed":true},"headers":[],"relativePath":"zht/api/presets/model/index.md","filePath":"zht/api/presets/model/index.md"}'),n={name:"zht/api/presets/model/index.md"},h=t(`

mbcp.presets.model

説明: 几何模型点集

class GeometricModels

@staticmethod

method sphere(radius: float, density: float)

説明: 生成球体上的点集。

變數説明:

  • radius:
  • density:

返回: List[Point3]: 球体上的点集。

源碼
python
@staticmethod
 def sphere(radius: float, density: float):
     """
         生成球体上的点集。
diff --git a/assets/zht_api_presets_model_index.md.D2Dc7np7.lean.js b/assets/zht_api_presets_model_index.md.D2Dc7np7.lean.js
new file mode 100644
index 0000000..13a4beb
--- /dev/null
+++ b/assets/zht_api_presets_model_index.md.D2Dc7np7.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a2 as t}from"./chunks/framework.C94oF1kp.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","editLink":false,"collapsed":true},"headers":[],"relativePath":"zht/api/presets/model/index.md","filePath":"zht/api/presets/model/index.md"}'),n={name:"zht/api/presets/model/index.md"},h=t("",10),l=[h];function p(k,e,r,d,E,o){return a(),i("div",null,l)}const c=s(n,[["render",p]]);export{y as __pageData,c as default};
diff --git a/demo/index.html b/demo/index.html
index 1823588..8f0caf0 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -17,8 +17,8 @@
     
   
   
-    
Skip to content

demo

文档由 VitePress 构建 | API引用由 litedoc 生成

- +
Skip to content

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/en/api/index.html b/en/api/index.html index 38d943e..44a40ab 100644 --- a/en/api/index.html +++ b/en/api/index.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp

Description: 本模块塞了一些预设的粒子生成器

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/api/mp_math/angle.html b/en/api/mp_math/angle.html index df10f19..c9dc1c7 100644 --- a/en/api/mp_math/angle.html +++ b/en/api/mp_math/angle.html @@ -12,7 +12,7 @@ - + @@ -116,7 +116,7 @@ if isinstance(other, AnyAngle): return self.radian / other.radian return AnyAngle(self.radian / other, is_radian=True)

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/api/mp_math/const.html b/en/api/mp_math/const.html index 621789e..cb13e4d 100644 --- a/en/api/mp_math/const.html +++ b/en/api/mp_math/const.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.mp_math.const

Description: 本模块定义了一些常用的常量

var PI = math.pi

  • Description: 常量 π

var E = math.e

  • Description: 自然对数的底 exp(1)

var GOLDEN_RATIO = (1 + math.sqrt(5)) / 2

  • Description: 黄金分割比

var GAMMA = 0.5772156649015329

  • Description: 欧拉常数

var EPSILON = 0.0001

  • Description: 精度误差

var APPROX = 0.001

  • Description: 约等于判定误差

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/api/mp_math/equation.html b/en/api/mp_math/equation.html index 114ccf2..33d6292 100644 --- a/en/api/mp_math/equation.html +++ b/en/api/mp_math/equation.html @@ -12,7 +12,7 @@ - + @@ -97,7 +97,7 @@ """@litedoc-hide""" return func(*args, *args2) return curried_func

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/api/mp_math/function.html b/en/api/mp_math/function.html index 20380ce..67619ec 100644 --- a/en/api/mp_math/function.html +++ b/en/api/mp_math/function.html @@ -12,7 +12,7 @@ - + @@ -34,7 +34,7 @@ dy = (func(p.x, p.y + epsilon, p.z) - func(p.x, p.y - epsilon, p.z)) / (2 * epsilon) dz = (func(p.x, p.y, p.z + epsilon) - func(p.x, p.y, p.z - epsilon)) / (2 * epsilon) return Vector3(dx, dy, dz)

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/api/mp_math/index.html b/en/api/mp_math/index.html index 184e40f..56c9efa 100644 --- a/en/api/mp_math/index.html +++ b/en/api/mp_math/index.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.mp_math

Description: 本包定义了一些常用的导入,可直接从mbcp.mp_math导入使用 导入的类有:

  • AnyAngle:任意角
  • CurveEquation:曲线方程
  • Line3:三维直线
  • Plane3:三维平面
  • Point3:三维点
  • Segment3:三维线段
  • Vector3:三维向量

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/api/mp_math/line.html b/en/api/mp_math/line.html index f9b3155..98f8802 100644 --- a/en/api/mp_math/line.html +++ b/en/api/mp_math/line.html @@ -12,7 +12,7 @@ - + @@ -195,7 +195,7 @@ """ return self.direction.is_parallel(other.direction) and (self.point - other.point).is_parallel(self.direction)

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/api/mp_math/mp_math_typing.html b/en/api/mp_math/mp_math_typing.html index 2fc2bd6..0fe9850 100644 --- a/en/api/mp_math/mp_math_typing.html +++ b/en/api/mp_math/mp_math_typing.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.mp_math.mp_math_typing

Description: 本模块用于内部类型提示

var RealNumber = int | float

  • Type: TypeAlias

  • Description: 实数

var Number = RealNumber | complex

  • Type: TypeAlias

  • Description: 数

var SingleVar = TypeVar('SingleVar', bound=Number)

  • Description: 单变量

var ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])

  • Description: 数组变量

var Var = SingleVar | ArrayVar

  • Type: TypeAlias

  • Description: 变量

var OneSingleVarFunc = Callable[[SingleVar], SingleVar]

  • Type: TypeAlias

  • Description: 一元单变量函数

var OneArrayFunc = Callable[[ArrayVar], ArrayVar]

  • Type: TypeAlias

  • Description: 一元数组函数

var OneVarFunc = OneSingleVarFunc | OneArrayFunc

  • Type: TypeAlias

  • Description: 一元函数

var TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]

  • Type: TypeAlias

  • Description: 二元单变量函数

var TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]

  • Type: TypeAlias

  • Description: 二元数组函数

var TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc

  • Type: TypeAlias

  • Description: 二元函数

var ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]

  • Type: TypeAlias

  • Description: 三元单变量函数

var ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]

  • Type: TypeAlias

  • Description: 三元数组函数

var ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc

  • Type: TypeAlias

  • Description: 三元函数

var MultiSingleVarsFunc = Callable[..., SingleVar]

  • Type: TypeAlias

  • Description: 多元单变量函数

var MultiArraysFunc = Callable[..., ArrayVar]

  • Type: TypeAlias

  • Description: 多元数组函数

var MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc

  • Type: TypeAlias

  • Description: 多元函数

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/api/mp_math/plane.html b/en/api/mp_math/plane.html index 7070657..d4eff0d 100644 --- a/en/api/mp_math/plane.html +++ b/en/api/mp_math/plane.html @@ -12,7 +12,7 @@ - + @@ -213,7 +213,7 @@ raise TypeError(f"unsupported operand type(s) for &: 'Plane3' and '{type(other)}'")

method __eq__(self, other) -> bool

Source code
python
def __eq__(self, other) -> bool:
     return self.approx(other)

method __rand__(self, other: Line3) -> Point3

Source code
python
def __rand__(self, other: 'Line3') -> 'Point3':
     return self.cal_intersection_point3(other)

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/api/mp_math/point.html b/en/api/mp_math/point.html index 6c8fd83..be89964 100644 --- a/en/api/mp_math/point.html +++ b/en/api/mp_math/point.html @@ -12,7 +12,7 @@ - + @@ -68,7 +68,7 @@ """ from .vector import Vector3 return Vector3(self.x - other.x, self.y - other.y, self.z - other.z)

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/api/mp_math/segment.html b/en/api/mp_math/segment.html index 072b853..4ee1140 100644 --- a/en/api/mp_math/segment.html +++ b/en/api/mp_math/segment.html @@ -12,7 +12,7 @@ - + @@ -31,7 +31,7 @@ self.length = self.direction.length '中心点' self.midpoint = Point3((self.p1.x + self.p2.x) / 2, (self.p1.y + self.p2.y) / 2, (self.p1.z + self.p2.z) / 2)

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/api/mp_math/utils.html b/en/api/mp_math/utils.html index 0a9d1e7..3f06c18 100644 --- a/en/api/mp_math/utils.html +++ b/en/api/mp_math/utils.html @@ -12,7 +12,7 @@ - + @@ -81,7 +81,7 @@ return f'-{abs(x)}' else: return ''
- + \ No newline at end of file diff --git a/en/api/mp_math/vector.html b/en/api/mp_math/vector.html index ce05b43..cbece0e 100644 --- a/en/api/mp_math/vector.html +++ b/en/api/mp_math/vector.html @@ -12,7 +12,7 @@ - + @@ -204,7 +204,7 @@ return self.x * other.x + self.y * other.y + self.z * other.z

method self / other: RealNumber => Vector3

Source code
python
def __truediv__(self, other: RealNumber) -> 'Vector3':
     return Vector3(self.x / other, self.y / other, self.z / other)

method - self

Source code
python
def __neg__(self):
     return Vector3(-self.x, -self.y, -self.z)

var zero_vector3 = Vector3(0, 0, 0)

var x_axis = Vector3(1, 0, 0)

var y_axis = Vector3(0, 1, 0)

var z_axis = Vector3(0, 0, 1)

- + \ No newline at end of file diff --git a/en/api/particle/index.html b/en/api/particle/index.html index 0380eeb..8397aeb 100644 --- a/en/api/particle/index.html +++ b/en/api/particle/index.html @@ -12,13 +12,13 @@ - +
- + \ No newline at end of file diff --git a/en/api/presets/index.html b/en/api/presets/index.html index ae97123..bf38084 100644 --- a/en/api/presets/index.html +++ b/en/api/presets/index.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.presets

Description: Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : init.py @Software: PyCharm

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/api/presets/model/index.html b/en/api/presets/model/index.html index 060b852..712fabb 100644 --- a/en/api/presets/model/index.html +++ b/en/api/presets/model/index.html @@ -12,7 +12,7 @@ - + @@ -35,7 +35,7 @@ y_array = radius * np.sin(phi_list) * np.sin(theta_list) z_array = radius * np.cos(phi_list) return [Point3(x_array[i], y_array[i], z_array[i]) for i in range(num)] - + \ No newline at end of file diff --git a/en/guide/index.html b/en/guide/index.html index ae36c37..1d6b4c9 100644 --- a/en/guide/index.html +++ b/en/guide/index.html @@ -17,8 +17,8 @@ -
Skip to content

开始不了一点

12x111

Documentation built with VitePress | API references generated by litedoc

- +
Skip to content

开始不了一点

12x111

Documentation built with VitePress | API references generated by litedoc

+ \ No newline at end of file diff --git a/en/index.html b/en/index.html index d41f292..5f91acb 100644 --- a/en/index.html +++ b/en/index.html @@ -18,7 +18,7 @@
Skip to content

MBCP docs

More basic change particle

A Library for Python to create particle effects and geometric figures

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/guide/index.html b/guide/index.html index d6df874..4b1214a 100644 --- a/guide/index.html +++ b/guide/index.html @@ -12,13 +12,13 @@ - + -
Skip to content

开始不了一点

12x111

文档由 VitePress 构建 | API引用由 litedoc 生成

- +
Skip to content

开始不了一点

12x111

AAA

BBB

C

ddd

文档由 VitePress 构建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index 6f41064..5c5309b 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"api_index.md":"CBQkxs7b","api_mp_math_angle.md":"gd7UQvyy","api_mp_math_const.md":"3scs0T6A","api_mp_math_equation.md":"DuZ1hN4l","api_mp_math_function.md":"U6hGSIm3","api_mp_math_index.md":"1HMGGW3A","api_mp_math_line.md":"B-ShajAF","api_mp_math_mp_math_typing.md":"BtAkBFH3","api_mp_math_plane.md":"DnJHiXsz","api_mp_math_point.md":"9ZJsp3fx","api_mp_math_segment.md":"BLQ-UFFk","api_mp_math_utils.md":"yzrnwrbP","api_mp_math_vector.md":"BSPllWFK","api_particle_index.md":"Cgiljhcz","api_presets_index.md":"RZipvyLz","api_presets_model_index.md":"4RPSG4yh","demo_index.md":"D-H9zRUE","en_api_index.md":"BaqBYqY8","en_api_mp_math_angle.md":"z39I-qRz","en_api_mp_math_const.md":"CSc4Ut1v","en_api_mp_math_equation.md":"0VnHCQQ4","en_api_mp_math_function.md":"BzQ8FTPC","en_api_mp_math_index.md":"Gx9tQ_Za","en_api_mp_math_line.md":"e8dK90h_","en_api_mp_math_mp_math_typing.md":"DByFpCMm","en_api_mp_math_plane.md":"DYLAU1Re","en_api_mp_math_point.md":"DYCVxK7m","en_api_mp_math_segment.md":"CUQLS_qv","en_api_mp_math_utils.md":"B4NFHkPz","en_api_mp_math_vector.md":"BJF5J3QY","en_api_particle_index.md":"f-q0HsfK","en_api_presets_index.md":"CAyxYhKI","en_api_presets_model_index.md":"DypEdCdE","en_guide_index.md":"DrDHTYCZ","en_index.md":"MCm69eyE","guide_index.md":"NVx3l2Cr","index.md":"BjJ9-kbE","ja_api_index.md":"DW7hb-YH","ja_api_mp_math_angle.md":"Cac0Crec","ja_api_mp_math_const.md":"ClLsNkM_","ja_api_mp_math_equation.md":"8i-WXc7A","ja_api_mp_math_function.md":"GLsPZWha","ja_api_mp_math_index.md":"BBAQ-AOT","ja_api_mp_math_line.md":"BwZJXqnL","ja_api_mp_math_mp_math_typing.md":"DHbmIzMT","ja_api_mp_math_plane.md":"Ck5Q7igW","ja_api_mp_math_point.md":"CbFZXfAJ","ja_api_mp_math_segment.md":"DbTMeZAn","ja_api_mp_math_utils.md":"D2dcQ_ET","ja_api_mp_math_vector.md":"DBPPUIlc","ja_api_particle_index.md":"C9QFJ8EN","ja_api_presets_index.md":"BZKh7pEG","ja_api_presets_model_index.md":"DzI-SA0H","ja_guide_index.md":"BxGnZYwR","ja_index.md":"CtozMsIU","zht_api_index.md":"BoNToa7V","zht_api_mp_math_angle.md":"B7iqArJr","zht_api_mp_math_const.md":"3LY5TQ7t","zht_api_mp_math_equation.md":"DMSjWdou","zht_api_mp_math_function.md":"DOX7pGXC","zht_api_mp_math_index.md":"Cp3ggfPO","zht_api_mp_math_line.md":"D3xPFA2p","zht_api_mp_math_mp_math_typing.md":"DTY2F-6g","zht_api_mp_math_plane.md":"DAAO1c38","zht_api_mp_math_point.md":"CK50W0JG","zht_api_mp_math_segment.md":"BK0QQket","zht_api_mp_math_utils.md":"BQrrPf8T","zht_api_mp_math_vector.md":"CtYckwOL","zht_api_particle_index.md":"CljeoVXn","zht_api_presets_index.md":"DEbOKiST","zht_api_presets_model_index.md":"3pGdZAT9","zht_guide_index.md":"CsuFVFxu","zht_index.md":"V9U3SwDR"} +{"api_index.md":"C_wESrrY","api_mp_math_angle.md":"iDErkOWa","api_mp_math_const.md":"BAf8mK4W","api_mp_math_equation.md":"Di7kIkyq","api_mp_math_function.md":"roDde0nH","api_mp_math_index.md":"BNf7bQqL","api_mp_math_line.md":"DbfheWE4","api_mp_math_mp_math_typing.md":"DlnJmkos","api_mp_math_plane.md":"DLuC3Mxh","api_mp_math_point.md":"DAQFtNol","api_mp_math_segment.md":"CQz_FDoI","api_mp_math_utils.md":"C2moaW8N","api_mp_math_vector.md":"BiNus8y5","api_particle_index.md":"Cm3Vk-es","api_presets_index.md":"CD62I2gv","api_presets_model_index.md":"CJMO-ffZ","demo_index.md":"D-H9zRUE","en_api_index.md":"Dj_5nFTt","en_api_mp_math_angle.md":"DI0aMl64","en_api_mp_math_const.md":"gGpXUShq","en_api_mp_math_equation.md":"CFa2gNNX","en_api_mp_math_function.md":"D5HNykIX","en_api_mp_math_index.md":"BEjLBMpH","en_api_mp_math_line.md":"BI7jrk5A","en_api_mp_math_mp_math_typing.md":"Dnl2aJQ4","en_api_mp_math_plane.md":"C6JEigTz","en_api_mp_math_point.md":"DgKVopYL","en_api_mp_math_segment.md":"GweOoNT9","en_api_mp_math_utils.md":"VHDSe3i2","en_api_mp_math_vector.md":"BlzUS0V3","en_api_particle_index.md":"BfyNQiRg","en_api_presets_index.md":"BWb2fpTg","en_api_presets_model_index.md":"BOZde1R5","en_guide_index.md":"DrDHTYCZ","en_index.md":"MCm69eyE","guide_index.md":"Cfmzk2IH","index.md":"BjJ9-kbE","ja_api_index.md":"CnUeuifx","ja_api_mp_math_angle.md":"mNl1_TuR","ja_api_mp_math_const.md":"DGXAgDfn","ja_api_mp_math_equation.md":"Bx4R1cWT","ja_api_mp_math_function.md":"D1A2lXjy","ja_api_mp_math_index.md":"CTZZ-p9Z","ja_api_mp_math_line.md":"CUb8HcBw","ja_api_mp_math_mp_math_typing.md":"BNymgrCT","ja_api_mp_math_plane.md":"CzPHp-i-","ja_api_mp_math_point.md":"1OBHSorb","ja_api_mp_math_segment.md":"Elu4YWS-","ja_api_mp_math_utils.md":"DdUJsEiD","ja_api_mp_math_vector.md":"BIkkuu3D","ja_api_particle_index.md":"Jr41Y3TS","ja_api_presets_index.md":"CQqdQbIZ","ja_api_presets_model_index.md":"DGIEt4ke","ja_guide_index.md":"BxGnZYwR","ja_index.md":"CtozMsIU","zht_api_index.md":"CgZH6aHQ","zht_api_mp_math_angle.md":"BHWp5-Wz","zht_api_mp_math_const.md":"xwQvuYck","zht_api_mp_math_equation.md":"Da-XfzS0","zht_api_mp_math_function.md":"CFVTTeOW","zht_api_mp_math_index.md":"mmeMMriu","zht_api_mp_math_line.md":"CERQpbvD","zht_api_mp_math_mp_math_typing.md":"CNiSnuMw","zht_api_mp_math_plane.md":"8lFm9uJ1","zht_api_mp_math_point.md":"CH6HpvMW","zht_api_mp_math_segment.md":"BZQVMFnu","zht_api_mp_math_utils.md":"CAphuB0R","zht_api_mp_math_vector.md":"B57rC4-I","zht_api_particle_index.md":"8GaGB1ul","zht_api_presets_index.md":"DvOViSox","zht_api_presets_model_index.md":"D2Dc7np7","zht_guide_index.md":"CsuFVFxu","zht_index.md":"V9U3SwDR"} diff --git a/index.html b/index.html index 69bda17..6ca285f 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@
Skip to content

MBCP docs

More basic change particle

用于几何运算和粒子制作的库

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/ja/api/index.html b/ja/api/index.html index 637c320..fcd9569 100644 --- a/ja/api/index.html +++ b/ja/api/index.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp

説明: 本模块塞了一些预设的粒子生成器

VitePress で構築されたドキュメント | litedoc によって生成されたAPIリファレンス

- + \ No newline at end of file diff --git a/ja/api/mp_math/angle.html b/ja/api/mp_math/angle.html index 6f7c89f..c58f388 100644 --- a/ja/api/mp_math/angle.html +++ b/ja/api/mp_math/angle.html @@ -12,7 +12,7 @@ - + @@ -116,7 +116,7 @@ if isinstance(other, AnyAngle): return self.radian / other.radian return AnyAngle(self.radian / other, is_radian=True) - + \ No newline at end of file diff --git a/ja/api/mp_math/const.html b/ja/api/mp_math/const.html index bc930f4..4f112d0 100644 --- a/ja/api/mp_math/const.html +++ b/ja/api/mp_math/const.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.mp_math.const

説明: 本模块定义了一些常用的常量

var PI = math.pi

  • 説明: 常量 π

var E = math.e

  • 説明: 自然对数的底 exp(1)

var GOLDEN_RATIO = (1 + math.sqrt(5)) / 2

  • 説明: 黄金分割比

var GAMMA = 0.5772156649015329

  • 説明: 欧拉常数

var EPSILON = 0.0001

  • 説明: 精度误差

var APPROX = 0.001

  • 説明: 约等于判定误差

VitePress で構築されたドキュメント | litedoc によって生成されたAPIリファレンス

- + \ No newline at end of file diff --git a/ja/api/mp_math/equation.html b/ja/api/mp_math/equation.html index b90ca61..9886498 100644 --- a/ja/api/mp_math/equation.html +++ b/ja/api/mp_math/equation.html @@ -12,7 +12,7 @@ - + @@ -97,7 +97,7 @@ """@litedoc-hide""" return func(*args, *args2) return curried_func - + \ No newline at end of file diff --git a/ja/api/mp_math/function.html b/ja/api/mp_math/function.html index a5f04fa..deddb73 100644 --- a/ja/api/mp_math/function.html +++ b/ja/api/mp_math/function.html @@ -12,7 +12,7 @@ - + @@ -34,7 +34,7 @@ dy = (func(p.x, p.y + epsilon, p.z) - func(p.x, p.y - epsilon, p.z)) / (2 * epsilon) dz = (func(p.x, p.y, p.z + epsilon) - func(p.x, p.y, p.z - epsilon)) / (2 * epsilon) return Vector3(dx, dy, dz) - + \ No newline at end of file diff --git a/ja/api/mp_math/index.html b/ja/api/mp_math/index.html index cc6f857..b95ec3b 100644 --- a/ja/api/mp_math/index.html +++ b/ja/api/mp_math/index.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.mp_math

説明: 本包定义了一些常用的导入,可直接从mbcp.mp_math导入使用 导入的类有:

  • AnyAngle:任意角
  • CurveEquation:曲线方程
  • Line3:三维直线
  • Plane3:三维平面
  • Point3:三维点
  • Segment3:三维线段
  • Vector3:三维向量

VitePress で構築されたドキュメント | litedoc によって生成されたAPIリファレンス

- + \ No newline at end of file diff --git a/ja/api/mp_math/line.html b/ja/api/mp_math/line.html index 2457d5b..72ece41 100644 --- a/ja/api/mp_math/line.html +++ b/ja/api/mp_math/line.html @@ -12,7 +12,7 @@ - + @@ -195,7 +195,7 @@ """ return self.direction.is_parallel(other.direction) and (self.point - other.point).is_parallel(self.direction) - + \ No newline at end of file diff --git a/ja/api/mp_math/mp_math_typing.html b/ja/api/mp_math/mp_math_typing.html index 315a40c..adec204 100644 --- a/ja/api/mp_math/mp_math_typing.html +++ b/ja/api/mp_math/mp_math_typing.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.mp_math.mp_math_typing

説明: 本模块用于内部类型提示

var RealNumber = int | float

  • タイプ: TypeAlias

  • 説明: 实数

var Number = RealNumber | complex

  • タイプ: TypeAlias

  • 説明: 数

var SingleVar = TypeVar('SingleVar', bound=Number)

  • 説明: 单变量

var ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])

  • 説明: 数组变量

var Var = SingleVar | ArrayVar

  • タイプ: TypeAlias

  • 説明: 变量

var OneSingleVarFunc = Callable[[SingleVar], SingleVar]

  • タイプ: TypeAlias

  • 説明: 一元单变量函数

var OneArrayFunc = Callable[[ArrayVar], ArrayVar]

  • タイプ: TypeAlias

  • 説明: 一元数组函数

var OneVarFunc = OneSingleVarFunc | OneArrayFunc

  • タイプ: TypeAlias

  • 説明: 一元函数

var TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]

  • タイプ: TypeAlias

  • 説明: 二元单变量函数

var TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]

  • タイプ: TypeAlias

  • 説明: 二元数组函数

var TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc

  • タイプ: TypeAlias

  • 説明: 二元函数

var ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]

  • タイプ: TypeAlias

  • 説明: 三元单变量函数

var ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]

  • タイプ: TypeAlias

  • 説明: 三元数组函数

var ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc

  • タイプ: TypeAlias

  • 説明: 三元函数

var MultiSingleVarsFunc = Callable[..., SingleVar]

  • タイプ: TypeAlias

  • 説明: 多元单变量函数

var MultiArraysFunc = Callable[..., ArrayVar]

  • タイプ: TypeAlias

  • 説明: 多元数组函数

var MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc

  • タイプ: TypeAlias

  • 説明: 多元函数

VitePress で構築されたドキュメント | litedoc によって生成されたAPIリファレンス

- + \ No newline at end of file diff --git a/ja/api/mp_math/plane.html b/ja/api/mp_math/plane.html index 177353d..5e2bcc5 100644 --- a/ja/api/mp_math/plane.html +++ b/ja/api/mp_math/plane.html @@ -12,7 +12,7 @@ - + @@ -213,7 +213,7 @@ raise TypeError(f"unsupported operand type(s) for &: 'Plane3' and '{type(other)}'")

method __eq__(self, other) -> bool

ソースコード
python
def __eq__(self, other) -> bool:
     return self.approx(other)

method __rand__(self, other: Line3) -> Point3

ソースコード
python
def __rand__(self, other: 'Line3') -> 'Point3':
     return self.cal_intersection_point3(other)
- + \ No newline at end of file diff --git a/ja/api/mp_math/point.html b/ja/api/mp_math/point.html index 8039319..c7a9e47 100644 --- a/ja/api/mp_math/point.html +++ b/ja/api/mp_math/point.html @@ -12,7 +12,7 @@ - + @@ -68,7 +68,7 @@ """ from .vector import Vector3 return Vector3(self.x - other.x, self.y - other.y, self.z - other.z) - + \ No newline at end of file diff --git a/ja/api/mp_math/segment.html b/ja/api/mp_math/segment.html index 42fd15e..b6a0953 100644 --- a/ja/api/mp_math/segment.html +++ b/ja/api/mp_math/segment.html @@ -12,7 +12,7 @@ - + @@ -31,7 +31,7 @@ self.length = self.direction.length '中心点' self.midpoint = Point3((self.p1.x + self.p2.x) / 2, (self.p1.y + self.p2.y) / 2, (self.p1.z + self.p2.z) / 2) - + \ No newline at end of file diff --git a/ja/api/mp_math/utils.html b/ja/api/mp_math/utils.html index 941534f..7c25d8d 100644 --- a/ja/api/mp_math/utils.html +++ b/ja/api/mp_math/utils.html @@ -12,7 +12,7 @@ - + @@ -81,7 +81,7 @@ return f'-{abs(x)}' else: return '' - + \ No newline at end of file diff --git a/ja/api/mp_math/vector.html b/ja/api/mp_math/vector.html index f18761a..634030d 100644 --- a/ja/api/mp_math/vector.html +++ b/ja/api/mp_math/vector.html @@ -12,7 +12,7 @@ - + @@ -204,7 +204,7 @@ return self.x * other.x + self.y * other.y + self.z * other.z

method self / other: RealNumber => Vector3

ソースコード
python
def __truediv__(self, other: RealNumber) -> 'Vector3':
     return Vector3(self.x / other, self.y / other, self.z / other)

method - self

ソースコード
python
def __neg__(self):
     return Vector3(-self.x, -self.y, -self.z)

var zero_vector3 = Vector3(0, 0, 0)

var x_axis = Vector3(1, 0, 0)

var y_axis = Vector3(0, 1, 0)

var z_axis = Vector3(0, 0, 1)

- + \ No newline at end of file diff --git a/ja/api/particle/index.html b/ja/api/particle/index.html index 18c9abe..50979c4 100644 --- a/ja/api/particle/index.html +++ b/ja/api/particle/index.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.particle

説明: 本模块定义了粒子生成相关的工具

VitePress で構築されたドキュメント | litedoc によって生成されたAPIリファレンス

- + \ No newline at end of file diff --git a/ja/api/presets/index.html b/ja/api/presets/index.html index 3f6583d..8b5ea3e 100644 --- a/ja/api/presets/index.html +++ b/ja/api/presets/index.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.presets

説明: Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : init.py @Software: PyCharm

VitePress で構築されたドキュメント | litedoc によって生成されたAPIリファレンス

- + \ No newline at end of file diff --git a/ja/api/presets/model/index.html b/ja/api/presets/model/index.html index b4003a6..3b933c3 100644 --- a/ja/api/presets/model/index.html +++ b/ja/api/presets/model/index.html @@ -12,7 +12,7 @@ - + @@ -35,7 +35,7 @@ y_array = radius * np.sin(phi_list) * np.sin(theta_list) z_array = radius * np.cos(phi_list) return [Point3(x_array[i], y_array[i], z_array[i]) for i in range(num)] - + \ No newline at end of file diff --git a/ja/guide/index.html b/ja/guide/index.html index 42402be..17b2f07 100644 --- a/ja/guide/index.html +++ b/ja/guide/index.html @@ -17,8 +17,8 @@ -
Skip to content

开始不了一点

12x111

VitePress で構築されたドキュメント | litedoc によって生成されたAPIリファレンス

- +
Skip to content

开始不了一点

12x111

VitePress で構築されたドキュメント | litedoc によって生成されたAPIリファレンス

+ \ No newline at end of file diff --git a/ja/index.html b/ja/index.html index 4235664..f9213c8 100644 --- a/ja/index.html +++ b/ja/index.html @@ -18,7 +18,7 @@
Skip to content

MBCP docs

More basic change particle

ジオメトリ演算とパーティクル作成のためのライブラリ

VitePress で構築されたドキュメント | litedoc によって生成されたAPIリファレンス

- + \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..86c473b --- /dev/null +++ b/sitemap.xml @@ -0,0 +1 @@ +https://mbcp.sfkm.me/en/api/https://mbcp.sfkm.me/ja/api/https://mbcp.sfkm.me/api/https://mbcp.sfkm.me/zht/api/https://mbcp.sfkm.me/en/api/mp_math/angle.htmlhttps://mbcp.sfkm.me/ja/api/mp_math/angle.htmlhttps://mbcp.sfkm.me/api/mp_math/angle.htmlhttps://mbcp.sfkm.me/zht/api/mp_math/angle.htmlhttps://mbcp.sfkm.me/en/api/mp_math/const.htmlhttps://mbcp.sfkm.me/ja/api/mp_math/const.htmlhttps://mbcp.sfkm.me/api/mp_math/const.htmlhttps://mbcp.sfkm.me/zht/api/mp_math/const.htmlhttps://mbcp.sfkm.me/en/api/mp_math/equation.htmlhttps://mbcp.sfkm.me/ja/api/mp_math/equation.htmlhttps://mbcp.sfkm.me/api/mp_math/equation.htmlhttps://mbcp.sfkm.me/zht/api/mp_math/equation.htmlhttps://mbcp.sfkm.me/en/api/mp_math/function.htmlhttps://mbcp.sfkm.me/ja/api/mp_math/function.htmlhttps://mbcp.sfkm.me/api/mp_math/function.htmlhttps://mbcp.sfkm.me/zht/api/mp_math/function.htmlhttps://mbcp.sfkm.me/en/api/mp_math/https://mbcp.sfkm.me/ja/api/mp_math/https://mbcp.sfkm.me/api/mp_math/https://mbcp.sfkm.me/zht/api/mp_math/https://mbcp.sfkm.me/en/api/mp_math/line.htmlhttps://mbcp.sfkm.me/ja/api/mp_math/line.htmlhttps://mbcp.sfkm.me/api/mp_math/line.htmlhttps://mbcp.sfkm.me/zht/api/mp_math/line.htmlhttps://mbcp.sfkm.me/en/api/mp_math/mp_math_typing.htmlhttps://mbcp.sfkm.me/ja/api/mp_math/mp_math_typing.htmlhttps://mbcp.sfkm.me/api/mp_math/mp_math_typing.htmlhttps://mbcp.sfkm.me/zht/api/mp_math/mp_math_typing.htmlhttps://mbcp.sfkm.me/en/api/mp_math/plane.htmlhttps://mbcp.sfkm.me/ja/api/mp_math/plane.htmlhttps://mbcp.sfkm.me/api/mp_math/plane.htmlhttps://mbcp.sfkm.me/zht/api/mp_math/plane.htmlhttps://mbcp.sfkm.me/en/api/mp_math/point.htmlhttps://mbcp.sfkm.me/ja/api/mp_math/point.htmlhttps://mbcp.sfkm.me/api/mp_math/point.htmlhttps://mbcp.sfkm.me/zht/api/mp_math/point.htmlhttps://mbcp.sfkm.me/en/api/mp_math/segment.htmlhttps://mbcp.sfkm.me/ja/api/mp_math/segment.htmlhttps://mbcp.sfkm.me/api/mp_math/segment.htmlhttps://mbcp.sfkm.me/zht/api/mp_math/segment.htmlhttps://mbcp.sfkm.me/en/api/mp_math/utils.htmlhttps://mbcp.sfkm.me/ja/api/mp_math/utils.htmlhttps://mbcp.sfkm.me/api/mp_math/utils.htmlhttps://mbcp.sfkm.me/zht/api/mp_math/utils.htmlhttps://mbcp.sfkm.me/en/api/mp_math/vector.htmlhttps://mbcp.sfkm.me/ja/api/mp_math/vector.htmlhttps://mbcp.sfkm.me/api/mp_math/vector.htmlhttps://mbcp.sfkm.me/zht/api/mp_math/vector.htmlhttps://mbcp.sfkm.me/en/api/particle/https://mbcp.sfkm.me/ja/api/particle/https://mbcp.sfkm.me/api/particle/https://mbcp.sfkm.me/zht/api/particle/https://mbcp.sfkm.me/en/api/presets/https://mbcp.sfkm.me/ja/api/presets/https://mbcp.sfkm.me/api/presets/https://mbcp.sfkm.me/zht/api/presets/https://mbcp.sfkm.me/en/api/presets/model/https://mbcp.sfkm.me/ja/api/presets/model/https://mbcp.sfkm.me/api/presets/model/https://mbcp.sfkm.me/zht/api/presets/model/https://mbcp.sfkm.me/en/guide/https://mbcp.sfkm.me/ja/guide/https://mbcp.sfkm.me/guide/https://mbcp.sfkm.me/zht/guide/https://mbcp.sfkm.me/en/https://mbcp.sfkm.me/ja/https://mbcp.sfkm.me/https://mbcp.sfkm.me/zht/https://mbcp.sfkm.me/demo/ \ No newline at end of file diff --git a/zht/api/index.html b/zht/api/index.html index d1e14e8..a08b205 100644 --- a/zht/api/index.html +++ b/zht/api/index.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp

説明: 本模块塞了一些预设的粒子生成器

文檔由 VitePress 構建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/zht/api/mp_math/angle.html b/zht/api/mp_math/angle.html index 35c15e5..3bdddc5 100644 --- a/zht/api/mp_math/angle.html +++ b/zht/api/mp_math/angle.html @@ -12,7 +12,7 @@ - + @@ -116,7 +116,7 @@ if isinstance(other, AnyAngle): return self.radian / other.radian return AnyAngle(self.radian / other, is_radian=True) - + \ No newline at end of file diff --git a/zht/api/mp_math/const.html b/zht/api/mp_math/const.html index ff40d89..571196d 100644 --- a/zht/api/mp_math/const.html +++ b/zht/api/mp_math/const.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.mp_math.const

説明: 本模块定义了一些常用的常量

var PI = math.pi

  • 説明: 常量 π

var E = math.e

  • 説明: 自然对数的底 exp(1)

var GOLDEN_RATIO = (1 + math.sqrt(5)) / 2

  • 説明: 黄金分割比

var GAMMA = 0.5772156649015329

  • 説明: 欧拉常数

var EPSILON = 0.0001

  • 説明: 精度误差

var APPROX = 0.001

  • 説明: 约等于判定误差

文檔由 VitePress 構建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/zht/api/mp_math/equation.html b/zht/api/mp_math/equation.html index 1c4ac9d..b86fd12 100644 --- a/zht/api/mp_math/equation.html +++ b/zht/api/mp_math/equation.html @@ -12,7 +12,7 @@ - + @@ -97,7 +97,7 @@ """@litedoc-hide""" return func(*args, *args2) return curried_func - + \ No newline at end of file diff --git a/zht/api/mp_math/function.html b/zht/api/mp_math/function.html index 9b3d3ae..11d5766 100644 --- a/zht/api/mp_math/function.html +++ b/zht/api/mp_math/function.html @@ -12,7 +12,7 @@ - + @@ -34,7 +34,7 @@ dy = (func(p.x, p.y + epsilon, p.z) - func(p.x, p.y - epsilon, p.z)) / (2 * epsilon) dz = (func(p.x, p.y, p.z + epsilon) - func(p.x, p.y, p.z - epsilon)) / (2 * epsilon) return Vector3(dx, dy, dz) - + \ No newline at end of file diff --git a/zht/api/mp_math/index.html b/zht/api/mp_math/index.html index ec87a20..9bae1c4 100644 --- a/zht/api/mp_math/index.html +++ b/zht/api/mp_math/index.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.mp_math

説明: 本包定义了一些常用的导入,可直接从mbcp.mp_math导入使用 导入的类有:

  • AnyAngle:任意角
  • CurveEquation:曲线方程
  • Line3:三维直线
  • Plane3:三维平面
  • Point3:三维点
  • Segment3:三维线段
  • Vector3:三维向量

文檔由 VitePress 構建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/zht/api/mp_math/line.html b/zht/api/mp_math/line.html index a3a811d..3dae8a5 100644 --- a/zht/api/mp_math/line.html +++ b/zht/api/mp_math/line.html @@ -12,7 +12,7 @@ - + @@ -195,7 +195,7 @@ """ return self.direction.is_parallel(other.direction) and (self.point - other.point).is_parallel(self.direction) - + \ No newline at end of file diff --git a/zht/api/mp_math/mp_math_typing.html b/zht/api/mp_math/mp_math_typing.html index 13c0b41..aa369d1 100644 --- a/zht/api/mp_math/mp_math_typing.html +++ b/zht/api/mp_math/mp_math_typing.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.mp_math.mp_math_typing

説明: 本模块用于内部类型提示

var RealNumber = int | float

  • 類型: TypeAlias

  • 説明: 实数

var Number = RealNumber | complex

  • 類型: TypeAlias

  • 説明: 数

var SingleVar = TypeVar('SingleVar', bound=Number)

  • 説明: 单变量

var ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])

  • 説明: 数组变量

var Var = SingleVar | ArrayVar

  • 類型: TypeAlias

  • 説明: 变量

var OneSingleVarFunc = Callable[[SingleVar], SingleVar]

  • 類型: TypeAlias

  • 説明: 一元单变量函数

var OneArrayFunc = Callable[[ArrayVar], ArrayVar]

  • 類型: TypeAlias

  • 説明: 一元数组函数

var OneVarFunc = OneSingleVarFunc | OneArrayFunc

  • 類型: TypeAlias

  • 説明: 一元函数

var TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]

  • 類型: TypeAlias

  • 説明: 二元单变量函数

var TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]

  • 類型: TypeAlias

  • 説明: 二元数组函数

var TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc

  • 類型: TypeAlias

  • 説明: 二元函数

var ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]

  • 類型: TypeAlias

  • 説明: 三元单变量函数

var ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]

  • 類型: TypeAlias

  • 説明: 三元数组函数

var ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc

  • 類型: TypeAlias

  • 説明: 三元函数

var MultiSingleVarsFunc = Callable[..., SingleVar]

  • 類型: TypeAlias

  • 説明: 多元单变量函数

var MultiArraysFunc = Callable[..., ArrayVar]

  • 類型: TypeAlias

  • 説明: 多元数组函数

var MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc

  • 類型: TypeAlias

  • 説明: 多元函数

文檔由 VitePress 構建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/zht/api/mp_math/plane.html b/zht/api/mp_math/plane.html index 5400a1a..a4aa312 100644 --- a/zht/api/mp_math/plane.html +++ b/zht/api/mp_math/plane.html @@ -12,7 +12,7 @@ - + @@ -213,7 +213,7 @@ raise TypeError(f"unsupported operand type(s) for &: 'Plane3' and '{type(other)}'")

method __eq__(self, other) -> bool

源碼
python
def __eq__(self, other) -> bool:
     return self.approx(other)

method __rand__(self, other: Line3) -> Point3

源碼
python
def __rand__(self, other: 'Line3') -> 'Point3':
     return self.cal_intersection_point3(other)
- + \ No newline at end of file diff --git a/zht/api/mp_math/point.html b/zht/api/mp_math/point.html index 8af8b32..2d19188 100644 --- a/zht/api/mp_math/point.html +++ b/zht/api/mp_math/point.html @@ -12,7 +12,7 @@ - + @@ -68,7 +68,7 @@ """ from .vector import Vector3 return Vector3(self.x - other.x, self.y - other.y, self.z - other.z) - + \ No newline at end of file diff --git a/zht/api/mp_math/segment.html b/zht/api/mp_math/segment.html index 38bf8f3..356df51 100644 --- a/zht/api/mp_math/segment.html +++ b/zht/api/mp_math/segment.html @@ -12,7 +12,7 @@ - + @@ -31,7 +31,7 @@ self.length = self.direction.length '中心点' self.midpoint = Point3((self.p1.x + self.p2.x) / 2, (self.p1.y + self.p2.y) / 2, (self.p1.z + self.p2.z) / 2) - + \ No newline at end of file diff --git a/zht/api/mp_math/utils.html b/zht/api/mp_math/utils.html index 1cb2673..08e7e58 100644 --- a/zht/api/mp_math/utils.html +++ b/zht/api/mp_math/utils.html @@ -12,7 +12,7 @@ - + @@ -81,7 +81,7 @@ return f'-{abs(x)}' else: return '' - + \ No newline at end of file diff --git a/zht/api/mp_math/vector.html b/zht/api/mp_math/vector.html index 8ceaccc..ad63774 100644 --- a/zht/api/mp_math/vector.html +++ b/zht/api/mp_math/vector.html @@ -12,7 +12,7 @@ - + @@ -204,7 +204,7 @@ return self.x * other.x + self.y * other.y + self.z * other.z

method self / other: RealNumber => Vector3

源碼
python
def __truediv__(self, other: RealNumber) -> 'Vector3':
     return Vector3(self.x / other, self.y / other, self.z / other)

method - self

源碼
python
def __neg__(self):
     return Vector3(-self.x, -self.y, -self.z)

var zero_vector3 = Vector3(0, 0, 0)

var x_axis = Vector3(1, 0, 0)

var y_axis = Vector3(0, 1, 0)

var z_axis = Vector3(0, 0, 1)

- + \ No newline at end of file diff --git a/zht/api/particle/index.html b/zht/api/particle/index.html index 4df31d4..5657670 100644 --- a/zht/api/particle/index.html +++ b/zht/api/particle/index.html @@ -12,13 +12,13 @@ - +
- + \ No newline at end of file diff --git a/zht/api/presets/index.html b/zht/api/presets/index.html index 8eb5f4c..7f7face 100644 --- a/zht/api/presets/index.html +++ b/zht/api/presets/index.html @@ -12,13 +12,13 @@ - +
Skip to content

mbcp.presets

説明: Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : init.py @Software: PyCharm

文檔由 VitePress 構建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/zht/api/presets/model/index.html b/zht/api/presets/model/index.html index 53c374d..a47c2e1 100644 --- a/zht/api/presets/model/index.html +++ b/zht/api/presets/model/index.html @@ -12,7 +12,7 @@ - + @@ -35,7 +35,7 @@ y_array = radius * np.sin(phi_list) * np.sin(theta_list) z_array = radius * np.cos(phi_list) return [Point3(x_array[i], y_array[i], z_array[i]) for i in range(num)] - + \ No newline at end of file diff --git a/zht/guide/index.html b/zht/guide/index.html index f9a88ef..991587c 100644 --- a/zht/guide/index.html +++ b/zht/guide/index.html @@ -17,8 +17,8 @@ -
Skip to content

开始不了一点

12x111

文檔由 VitePress 構建 | API引用由 litedoc 生成

- +
Skip to content

开始不了一点

12x111

文檔由 VitePress 構建 | API引用由 litedoc 生成

+ \ No newline at end of file diff --git a/zht/index.html b/zht/index.html index eb3511a..124b40e 100644 --- a/zht/index.html +++ b/zht/index.html @@ -18,7 +18,7 @@
Skip to content

MBCP docs

More basic change particle

用於幾何運算和粒子製作的軟體庫

文檔由 VitePress 構建 | API引用由 litedoc 生成

- + \ No newline at end of file