2024-08-28 20:35:22 +08:00
<!DOCTYPE html>
2024-08-28 22:08:21 +08:00
< html lang = "ja-JP" dir = "ltr" >
2024-08-28 20:35:22 +08:00
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width,initial-scale=1" >
< title > mbcp.mp_math.utils | MBCP docs< / title >
2024-08-28 22:08:21 +08:00
< meta name = "description" content = "Minecraftのパーティクル生成用のライブラリ" >
2024-08-28 20:35:22 +08:00
< meta name = "generator" content = "VitePress v1.3.4" >
2024-08-30 13:46:30 +08:00
< link rel = "preload stylesheet" href = "/assets/style.CTLFORxu.css" as = "style" >
2024-08-28 20:35:22 +08:00
2024-08-30 13:46:30 +08:00
< script type = "module" src = "/assets/app.DSCSdM_3.js" > < / script >
2024-08-28 20:35:22 +08:00
< link rel = "preload" href = "/assets/inter-roman-latin.Di8DUHzh.woff2" as = "font" type = "font/woff2" crossorigin = "" >
2024-08-30 13:46:30 +08:00
< link rel = "modulepreload" href = "/assets/chunks/theme.CIS5wKR_.js" >
< link rel = "modulepreload" href = "/assets/chunks/framework.C94oF1kp.js" >
< link rel = "modulepreload" href = "/assets/ja_api_mp_math_utils.md.D2dcQ_ET.lean.js" >
2024-08-28 20:35:22 +08:00
< script id = "check-dark-mode" > ( ( ) => { const e = localStorage . getItem ( "vitepress-theme-appearance" ) || "auto" , a = window . matchMedia ( "(prefers-color-scheme: dark)" ) . matches ; ( ! e || e === "auto" ? a : e === "dark" ) && document . documentElement . classList . add ( "dark" ) } ) ( ) ; < / script >
< script id = "check-mac-os" > document . documentElement . classList . toggle ( "mac" , /Mac|iPhone|iPod|iPad/i . test ( navigator . platform ) ) ; < / script >
< / head >
< body >
2024-08-30 13:46:30 +08:00
< div id = "app" > < div class = "Layout" data-v-22f859ac > <!-- [ --> <!-- ] --> <!-- [ --> < span tabindex = "-1" data-v-3e86afbf > < / span > < a href = "#VPContent" class = "VPSkipLink visually-hidden" data-v-3e86afbf > Skip to content < / a > <!-- ] --> <!-- --> < header class = "VPNav" data-v-22f859ac data-v-2a4e514e > < div class = "VPNavBar has-sidebar top" data-v-2a4e514e data-v-1303e283 > < div class = "wrapper" data-v-1303e283 > < div class = "container" data-v-1303e283 > < div class = "title" data-v-1303e283 > < div class = "VPNavBarTitle has-sidebar" data-v-1303e283 data-v-10b95b50 > < a class = "title" href = "/ja/" data-v-10b95b50 > <!-- [ --> <!-- ] --> <!-- --> < span data-v-10b95b50 > MBCP docs< / span > <!-- [ --> <!-- ] --> < / a > < / div > < / div > < div class = "content" data-v-1303e283 > < div class = "content-body" data-v-1303e283 > <!-- [ --> <!-- ] --> < div class = "VPNavBarSearch search" data-v-1303e283 > <!-- --> < / div > < nav aria-labelledby = "main-nav-aria-label" class = "VPNavBarMenu menu" data-v-1303e283 data-v-0fb289c1 > < span id = "main-nav-aria-label" class = "visually-hidden" data-v-0fb289c1 > Main Navigation < / span > <!-- [ --> <!-- [ --> < a class = "VPLink link VPNavBarMenuLink" href = "/ja/guide/" tabindex = "0" data-v-0fb289c1 data-v-ad4a8b64 > <!-- [ --> < span data-v-ad4a8b64 > スタート< / span > <!-- ] --> < / a > <!-- ] --> <!-- [ --> < a class = "VPLink link VPNavBarMenuLink" href = "/ja/api/" tabindex = "0" data-v-0fb289c1 data-v-ad4a8b64 > <!-- [ --> < span data-v-ad4a8b64 > APIドキュメント< / span > <!-- ] --> < / a > <!-- ] --> <!-- [ --> < a class = "VPLink link VPNavBarMenuLink" href = "/ja/demo/" tabindex = "0" data-v-0fb289c1 data-v-ad4a8b64 > <!-- [ --> < span data-v-ad4a8b64 > インスタンス< / span > <!-- ] --> < / a > <!-- ] --> <!-- ] --> < / nav > < div class = "VPFlyout VPNavBarTranslations translations" data-v-1303e283 data-v-cd7b67e8 data-v-ec8c49bc > < button type = "button" class = "button" aria-haspopup = "true" aria-expanded = "false" aria-label = "Change language" data-v-ec8c49bc > < span class = "text" data-v-ec8c49bc > < span class = "vpi-languages option-icon" data-v-ec8c49bc > < / span > <!-- --> < span class = "vpi-chevron-down text-icon" data-v-ec8c49bc > < / span > < / span > < / button > < div class = "menu" data-v-ec8c49bc > < div class = "VPMenu" data-v-ec8c49bc data-v-9990563e > <!-- --> <!-- [ --> <!-- [ --> < div class = "items" data-v-cd7b67e8 > < p class = "title" data-v-cd7b67e8 > 日本語< / p > <!-- [ --> < div class = "VPMenuLink" data-v-cd7b67e8 data-v-79776a7a > < a class = "VPLink link" href = "/api/mp_math/utils.html" data-v-79776a7a > <!-- [ --> 简体中文<!-- ] --> < / a > < / div > < div class = "VPMenuLink" data-v-cd7b67e8 data-v-79776a7a > < a class = "VPLink link" href = "/en/api/mp_math/utils.html" data-v-79776a7a > <!-- [ --> English<!-- ] --> < / a > < / div > < div class = "VPMenuLink" data-v-cd7b67e8 data-v-79776a7a > < a class = "VPLink link" href = "/zht/api/mp_math/utils.html" data-v-79776a7a > <!-- [ --> 繁體中文<!-- ] --> < / a > < / div > <!-- ] --> < / div > <!-- ] --> <!-- ] --> < / div > < / div > < / div > < div class = "VPNavBarAppearance appearance" data-v-1303e283 data-v-2a6692f8 > < button class = "VPSwitch VPSwitchAppearance" type = "button" role = "switch" title = "Switch to dark theme" aria-checked = "false" data-v-2a6692f8 data-v-3a50aa5c data-v-d82e607b > < span class = "check" data-v-d82e607b > < span class = "icon" data-v-d82e607b > <!-- [ --> < span class = "vpi-sun sun" data-v-3a50aa5c > < / span > < span class = "vpi-moon moon" data-v-3a50aa5c > < / span > <!-- ] --> < / span > < / span > < / button > < / div > < div class = "VPSocialLinks VPNavBarSocialLinks social-links" data-v-1303e283 data-v-f3b91b3a data-v-fa18fe49 > <!-- [ --> < a class = "VPSocialLink no-icon" href = "https://github.com/snowykami/mbcp" aria-label = "github" target = "_blank" rel = "noopener" data-v-fa18fe49 data-v-b0526bd7 > < span class = "vpi-social-github" / > < / a > <!-- ] --> < / div > < div class = "VPFlyout VPNavBarExtra extra" data-v-1303e283 data-v-2fc967b6 data-v-ec8c49bc > < button type = "button" class = "button" aria-haspopup = "true" aria-expanded = "false" aria-label = "extra navigation" data-v-ec8c49bc > < span class = "vpi-more-horizontal icon" data-v-ec8c49bc > < / span > < / button > < div class = "menu" data-v-ec8c49bc > < div class = "VPMenu" data-v-ec8c49bc data-v-9990563e > <!-- --> <!-- [ --> <!-- [ --> < div class = "group translations" data-v-2fc967b6 > < p class = "trans-title" data-v-2fc967b6 > 日本語< / p > <!-- [ --> < div class = "VPMenuLink" data-v-2fc967b6 data-v-797
2024-08-28 20:35:22 +08:00
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > " " " < / span > < / span >
2024-08-29 13:25:00 +08:00
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > 区间限定函数< / span > < / span >
2024-08-28 20:35:22 +08:00
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > Args:< / span > < / span >
2024-08-29 13:25:00 +08:00
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > x: 待限定的值< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > min_: 最小值< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > max_: 最大值< / span > < / span >
2024-08-28 20:35:22 +08:00
< span class = "line" > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > Returns:< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > 限制后的值< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > " " " < / span > < / span >
2024-08-30 13:46:30 +08:00
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > return< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > max< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > min< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (x, max_), min_)< / span > < / span > < / code > < / pre > < / div > < / details > < h3 id = "class-approx" tabindex = "-1" > < em > < strong > class< / strong > < / em > < code > Approx< / code > < a class = "header-anchor" href = "#class-approx" aria-label = "Permalink to "***class*** `Approx`"" > < / a > < / h3 > < h4 id = "method-init-self-value-realnumber" tabindex = "-1" > < em > < strong > method< / strong > < / em > < code > __init__(self, value: RealNumber)< / code > < a class = "header-anchor" href = "#method-init-self-value-realnumber" aria-label = "Permalink to "***method*** `__init__(self, value: RealNumber)`"" > < / a > < / h4 > < details > < summary > < b > ソースコード< / b > < / summary > < div class = "language-python vp-adaptive-theme" > < button title = "Copy Code" class = "copy" > < / button > < span class = "lang" > python< / span > < pre class = "shiki shiki-themes github-light github-dark vp-code" tabindex = "0" > < code > < span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > def< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > __init__< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (self, value: RealNumber):< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > self< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > .value < / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > =< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > value< / span > < / span > < / code > < / pre > < / div > < / details > < h4 id = "method-eq-self-other" tabindex = "-1" > < em > < strong > method< / strong > < / em > < code > __eq__(self, other)< / code > < a class = "header-anchor" href = "#method-eq-self-other" aria-label = "Permalink to "***method*** `__eq__(self, other)`"" > < / a > < / h4 > < details > < summary > < b > ソースコード< / b > < / summary > < div class = "language-python vp-adaptive-theme" > < button title = "Copy Code" class = "copy" > < / button > < span class = "lang" > python< / span > < pre class = "shiki shiki-themes github-light github-dark vp-code" tabindex = "0" > < code > < span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > def< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > __eq__< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (self, other):< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > if< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > isinstance< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > self< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > .value, (< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > float< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > , < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > int< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > )):< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > if< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > isinstance< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (other, (< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > float< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > , < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > int< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > )):< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > return< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > abs< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > self< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > .value < / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > -< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > other) < / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > < < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > APPROX< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > else< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > :< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > self< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > .raise_type_error(other)< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > elif< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > isinstance< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > self< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > .value, Vector3):< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > if< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > isinstance< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (other, (Vector3, Point3, Plane3, Line3)):< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > return< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > all< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > ([approx(< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > self< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > .value.x, other.x), approx(< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > self< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > .value.y, other.y), approx(< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > self< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > .value.z, other.z)])< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > else< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > :< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > self< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > .raise_type_error(other)< / span > < / span > < / code > < / pre > < / div > < / details > < h4 id = "method-raise-type-error-self-other" tabindex = "-1" > < em > < strong > method< / strong > < / em > < code > raise_type_error(self, other)< / code > < a class = "header-anchor" href = "#method-raise-type-error-self-other" aria-label = "Permalink to "***method*** `raise_type_error(self, other)`"" > < / a > < / h4 > < details > < summary > < b > ソースコード< / b > < / summary > < div class = "language-python vp-adaptive-theme" > < button title = "Copy Code" class = "copy" > < / button > < span class = "lang" > python< / span > < pre class = "shiki shiki-themes github-light github-dark vp-code" tabindex = "0" > < code > < span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > def< / span > < span style = "--shiki-light:#6F42C1;--shiki-dark:#B392F0;" > raise_type_error< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (self, other):< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > raise< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > TypeError< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (< / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > f< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > ' Unsupported type: < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > {type< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > self< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > .value)< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > }< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > and < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > {type< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (other)< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > }< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > ' < / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > )< / span > < / span > < / code > < / pre > < / div > < / details > < h4 id = "method-ne-self-other" tabindex = "-1" > < em > < strong > method< / strong > < / em > < code > __ne__(self, other)< / code > < a class = "header-anchor" href = "#method-ne-self-other" aria-label = "Permalink to "***method*** `__ne__(self, other)`"" > < / a > < / h4 > < details > < summary > < b > ソースコード< / b > < / summary > < div class = "language-python vp-adaptive-theme" > < button title = "Copy Code" class = "copy" > < / button > < span class = "lang" > python< / span > < pre class = "shiki shiki-themes github-light github-dark vp-code" tabindex = "0" > < code > < span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > def< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > __ne__< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (self, other):< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > return< / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > not< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > self< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > .< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > __eq__< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (other)< / span > < / span > < / code > < / pre > < / div > < / details > < h3 id = "func-approx-x-float-y-float-0-0-epsilon-float-approx-bool" tabindex = "-1" > < em > < strong > func< / strong > < / em > < code > approx(x: float, y: float = 0.0, epsilon: float = APPROX) -> bool< / code > < a class = "header-anchor" href = "#func-approx-x-float-y-float-0-0-epsilon-float-approx-bool" aria-label = "Permalink to "***func*** `approx(x: float, y: float = 0.0, epsilon: float = APPROX) -> bool`"" > < / a > < / h3 > < p > < strong > 説明< / strong > : 判断两个数是否近似相等。或包装一个实数, 用于判断是否近似于0。< / p > < p > < strong > 引数< / strong > :< / p > < blockquote > < ul > < li > x: 数1< / li > < li > y: 数2< / li > < li > epsilon: 误差< / li > < / ul > < / blockquote > < p > < strong > 戻り値< / strong > : 是否近似相等< / p > < details > < summary > < b > ソースコード< / b > < / summary > < div class = "language-python vp-adaptive-theme" > < button title = "Copy Code" class = "copy" > < / button > < span class = "lang" > python< / span > < pre class = "shiki shiki-themes github-light github-dark vp-code" tabindex = "0" > < code > < span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > def< / span > < span style = "--shiki-light:#6F42C1;--shiki-dark:#B392F0;" > approx< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (x: < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > float< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > , y: < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > float< / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > =< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > 0.0< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > , epsilon: < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > float< / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > =< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > APPROX< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > ) -> < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > bool< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > :< / span > < / span >
2024-08-28 20:35:22 +08:00
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > " " " < / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > 判断两个数是否近似相等。或包装一个实数, 用于判断是否近似于0。< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > Args:< / span > < / span >
2024-08-29 13:25:00 +08:00
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > x: 数1< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > y: 数2< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > epsilon: 误差< / span > < / span >
2024-08-28 20:35:22 +08:00
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > Returns:< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > 是否近似相等< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > " " " < / span > < / span >
2024-08-30 13:46:30 +08:00
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > return< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > abs< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (x < / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > -< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > y) < / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > < < / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > epsilon< / span > < / span > < / code > < / pre > < / div > < / details > < h3 id = "func-sign-x-float-only-neg-bool-false-str" tabindex = "-1" > < em > < strong > func< / strong > < / em > < code > sign(x: float, only_neg: bool = False) -> str< / code > < a class = "header-anchor" href = "#func-sign-x-float-only-neg-bool-false-str" aria-label = "Permalink to "***func*** `sign(x: float, only_neg: bool = False) -> str`"" > < / a > < / h3 > < p > < strong > 説明< / strong > : 获取数的符号。< / p > < p > < strong > 引数< / strong > :< / p > < blockquote > < ul > < li > x: 数< / li > < li > only_neg: 是否只返回负数的符号< / li > < / ul > < / blockquote > < p > < strong > 戻り値< / strong > : 符号 + - " " < / p > < details > < summary > < b > ソースコード< / b > < / summary > < div class = "language-python vp-adaptive-theme" > < button title = "Copy Code" class = "copy" > < / button > < span class = "lang" > python< / span > < pre class = "shiki shiki-themes github-light github-dark vp-code" tabindex = "0" > < code > < span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > def< / span > < span style = "--shiki-light:#6F42C1;--shiki-dark:#B392F0;" > sign< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (x: < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > float< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > , only_neg: < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > bool< / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > =< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > False< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > ) -> < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > str< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > :< / span > < / span >
2024-08-28 20:35:22 +08:00
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > " " " 获取数的符号。< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > Args:< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > x: 数< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > only_neg: 是否只返回负数的符号< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > Returns:< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > 符号 + - " " < / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > " " " < / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > if< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > x < / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > > < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > 0< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > :< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > return< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > ' +' < / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > if< / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > not< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > only_neg < / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > else< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > ' ' < / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > elif< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > x < / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > < < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > 0< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > :< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > return< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > ' -' < / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > else< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > :< / span > < / span >
2024-08-30 13:46:30 +08:00
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > return< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > ' ' < / span > < / span > < / code > < / pre > < / div > < / details > < h3 id = "func-sign-format-x-float-only-neg-bool-false-str" tabindex = "-1" > < em > < strong > func< / strong > < / em > < code > sign_format(x: float, only_neg: bool = False) -> str< / code > < a class = "header-anchor" href = "#func-sign-format-x-float-only-neg-bool-false-str" aria-label = "Permalink to "***func*** `sign_format(x: float, only_neg: bool = False) -> str`"" > < / a > < / h3 > < p > < strong > 説明< / strong > : 格式化符号数 -1 -> -1 1 -> +1 0 -> " " < / p > < p > < strong > 引数< / strong > :< / p > < blockquote > < ul > < li > x: 数< / li > < li > only_neg: 是否只返回负数的符号< / li > < / ul > < / blockquote > < p > < strong > 戻り値< / strong > : 符号 + - " " < / p > < details > < summary > < b > ソースコード< / b > < / summary > < div class = "language-python vp-adaptive-theme" > < button title = "Copy Code" class = "copy" > < / button > < span class = "lang" > python< / span > < pre class = "shiki shiki-themes github-light github-dark vp-code" tabindex = "0" > < code > < span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > def< / span > < span style = "--shiki-light:#6F42C1;--shiki-dark:#B392F0;" > sign_format< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (x: < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > float< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > , only_neg: < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > bool< / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > =< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > False< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > ) -> < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > str< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > :< / span > < / span >
2024-08-28 20:35:22 +08:00
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > " " " 格式化符号数< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > -1 -> -1< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > 1 -> +1< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > 0 -> " " < / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > Args:< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > x: 数< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > only_neg: 是否只返回负数的符号< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > Returns:< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > 符号 + - " " < / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > " " " < / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > if< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > x < / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > > < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > 0< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > :< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > return< / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > f< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > ' +< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > {< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > x< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > }< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > ' < / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > if< / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > not< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > only_neg < / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > else< / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > f< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > ' < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > {< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > x< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > }< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > ' < / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > elif< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > x < / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > < < / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > 0< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > :< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > return< / span > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > f< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > ' -< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > {abs< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > (x)< / span > < span style = "--shiki-light:#005CC5;--shiki-dark:#79B8FF;" > }< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > ' < / span > < / span >
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > else< / span > < span style = "--shiki-light:#24292E;--shiki-dark:#E1E4E8;" > :< / span > < / span >
2024-08-30 13:46:30 +08:00
< span class = "line" > < span style = "--shiki-light:#D73A49;--shiki-dark:#F97583;" > return< / span > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > ' ' < / span > < / span > < / code > < / pre > < / div > < / details > < / div > < / div > < / main > < footer class = "VPDocFooter" data-v-40342069 data-v-a4b38bd6 > <!-- [ --> <!-- ] --> <!-- --> < nav class = "prev-next" aria-labelledby = "doc-footer-aria-label" data-v-a4b38bd6 > < span class = "visually-hidden" id = "doc-footer-aria-label" data-v-a4b38bd6 > Pager< / span > < div class = "pager" data-v-a4b38bd6 > < a class = "VPLink link pager-link prev" href = "/ja/api/mp_math/segment.html" data-v-a4b38bd6 > <!-- [ --> < span class = "desc" data-v-a4b38bd6 > Previous page< / span > < span class = "title" data-v-a4b38bd6 > mbcp.mp_math.segment< / span > <!-- ] --> < / a > < / div > < div class = "pager" data-v-a4b38bd6 > < a class = "VPLink link pager-link next" href = "/ja/api/mp_math/vector.html" data-v-a4b38bd6 > <!-- [ --> < span class = "desc" data-v-a4b38bd6 > Next page< / span > < span class = "title" data-v-a4b38bd6 > mbcp.mp_math.vector< / span > <!-- ] --> < / a > < / div > < / nav > < / footer > <!-- [ --> <!-- ] --> < / div > < / div > < / div > <!-- [ --> <!-- ] --> < / div > < / div > < footer class = "VPFooter has-sidebar" data-v-22f859ac data-v-e3ca6860 > < div class = "container" data-v-e3ca6860 > < p class = "message" data-v-e3ca6860 > < a href = "https://vitepress.dev/" > VitePress< / a > で構築されたドキュメント | < a href = "https://github.com/LiteyukiStudio/litedoc" > litedoc< / a > によって生成されたAPIリファレンス< / p > < p class = "copyright" data-v-e3ca6860 > Copyright (C) 2020-2024 SnowyKami. All Rights Reserved< / p > < / div > < / footer > <!-- [ --> <!-- ] --> < / div > < / div >
< script > w i n d o w . _ _ V P _ H A S H _ M A P _ _ = J S O N . p a r s e ( " { \ " a p i _ i n d e x . m d \ " : \ " C B Q k x s 7 b \ " , \ " a p i _ m p _ m a t h _ a n g l e . m d \ " : \ " g d 7 U Q v y y \ " , \ " a p i _ m p _ m a t h _ c o n s t . m d \ " : \ " 3 s c s 0 T 6 A \ " , \ " a p i _ m p _ m a t h _ e q u a t i o n . m d \ " : \ " D u Z 1 h N 4 l \ " , \ " a p i _ m p _ m a t h _ f u n c t i o n . m d \ " : \ " U 6 h G S I m 3 \ " , \ " a p i _ m p _ m a t h _ i n d e x . m d \ " : \ " 1 H M G G W 3 A \ " , \ " a p i _ m p _ m a t h _ l i n e . m d \ " : \ " B - S h a j A F \ " , \ " a p i _ m p _ m a t h _ m p _ m a t h _ t y p i n g . m d \ " : \ " B t A k B F H 3 \ " , \ " a p i _ m p _ m a t h _ p l a n e . m d \ " : \ " D n J H i X s z \ " , \ " a p i _ m p _ m a t h _ p o i n t . m d \ " : \ " 9 Z J s p 3 f x \ " , \ " a p i _ m p _ m a t h _ s e g m e n t . m d \ " : \ " B L Q - U F F k \ " , \ " a p i _ m p _ m a t h _ u t i l s . m d \ " : \ " y z r n w r b P \ " , \ " a p i _ m p _ m a t h _ v e c t o r . m d \ " : \ " B S P l l W F K \ " , \ " a p i _ p a r t i c l e _ i n d e x . m d \ " : \ " C g i l j h c z \ " , \ " a p i _ p r e s e t s _ i n d e x . m d \ " : \ " R Z i p v y L z \ " , \ " a p i _ p r e s e t s _ m o d e l _ i n d e x . m d \ " : \ " 4 R P S G 4 y h \ " , \ " d e m o _ i n d e x . m d \ " : \ " D - H 9 z R U E \ " , \ " e n _ a p i _ i n d e x . m d \ " : \ " B a q B Y q Y 8 \ " , \ " e n _ a p i _ m p _ m a t h _ a n g l e . m d \ " : \ " z 3 9 I - q R z \ " , \ " e n _ a p i _ m p _ m a t h _ c o n s t . m d \ " : \ " C S c 4 U t 1 v \ " , \ " e n _ a p i _ m p _ m a t h _ e q u a t i o n . m d \ " : \ " 0 V n H C Q Q 4 \ " , \ " e n _ a p i _ m p _ m a t h _ f u n c t i o n . m d \ " : \ " B z Q 8 F T P C \ " , \ " e n _ a p i _ m p _ m a t h _ i n d e x . m d \ " : \ " G x 9 t Q _ Z a \ " , \ " e n _ a p i _ m p _ m a t h _ l i n e . m d \ " : \ " e 8 d K 9 0 h _ \ " , \ " e n _ a p i _ m p _ m a t h _ m p _ m a t h _ t y p i n g . m d \ " : \ " D B y F p C M m \ " , \ " e n _ a p i _ m p _ m a t h _ p l a n e . m d \ " : \ " D Y L A U 1 R e \ " , \ " e n _ a p i _ m p _ m a t h _ p o i n t . m d \ " : \ " D Y C V x K 7 m \ " , \ " e n _ a p i _ m p _ m a t h _ s e g m e n t . m d \ " : \ " C U Q L S _ q v \ " , \ " e n _ a p i _ m p _ m a t h _ u t i l s . m d \ " : \ " B 4 N F H k P z \ " , \ " e n _ a p i _ m p _ m a t h _ v e c t o r . m d \ " : \ " B J F 5 J 3 Q Y \ " , \ " e n _ a p i _ p a r t i c l e _ i n d e x . m d \ " : \ " f - q 0 H s f K \ " , \ " e n _ a p i _ p r e s e t s _ i n d e x . m d \ " : \ " C A y x Y h K I \ " , \ " e n _ a p i _ p r e s e t s _ m o d e l _ i n d e x . m d \ " : \ " D y p E d C d E \ " , \ " e n _ g u i d e _ i n d e x . m d \ " : \ " D r D H T Y C Z \ " , \ " e n _ i n d e x . m d \ " : \ " M C m 6 9 e y E \ " , \ " g u i d e _ i n d e x . m d \ " : \ " N V x 3 l 2 C r \ " , \ " i n d e x . m d \ " : \ " B j J 9 - k b E \ " , \ " j a _ a p i _ i n d e x . m d \ " : \ " D W 7 h b - Y H \ " , \ " j a _ a p i _ m p _ m a t h _ a n g l e . m d \ " : \ " C a c 0 C r e c \ " , \ " j a _ a p i _ m p _ m a t h _ c o n s t . m d \ " : \ " C l L s N k M _ \ " , \ " j a _ a p i _ m p _ m a t h _ e q u a t i o n . m d \ " : \ " 8 i - W X c 7 A \ " , \ " j a _ a p i _ m p _ m a t h _ f u n c t i o n . m d \ " : \ " G L s P Z W h a \ " , \ " j a _ a p i _ m p _ m a t h _ i n d e x . m d \ " : \ " B B A Q - A O T \ " , \ " j a _ a p i _ m p _ m a t h _ l i n e . m d \ " : \ " B w Z J X q n L \ " , \ " j a _ a p i _ m p _ m a t h _ m p _ m a t h _ t y p i n g . m d \ " : \ " D H b m I z M T \ " , \ " j a _ a p i _ m p _ m a t h _ p l a n e . m d \ " : \ " C k 5 Q 7 i g W \ " , \ " j a _ a p i _ m p _ m a t h _ p o i n t . m d \ " : \ " C b F Z X f A J \ " , \ " j a _ a p i _ m p _ m a t h _ s e g m e n t . m d \ " : \ " D b T M e Z A n \ " , \ " j a _ a p i _ m p _ m a t h _ u t i l s . m d \ " : \ " D 2 d c Q _ E T \ " , \ " j a _ a p i _ m p _ m a t h _ v e c t o r . m d \ " : \ " D B P P U I l c \ " , \ " j a _ a p i _ p a r t i c l e _ i n d e x . m d \ " : \ " C 9 Q F J 8 E N \ " , \ " j a _ a p i _ p r e s e t s _ i n d e x . m d \ " : \ " B Z K h 7 p E G \ " , \ " j a _ a p i _ p r e s e t s _ m o d e l _ i n d e x . m d \ " : \ " D z I - S A 0 H \ " , \ " j a _ g u i d e _ i n d e x . m d \ " : \ " B x G n Z Y w R \ " , \ " j a _ i n d e x . m d \ " : \ " C t o z M s I U \ " , \ " z h t _ a p i _ i n d e x . m d \ " : \ " B o N T o a 7 V \ " , \ " z h t _ a p i _ m p _ m a t h _ a n g l e . m d \ " : \ " B 7 i q A r J r \ " , \ " z h t _ a p i _ m p _ m a t h _ c o n s t . m d \ " : \ " 3 L Y 5 T Q 7 t \ " , \ " z h t _ a p i _ m p _ m a t h _ e q u a t i o n . m d \ " : \ " D M S j W d o u \ " , \ " z h t _ a p i _ m p _ m a t h _ f u n c t i o n . m d \ " : \ " D O X 7 p G X C \ " , \ " z h t _ a p i _ m p _ m a t h _ i n d e x . m d \ " : \ " C p 3 g g f P O \ " , \ " z h t _ a p i _ m p _ m a t h _ l i n e . m d \ " : \ " D 3 x P F A 2 p \ " , \ " z h t _ a p i _ m p _ m a t h _ m p _ m a t h _ t y p i n g . m d \ " : \ " D T Y 2 F - 6 g \ " , \ " z h t _ a p i _ m p _ m a t h _ p l a n e . m d \ " : \ " D A A O 1 c 3 8 \ " , \ " z h t _ a p i _ m p _ m a t h _ p o i n t . m d \ " : \ " C K 5 0 W 0 J G \ " , \ " z h t _ a p i _ m p _ m a t h _ s e g m e n t . m d \ " : \ " B K 0 Q Q k e t \ " , \ " z h t _ a p i _ m p _ m a t h _ u t i l s . m d \ " : \ " B Q r r P f 8 T \ " , \ " z h t _ a p i _ m p _ m a t h _ v e c t o r . m d \ " : \ " C t Y c k w O L \ " , \ " z h t _ a p i _ p a r t i c l e _ i n d e x . m d \ " : \ " C l j e o V X n \ " , \ " z h t _ a p i _ p r e s e t s _ i n d e x . m d \ " : \ " D E b O K i S T \ " , \ " z h t _ a p i _ p r e s e t s _ m o d e l _ i n d e x . m d \ " : \ " 3 p G d Z A T 9 \ " , \ " z h t _ g u i d e _ i n d e x . m d \ " : \ " C s u F V F x u \ " , \ " z h t _ i n d e x . m d \ " : \ " V 9 U 3 S w D R \ " } " ) ; w i n d o w . _ _ V P _ S I T E _ D A T A _ _ = J S O N . p a r s e ( " { \ " l a n g \ " : \ " e n - U S \ " , \ " d i r \ " : \ " l t r \ " , \ " t i t l e \ " : \ " M B C P d o c s \ " , \ " d e s c r i p t i o n \ " : \ " M B C P l i b r a r y d o c s \ " , \ " b a s e \ " : \ " / \ " , \ " h e a d \ " : [ ] , \ " r o u t e r \ " : { \ " p r e f e t c h L i n k s \ " : t r u e } , \ " a p p e a r a n c e \ " : t r u e , \ " t h e m e C o n f i g \ " : { \ " s i d e b a r \ " : { \ " / a p i / \ " : { \ " b a s e \ " : \ " / a p i / \ " , \ " i t e m s \ " : [ { \ " t e x t \ " : \ " m p _ m a t h \ " , \ " i t e m s \ " : [ { \ " t e x t \ " : \ " m b c p . m p _ m a t h . a n g l e \ " , \ " l i n k \ " : \ " m p _ m a t h / a n g l e \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . c o n s t \ " , \ " l i n k \ " : \ " m p _ m a t h / c o n s t \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . e q u a t i o n \ " , \ " l i n k \ " : \ " m p _ m a t h / e q u a t i o n \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . f u n c t i o n \ " , \ " l i n k \ " : \ " m p _ m a t h / f u n c t i o n \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h \ " , \ " l i n k \ " : \ " m p _ m a t h / \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . l i n e \ " , \ " l i n k \ " : \ " m p _ m a t h / l i n e \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . m p _ m a t h _ t y p i n g \ " , \ " l i n k \ " : \ " m p _ m a t h / m p _ m a t h _ t y p i n g \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . p l a n e \ " , \ " l i n k \ " : \ " m p _ m a t h / p l a n e \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . p o i n t \ " , \ " l i n k \ " : \ " m p _ m a t h / p o i n t \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . s e g m e n t \ " , \ " l i n k \ " : \ " m p _ m a t h / s e g m e n t \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . u t i l s \ " , \ " l i n k \ " : \ " m p _ m a t h / u t i l s \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . v e c t o r \ " , \ " l i n k \ " : \ " m p _ m a t h / v e c t o r \ " } ] , \ " c o l l a p s e d \ " : t r u e } , { \ " t e x t \
2024-08-28 20:35:22 +08:00
< / body >
< / html >