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" >
< link rel = "preload stylesheet" href = "/assets/style.Bb0QBJmh.css" as = "style" >
< script type = "module" src = "/assets/app.l1Ut0uce.js" > < / script >
< link rel = "preload" href = "/assets/inter-roman-latin.Di8DUHzh.woff2" as = "font" type = "font/woff2" crossorigin = "" >
< link rel = "modulepreload" href = "/assets/chunks/theme.BPuUWxkA.js" >
< link rel = "modulepreload" href = "/assets/chunks/framework.BV61Qrc0.js" >
2024-08-28 22:08:21 +08:00
< link rel = "modulepreload" href = "/assets/ja_api_mp_math_utils.md.Dgzoi9ec.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-28 22:08:21 +08:00
< div id = "app" > < div class = "Layout" data-v-8e016544 > <!-- [ --> <!-- ] --> <!-- [ --> < span tabindex = "-1" data-v-efdf7a7d > < / span > < a href = "#VPContent" class = "VPSkipLink visually-hidden" data-v-efdf7a7d > Skip to content < / a > <!-- ] --> <!-- --> < header class = "VPNav" data-v-8e016544 data-v-0c3b3583 > < div class = "VPNavBar has-sidebar top" data-v-0c3b3583 data-v-af8d762d > < div class = "wrapper" data-v-af8d762d > < div class = "container" data-v-af8d762d > < div class = "title" data-v-af8d762d > < div class = "VPNavBarTitle has-sidebar" data-v-af8d762d data-v-73c882b0 > < a class = "title" href = "/ja/" data-v-73c882b0 > <!-- [ --> <!-- ] --> <!-- --> < span data-v-73c882b0 > MBCP docs< / span > <!-- [ --> <!-- ] --> < / a > < / div > < / div > < div class = "content" data-v-af8d762d > < div class = "content-body" data-v-af8d762d > <!-- [ --> <!-- ] --> < div class = "VPNavBarSearch search" data-v-af8d762d > <!-- --> < / div > < nav aria-labelledby = "main-nav-aria-label" class = "VPNavBarMenu menu" data-v-af8d762d data-v-ae469694 > < span id = "main-nav-aria-label" class = "visually-hidden" data-v-ae469694 > Main Navigation < / span > <!-- [ --> <!-- [ --> < a class = "VPLink link VPNavBarMenuLink" href = "/guide.html" tabindex = "0" data-v-ae469694 data-v-4ca2fdac > <!-- [ --> < span data-v-4ca2fdac > スタート< / span > <!-- ] --> < / a > <!-- ] --> <!-- [ --> < a class = "VPLink link VPNavBarMenuLink" href = "/api/" tabindex = "0" data-v-ae469694 data-v-4ca2fdac > <!-- [ --> < span data-v-4ca2fdac > APIドキュメント< / span > <!-- ] --> < / a > <!-- ] --> <!-- [ --> < a class = "VPLink link VPNavBarMenuLink" href = "/demo/" tabindex = "0" data-v-ae469694 data-v-4ca2fdac > <!-- [ --> < span data-v-4ca2fdac > インスタンス< / span > <!-- ] --> < / a > <!-- ] --> <!-- ] --> < / nav > < div class = "VPFlyout VPNavBarTranslations translations" data-v-af8d762d data-v-ba521018 data-v-6d56b0ed > < button type = "button" class = "button" aria-haspopup = "true" aria-expanded = "false" aria-label = "Change language" data-v-6d56b0ed > < span class = "text" data-v-6d56b0ed > < span class = "vpi-languages option-icon" data-v-6d56b0ed > < / span > <!-- --> < span class = "vpi-chevron-down text-icon" data-v-6d56b0ed > < / span > < / span > < / button > < div class = "menu" data-v-6d56b0ed > < div class = "VPMenu" data-v-6d56b0ed data-v-36a6a4be > <!-- --> <!-- [ --> <!-- [ --> < div class = "items" data-v-ba521018 > < p class = "title" data-v-ba521018 > 日本語< / p > <!-- [ --> < div class = "VPMenuLink" data-v-ba521018 data-v-a9b5eada > < a class = "VPLink link" href = "/api/mp_math/utils.html" data-v-a9b5eada > <!-- [ --> 简体中文<!-- ] --> < / a > < / div > < div class = "VPMenuLink" data-v-ba521018 data-v-a9b5eada > < a class = "VPLink link" href = "/en/api/mp_math/utils.html" data-v-a9b5eada > <!-- [ --> English<!-- ] --> < / a > < / div > <!-- ] --> < / div > <!-- ] --> <!-- ] --> < / div > < / div > < / div > < div class = "VPNavBarAppearance appearance" data-v-af8d762d data-v-fd625bab > < button class = "VPSwitch VPSwitchAppearance" type = "button" role = "switch" title = "Switch to dark theme" aria-checked = "false" data-v-fd625bab data-v-38c704f2 data-v-793caf05 > < span class = "check" data-v-793caf05 > < span class = "icon" data-v-793caf05 > <!-- [ --> < span class = "vpi-sun sun" data-v-38c704f2 > < / span > < span class = "vpi-moon moon" data-v-38c704f2 > < / span > <!-- ] --> < / span > < / span > < / button > < / div > < div class = "VPSocialLinks VPNavBarSocialLinks social-links" data-v-af8d762d data-v-9b3d2141 data-v-0ada25a4 > <!-- [ --> < a class = "VPSocialLink no-icon" href = "https://github.com/snowykami/mbcp" aria-label = "github" target = "_blank" rel = "noopener" data-v-0ada25a4 data-v-36d54f99 > < span class = "vpi-social-github" / > < / a > <!-- ] --> < / div > < div class = "VPFlyout VPNavBarExtra extra" data-v-af8d762d data-v-8ac0e455 data-v-6d56b0ed > < button type = "button" class = "button" aria-haspopup = "true" aria-expanded = "false" aria-label = "extra navigation" data-v-6d56b0ed > < span class = "vpi-more-horizontal icon" data-v-6d56b0ed > < / span > < / button > < div class = "menu" data-v-6d56b0ed > < div class = "VPMenu" data-v-6d56b0ed data-v-36a6a4be > <!-- --> <!-- [ --> <!-- [ --> < div class = "group translations" data-v-8ac0e455 > < p class = "trans-title" data-v-8ac0e455 > 日本語< / p > <!-- [ --> < div class = "VPMenuLink" data-v-8ac0e455 data-v-a9b5eada > < a class = "VPLink link" href = "/api/mp_math/utils.html" data-v-a9b5eada > <!-- [ --> 简体中文<!-- ] --> < / a > < / div > < div class = "VPMenuLink" data-v-8ac0e455 data-v-a9b5eada > < a
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;" > 区间截断函数。< / 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;" > min_:< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > max_:< / span > < / span >
< 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-28 22:08:21 +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 = "def-approx-x-float-0-0-y-float-approx-bool" tabindex = "-1" > < em > def< / em > < code > approx(x: float = 0.0, y: float = APPROX) -> bool< / code > < a class = "header-anchor" href = "#def-approx-x-float-0-0-y-float-approx-bool" aria-label = "Permalink to "*def* `approx(x: float = 0.0, y: float = APPROX) -> bool`"" > < / a > < / h3 > < p > 判断两个数是否近似相等。或包装一个实数, 用于判断是否近似于0。< / p > < p > 引数:< / p > < ul > < li > < p > x:< / p > < / li > < li > < p > y:< / p > < / li > < li > < p > epsilon:< / p > < / li > < / ul > < p > 戻り値:< / p > < ul > < li > 是否近似相等< / li > < / ul > < details > < summary > ソースコード< / 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 >
< 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;" > y:< / span > < / span >
< span class = "line" > < span style = "--shiki-light:#032F62;--shiki-dark:#9ECBFF;" > epsilon:< / span > < / span >
< 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-28 22:08:21 +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 = "def-sign-x-float-false-str" tabindex = "-1" > < em > def< / em > < code > sign(x: float = False) -> str< / code > < a class = "header-anchor" href = "#def-sign-x-float-false-str" aria-label = "Permalink to "*def* `sign(x: float = False) -> str`"" > < / a > < / h3 > < p > 获取数的符号。< / p > < p > 引数:< / p > < ul > < li > < p > x: 数< / p > < / li > < li > < p > only_neg: 是否只返回负数的符号< / p > < / li > < / ul > < p > 戻り値:< / p > < ul > < li > 符号 + - " " < / li > < / ul > < details > < summary > ソースコード< / 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-28 22:08:21 +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 = "def-sign-format-x-float-false-str" tabindex = "-1" > < em > def< / em > < code > sign_format(x: float = False) -> str< / code > < a class = "header-anchor" href = "#def-sign-format-x-float-false-str" aria-label = "Permalink to "*def* `sign_format(x: float = False) -> str`"" > < / a > < / h3 > < p > 格式化符号数 -1 -> -1 1 -> +1 0 -> " " < / p > < p > 引数:< / p > < ul > < li > < p > x: 数< / p > < / li > < li > < p > only_neg: 是否只返回负数的符号< / p > < / li > < / ul > < p > 戻り値:< / p > < ul > < li > 符号 + - " " < / li > < / ul > < details > < summary > ソースコード< / 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-28 21:28:34 +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 = "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 > < h3 id = "def-init-self-value-realnumber" tabindex = "-1" > < em > def< / em > < code > __init__(self, value: RealNumber)< / code > < a class = "header-anchor" href = "#def-init-self-value-realnumber" aria-label = "Permalink to "*def* `__init__(self, value: RealNumber)`"" > < / a > < / h3 > < details > < summary > ソースコード< / 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 > < h3 id = "def-eq-self-other" tabindex = "-1" > < em > def< / em > < code > __eq__(self, other)< / code > < a class = "header-anchor" href = "#def-eq-self-other" aria-label = "Permalink to "*def* `__eq__(self, other)`"" > < / a > < / h3 > < details > < summary > ソースコード< / 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 >
2024-08-28 20:35:22 +08:00
< 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 >
2024-08-28 21:28:34 +08:00
< 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 > < h3 id = "def-raise-type-error-self-other" tabindex = "-1" > < em > def< / em > < code > raise_type_error(self, other)< / code > < a class = "header-anchor" href = "#def-raise-type-error-self-other" aria-label = "Permalink to "*def* `raise_type_error(self, other)`"" > < / a > < / h3 > < details > < summary > ソースコード< / 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 > < h3 id = "def-ne-self-other" tabindex = "-1" > < em > def< / em > < code > __ne__(self, other)< / code > < a class = "header-anchor" href = "#def-ne-self-other" aria-label = "Permalink to "*def* `__ne__(self, other)`"" > < / a > < / h3 > < details > < summary > ソースコード< / 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 >
2024-08-28 20:35:22 +08:00
< 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 > < / div > < / div > < / main > < footer class = "VPDocFooter" data-v-aa782c77 data-v-f33b051d > <!-- [ --> <!-- ] --> <!-- --> < nav class = "prev-next" aria-labelledby = "doc-footer-aria-label" data-v-f33b051d > < span class = "visually-hidden" id = "doc-footer-aria-label" data-v-f33b051d > Pager< / span > < div class = "pager" data-v-f33b051d > < a class = "VPLink link pager-link prev" href = "/ja/api/mp_math/segment.html" data-v-f33b051d > <!-- [ --> < span class = "desc" data-v-f33b051d > Previous page< / span > < span class = "title" data-v-f33b051d > mbcp.mp_math.segment< / span > <!-- ] --> < / a > < / div > < div class = "pager" data-v-f33b051d > < a class = "VPLink link pager-link next" href = "/ja/api/mp_math/vector.html" data-v-f33b051d > <!-- [ --> < span class = "desc" data-v-f33b051d > Next page< / span > < span class = "title" data-v-f33b051d > mbcp.mp_math.vector< / span > <!-- ] --> < / a > < / div > < / nav > < / footer > <!-- [ --> <!-- ] --> < / div > < / div > < / div > <!-- [ --> <!-- ] --> < / div > < / div > <!-- --> <!-- [ --> <!-- ] --> < / div > < / div >
2024-08-28 22:08:21 +08:00
< 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 - e x . m d \ " : \ " D O s K a L 8 H \ " , \ " a p i _ i n d e x . m d \ " : \ " B v a z T q T B \ " , \ " a p i _ m p _ m a t h _ a n g l e . m d \ " : \ " D K M X A F b W \ " , \ " a p i _ m p _ m a t h _ c o n s t . m d \ " : \ " B c 1 L x t c U \ " , \ " a p i _ m p _ m a t h _ e q u a t i o n . m d \ " : \ " C Z g n s 2 9 7 \ " , \ " a p i _ m p _ m a t h _ i n d e x . m d \ " : \ " 4 P 0 h k 6 g b \ " , \ " a p i _ m p _ m a t h _ l i n e . m d \ " : \ " D H o f g y J O \ " , \ " a p i _ m p _ m a t h _ m p _ m a t h _ t y p i n g . m d \ " : \ " B H J O A x T l \ " , \ " a p i _ m p _ m a t h _ p l a n e . m d \ " : \ " D Z B u - H I q \ " , \ " a p i _ m p _ m a t h _ p o i n t . m d \ " : \ " C G q z S 8 e w \ " , \ " a p i _ m p _ m a t h _ s e g m e n t . m d \ " : \ " B 0 w R l 0 b P \ " , \ " a p i _ m p _ m a t h _ u t i l s . m d \ " : \ " C 9 b d p h O 4 \ " , \ " a p i _ m p _ m a t h _ v e c t o r . m d \ " : \ " B E h 6 3 _ Z E \ " , \ " a p i _ p a r t i c l e _ i n d e x . m d \ " : \ " B R C S x C 3 e \ " , \ " a p i _ p r e s e t s _ i n d e x . m d \ " : \ " D l 6 S s 9 1 J \ " , \ " a p i _ p r e s e t s _ m o d e l _ i n d e x . m d \ " : \ " D L r c h _ J u \ " , \ " e n _ a p i _ i n d e x . m d \ " : \ " B g u - L D 1 B \ " , \ " e n _ a p i _ m p _ m a t h _ a n g l e . m d \ " : \ " D Y Z o 7 h B D \ " , \ " e n _ a p i _ m p _ m a t h _ c o n s t . m d \ " : \ " D f c W u G e V \ " , \ " e n _ a p i _ m p _ m a t h _ e q u a t i o n . m d \ " : \ " B Q v 4 W W i J \ " , \ " e n _ a p i _ m p _ m a t h _ i n d e x . m d \ " : \ " D r j D U Y B Y \ " , \ " e n _ a p i _ m p _ m a t h _ l i n e . m d \ " : \ " C A J n D K C u \ " , \ " 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 h 1 b y 9 k w \ " , \ " e n _ a p i _ m p _ m a t h _ p l a n e . m d \ " : \ " B - V J J l l R \ " , \ " e n _ a p i _ m p _ m a t h _ p o i n t . m d \ " : \ " C C E - y f r m \ " , \ " e n _ a p i _ m p _ m a t h _ s e g m e n t . m d \ " : \ " C U Q F M m 0 Q \ " , \ " e n _ a p i _ m p _ m a t h _ u t i l s . m d \ " : \ " C u i y H R t Y \ " , \ " e n _ a p i _ m p _ m a t h _ v e c t o r . m d \ " : \ " 3 x e p 9 o D m \ " , \ " e n _ a p i _ p a r t i c l e _ i n d e x . m d \ " : \ " C m C 1 Q X 5 o \ " , \ " e n _ a p i _ p r e s e t s _ i n d e x . m d \ " : \ " C Z 5 h l _ 7 D \ " , \ " e n _ a p i _ p r e s e t s _ m o d e l _ i n d e x . m d \ " : \ " 1 e w G i 0 d o \ " , \ " g u i d e _ i n d e x . m d \ " : \ " B E 2 y l o i k \ " , \ " i n d e x . m d \ " : \ " B E 1 q C h T t \ " , \ " j a _ a p i _ i n d e x . m d \ " : \ " 4 B n f l F I m \ " , \ " j a _ a p i _ m p _ m a t h _ a n g l e . m d \ " : \ " _ x B K Q u i r \ " , \ " j a _ a p i _ m p _ m a t h _ c o n s t . m d \ " : \ " C Q Y - Q d b h \ " , \ " j a _ a p i _ m p _ m a t h _ e q u a t i o n . m d \ " : \ " B E T l i f w h \ " , \ " j a _ a p i _ m p _ m a t h _ i n d e x . m d \ " : \ " C S A M H Y s B \ " , \ " j a _ a p i _ m p _ m a t h _ l i n e . m d \ " : \ " C k 5 u y 5 C p \ " , \ " 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 \ " : \ " C e A S N a i E \ " , \ " j a _ a p i _ m p _ m a t h _ p l a n e . m d \ " : \ " C 5 q F t Y 9 2 \ " , \ " j a _ a p i _ m p _ m a t h _ p o i n t . m d \ " : \ " C c _ R L e t h \ " , \ " j a _ a p i _ m p _ m a t h _ s e g m e n t . m d \ " : \ " o i O N X y s Z \ " , \ " j a _ a p i _ m p _ m a t h _ u t i l s . m d \ " : \ " D g z o i 9 e c \ " , \ " j a _ a p i _ m p _ m a t h _ v e c t o r . m d \ " : \ " k N 2 P 6 b p C \ " , \ " j a _ a p i _ p a r t i c l e _ i n d e x . m d \ " : \ " E 2 Y n H 7 E N \ " , \ " j a _ a p i _ p r e s e t s _ i n d e x . m d \ " : \ " A T G c H t 9 d \ " , \ " j a _ a p i _ p r e s e t s _ m o d e l _ i n d e x . m d \ " : \ " Q P 3 v 3 m p P \ " , \ " m d - e x . m d \ " : \ " B X 0 W q O q v \ " , \ " z h - h a n t _ a p i _ i n d e x . m d \ " : \ " D - i B k J b - \ " , \ " z h - h a n t _ a p i _ m p _ m a t h _ a n g l e . m d \ " : \ " e K Q S p i M X \ " , \ " z h - h a n t _ a p i _ m p _ m a t h _ c o n s t . m d \ " : \ " B _ t Z 9 w L 7 \ " , \ " z h - h a n t _ a p i _ m p _ m a t h _ e q u a t i o n . m d \ " : \ " D P i n r p 8 _ \ " , \ " z h - h a n t _ a p i _ m p _ m a t h _ i n d e x . m d \ " : \ " B 8 N L V 8 C f \ " , \ " z h - h a n t _ a p i _ m p _ m a t h _ l i n e . m d \ " : \ " B - s 8 a L x Y \ " , \ " z h - h a n 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 O w D U O u 8 \ " , \ " z h - h a n t _ a p i _ m p _ m a t h _ p l a n e . m d \ " : \ " B 6 0 B z q 3 i \ " , \ " z h - h a n t _ a p i _ m p _ m a t h _ p o i n t . m d \ " : \ " B E s H V _ 8 G \ " , \ " z h - h a n t _ a p i _ m p _ m a t h _ s e g m e n t . m d \ " : \ " C - 4 e J k - Y \ " , \ " z h - h a n t _ a p i _ m p _ m a t h _ u t i l s . m d \ " : \ " z 2 l M M p n T \ " , \ " z h - h a n t _ a p i _ m p _ m a t h _ v e c t o r . m d \ " : \ " n 5 E f a e 6 D \ " , \ " z h - h a n t _ a p i _ p a r t i c l e _ i n d e x . m d \ " : \ " B l d u I P t w \ " , \ " z h - h a n t _ a p i _ p r e s e t s _ i n d e x . m d \ " : \ " C D y g 8 7 e 9 \ " , \ " z h - h a n t _ a p i _ p r e s e t s _ m o d e l _ i n d e x . m d \ " : \ " D C H p j j Z _ \ " } " ) ; 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 o c i a l L i n k s \ " : [ { \ " i c o n \ " : \ " g i t h u b \ " , \ " l i n k \ " : \ " h t t p s : / / g i t h u b . c o m / s n o w y k a m i / m b c p \ " } ] , \ " s i d e b a r \ " : { \ " / a p i / \ " : [ { \ " t e x t \ " : \ " a p i \ " , \ " i t e m s \ " : [ { \ " t e x t \ " : \ " m b c p \ " , \ " l i n k \ " : \ " / a p i / i n d e x . m d \ " } , { \ " 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 \ " , \ " l i n k \ " : \ " / a p i / m p _ m a t h / i n d e x . m d \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . a n g l e \ " , \ " l i n k \ " : \ " / a p i / m p _ m a t h / a n g l e . m d \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . c o n s t \ " , \ " l i n k \ " : \ " / a p i / m p _ m a t h / c o n s t . m d \ " } , { \ " 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 \ " : \ " / a p i / m p _ m a t h / e q u a t i o n . m d \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . l i n e \ " , \ " l i n k \ " : \ " / a p i / m p _ m a t h / l i n e . m d \ " } , { \ " 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 \ " : \ " / a p i / m p _ m a t h / m p _ m a t h _ t y p i n g . m d \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . p l a n e \ " , \ " l i n k \ " : \ " / a p i / m p _ m a t h / p l a n e . m d \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . p o i n t \ " , \ " l i n k \ " : \ " / a p i / m p _ m a t h / p o i n t . m d \ " } , { \ " 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 \ " : \ " / a p i / m p _ m a t h / s e g m e n t . m d \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . u t i l s \ " , \ " l i n k \ " : \ " / a p i / m p _ m a t h / u t i l s . m d \ " } , { \ " t e x t \ " : \ " m b c p . m p _ m a t h . v e c t o r \ " , \ " l i n k \ " : \ " / a p i / m p _ m a t h / v e c t o r . m d \ " } ] } , { \ " t e x t \ " : \ " p a r t i c l e \ " , \ " i t e m s \ " : [ { \ " t e x t \ " : \ " m b c p . p a r t i c l e \ " , \ " l i n k \ " : \ " / a p i / p a r t i c l e / i n d e x . m d \ " } ] } , { \ " t e x t \ " : \ " p r e s e t s \ " , \ " i t e m s \ " : [ { \ " t e x t \ " : \ " m b c p . p r e
2024-08-28 20:35:22 +08:00
< / body >
< / html >