2024-08-28 20:35:22 +08:00
<!DOCTYPE html>
< html lang = "en-US" dir = "ltr" >
< 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-31 06:08:36 +08:00
< meta name = "description" content = "MBCP library docs" >
2024-08-28 20:35:22 +08:00
< meta name = "generator" content = "VitePress v1.3.4" >
2024-08-31 06:39:55 +08:00
< link rel = "preload stylesheet" href = "/assets/style.C6qVLbET.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" >
2024-08-31 06:39:55 +08:00
< link rel = "modulepreload" href = "/assets/en_api_mp_math_utils.md.CigCGgjm.lean.js" >
2024-08-31 06:08:36 +08:00
< link rel = "icon" type = "image/svg+xml" href = "/mbcp-logo.svg" >
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-31 06:39:55 +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 = "/en/" data-v-10b95b50 > <!-- [ --> <!-- ] --> <!-- [ --> < img class = "VPImage logo" src = "/mbcp-logo.svg" alt data-v-f925500d > <!-- ] --> < 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 = "/en/guide/" tabindex = "0" data-v-0fb289c1 data-v-ad4a8b64 > <!-- [ --> < span data-v-ad4a8b64 > Get Start< / span > <!-- ] --> < / a > <!-- ] --> <!-- [ --> < a class = "VPLink link VPNavBarMenuLink" href = "/en/refer.html" tabindex = "0" data-v-0fb289c1 data-v-ad4a8b64 > <!-- [ --> < span data-v-ad4a8b64 > Reference< / span > <!-- ] --> < / a > <!-- ] --> <!-- [ --> < a class = "VPLink link VPNavBarMenuLink" href = "/en/api/" tabindex = "0" data-v-0fb289c1 data-v-ad4a8b64 > <!-- [ --> < span data-v-ad4a8b64 > API Reference< / span > <!-- ] --> < / a > <!-- ] --> <!-- [ --> < a class = "VPLink link VPNavBarMenuLink" href = "/en/demo/" tabindex = "0" data-v-0fb289c1 data-v-ad4a8b64 > <!-- [ --> < span data-v-ad4a8b64 > Demo< / 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 > English< / 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 = "/ja/api/mp_math/utils.html" data-v-79776a7a > <!-- [ --> 日本語<!-- ] --> < / 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 > <
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-31 06:39:55 +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 = "def-init-self-value-realnumber" tabindex = "-1" > < em > < strong > def< / strong > < / 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 > < / h4 > < details > < summary > < b > Source code< / b > < / summary > < p > < a href = "https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/utils.py#L37" target = "_blank" rel = "noreferrer" > View on GitHub< / a > < / p > < 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 = "def-eq-self-other" tabindex = "-1" > < em > < strong > def< / strong > < / em > < code > __eq__(self, other)< / code > < a class = "header-anchor" href = "#def-eq-self-other" aria-label = "Permalink to "***def*** `__eq__(self, other)`"" > < / a > < / h4 > < details > < summary > < b > Source code< / b > < / summary > < p > < a href = "https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/utils.py#L40" target = "_blank" rel = "noreferrer" > View on GitHub< / a > < / p > < 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-30 13:46:30 +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-31 06:39:55 +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 > < h4 id = "def-raise-type-error-self-other" tabindex = "-1" > < em > < strong > def< / strong > < / 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 > < / h4 > < details > < summary > < b > Source code< / b > < / summary > < p > < a href = "https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/utils.py#L52" target = "_blank" rel = "noreferrer" > View on GitHub< / a > < / p > < 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 = "def-ne-self-other" tabindex = "-1" > < em > < strong > def< / strong > < / em > < code > __ne__(self, other)< / code > < a class = "header-anchor" href = "#def-ne-self-other" aria-label = "Permalink to "***def*** `__ne__(self, other)`"" > < / a > < / h4 > < details > < summary > < b > Source code< / b > < / summary > < p > < a href = "https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/utils.py#L55" target = "_blank" rel = "noreferrer" > View on GitHub< / a > < / p > < 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 = "def-approx-x-float-y-float-0-0-epsilon-float-approx-bool" tabindex = "-1" > < em > < strong > def< / strong > < / em > < code > approx(x: float, y: float = 0.0, epsilon: float = APPROX) -> bool< / code > < a class = "header-anchor" href = "#def-approx-x-float-y-float-0-0-epsilon-float-approx-bool" aria-label = "Permalink to "***def*** `approx(x: float, y: float = 0.0, epsilon: float = APPROX) -> bool`"" > < / a > < / h3 > < p > < strong > Description< / strong > : 判断两个数是否近似相等。或包装一个实数, 用于判断是否近似于0。< / p > < p > < strong > Arguments< / strong > :< / p > < blockquote > < ul > < li > x: 数1< / li > < li > y: 数2< / li > < li > epsilon: 误差< / li > < / ul > < / blockquote > < p > < strong > Return< / strong > : 是否近似相等< / p > < details > < summary > < b > Source code< / b > < / summary > < p > < a href = "https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/utils.py#L59" target = "_blank" rel = "noreferrer" > View on GitHub< / a > < / p > < 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-31 06:39:55 +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-only-neg-bool-false-str" tabindex = "-1" > < em > < strong > def< / strong > < / em > < code > sign(x: float, only_neg: bool = False) -> str< / code > < a class = "header-anchor" href = "#def-sign-x-float-only-neg-bool-false-str" aria-label = "Permalink to "***def*** `sign(x: float, only_neg: bool = False) -> str`"" > < / a > < / h3 > < p > < strong > Description< / strong > : 获取数的符号。< / p > < p > < strong > Arguments< / strong > :< / p > < blockquote > < ul > < li > x: 数< / li > < li > only_neg: 是否只返回负数的符号< / li > < / ul > < / blockquote > < p > < strong > Return< / strong > : 符号 + - " " < / p > < details > < summary > < b > Source code< / b > < / summary > < p > < a href = "https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/utils.py#L72" target = "_blank" rel = "noreferrer" > View on GitHub< / a > < / p > < 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-31 06:39:55 +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-only-neg-bool-false-str" tabindex = "-1" > < em > < strong > def< / strong > < / em > < code > sign_format(x: float, only_neg: bool = False) -> str< / code > < a class = "header-anchor" href = "#def-sign-format-x-float-only-neg-bool-false-str" aria-label = "Permalink to "***def*** `sign_format(x: float, only_neg: bool = False) -> str`"" > < / a > < / h3 > < p > < strong > Description< / strong > : 格式化符号数 -1 -> -1 1 -> +1 0 -> " " < / p > < p > < strong > Arguments< / strong > :< / p > < blockquote > < ul > < li > x: 数< / li > < li > only_neg: 是否只返回负数的符号< / li > < / ul > < / blockquote > < p > < strong > Return< / strong > : 符号 + - " " < / p > < details > < summary > < b > Source code< / b > < / summary > < p > < a href = "https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/utils.py#L88" target = "_blank" rel = "noreferrer" > View on GitHub< / a > < / p > < 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-31 06:08:36 +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 = "/en/api/mp_math/segment.html" data-v-a4b38bd6 > <!-- [ --> < span class = "desc" data-v-a4b38bd6 > Prev 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 = "/en/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 > Documentation built with < a href = "https://vitepress.dev/" > VitePress< / a > | API references generated by < a href = "https://github.com/LiteyukiStudio/litedoc" > litedoc< / a > < / p > < p class = "copyright" data-v-e3ca6860 > Copyright (C) 2020-2024 SnowyKami. All Rights Reserved< / p > < / div > < / footer > <!-- [ --> <!-- ] --> < / div > < / div >
2024-08-31 06:39:55 +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 _ a p i . m d \ " : \ " D _ B 0 H l c p \ " , \ " a p i _ i n d e x . m d \ " : \ " C _ w E S r r Y \ " , \ " a p i _ m p _ m a t h _ a n g l e . m d \ " : \ " b Q b g L 5 r c \ " , \ " a p i _ m p _ m a t h _ c o n s t . m d \ " : \ " B A f 8 m K 4 W \ " , \ " a p i _ m p _ m a t h _ e q u a t i o n . m d \ " : \ " h W R U u 0 y D \ " , \ " a p i _ m p _ m a t h _ f u n c t i o n . m d \ " : \ " C 9 e B z K g T \ " , \ " a p i _ m p _ m a t h _ i n d e x . m d \ " : \ " B N f 7 b Q q L \ " , \ " a p i _ m p _ m a t h _ l i n e . m d \ " : \ " D D k z T 0 e 0 \ " , \ " a p i _ m p _ m a t h _ m p _ m a t h . m d \ " : \ " G l F M k W i Q \ " , \ " a p i _ m p _ m a t h _ m p _ m a t h _ t y p i n g . m d \ " : \ " D l n J m k o s \ " , \ " a p i _ m p _ m a t h _ p l a n e . m d \ " : \ " D C L 3 l F b z \ " , \ " a p i _ m p _ m a t h _ p o i n t . m d \ " : \ " Y 0 S c 1 9 z U \ " , \ " a p i _ m p _ m a t h _ s e g m e n t . m d \ " : \ " B - p t C n Q 0 \ " , \ " a p i _ m p _ m a t h _ u t i l s . m d \ " : \ " m U Q 5 6 H G Q \ " , \ " a p i _ m p _ m a t h _ v e c t o r . m d \ " : \ " B e A N 7 T k I \ " , \ " a p i _ p a r t i c l e _ i n d e x . m d \ " : \ " C m 3 V k - e s \ " , \ " a p i _ p a r t i c l e _ p a r t i c l e . m d \ " : \ " y D 6 t c N S r \ " , \ " a p i _ p r e s e t s _ i n d e x . m d \ " : \ " C D 6 2 I 2 g v \ " , \ " a p i _ p r e s e t s _ m o d e l _ i n d e x . m d \ " : \ " B G e o O S C d \ " , \ " a p i _ p r e s e t s _ m o d e l _ m o d e l . m d \ " : \ " D 3 4 e F R N H \ " , \ " a p i _ p r e s e t s _ p r e s e t s . m d \ " : \ " 4 R 0 V R b Q o \ " , \ " d e m o _ i n d e x . m d \ " : \ " D - H 9 z R U E \ " , \ " e n _ a p i _ a p i . m d \ " : \ " B S g r C X 1 d \ " , \ " e n _ a p i _ i n d e x . m d \ " : \ " D j _ 5 n F T t \ " , \ " e n _ a p i _ m p _ m a t h _ a n g l e . m d \ " : \ " C j 4 a y I e t \ " , \ " e n _ a p i _ m p _ m a t h _ c o n s t . m d \ " : \ " g G p X U S h q \ " , \ " e n _ a p i _ m p _ m a t h _ e q u a t i o n . m d \ " : \ " B i h I L J C I \ " , \ " e n _ a p i _ m p _ m a t h _ f u n c t i o n . m d \ " : \ " B R 2 9 h v 6 0 \ " , \ " e n _ a p i _ m p _ m a t h _ i n d e x . m d \ " : \ " B E j L B M p H \ " , \ " e n _ a p i _ m p _ m a t h _ l i n e . m d \ " : \ " C I O n k 8 L F \ " , \ " e n _ a p i _ m p _ m a t h _ m p _ m a t h . m d \ " : \ " D 6 i h Y P a v \ " , \ " 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 n l 2 a J Q 4 \ " , \ " e n _ a p i _ m p _ m a t h _ p l a n e . m d \ " : \ " C b m y 4 F 0 P \ " , \ " e n _ a p i _ m p _ m a t h _ p o i n t . m d \ " : \ " s z Y q V N f f \ " , \ " e n _ a p i _ m p _ m a t h _ s e g m e n t . m d \ " : \ " C q l c A r a 1 \ " , \ " e n _ a p i _ m p _ m a t h _ u t i l s . m d \ " : \ " C i g C G g j m \ " , \ " e n _ a p i _ m p _ m a t h _ v e c t o r . m d \ " : \ " C F 4 k C v - W \ " , \ " e n _ a p i _ p a r t i c l e _ i n d e x . m d \ " : \ " B f y N Q i R g \ " , \ " e n _ a p i _ p a r t i c l e _ p a r t i c l e . m d \ " : \ " B N k f E y J n \ " , \ " e n _ a p i _ p r e s e t s _ i n d e x . m d \ " : \ " B W b 2 f p T g \ " , \ " e n _ a p i _ p r e s e t s _ m o d e l _ i n d e x . m d \ " : \ " C n n 4 t _ P 0 \ " , \ " e n _ a p i _ p r e s e t s _ m o d e l _ m o d e l . m d \ " : \ " B Z p Q e 5 L i \ " , \ " e n _ a p i _ p r e s e t s _ p r e s e t s . m d \ " : \ " C C U z s Y o g \ " , \ " 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 \ " : \ " B S T S O H 3 9 \ " , \ " e n _ r e f e r _ i n d e x . m d \ " : \ " a l w 4 L - b p \ " , \ " g u i d e _ i n d e x . m d \ " : \ " C f m z k 2 I H \ " , \ " i n d e x . m d \ " : \ " C N F 8 L J a 0 \ " , \ " j a _ a p i _ a p i . m d \ " : \ " C P z 5 8 q I w \ " , \ " j a _ a p i _ i n d e x . m d \ " : \ " C n U e u i f x \ " , \ " j a _ a p i _ m p _ m a t h _ a n g l e . m d \ " : \ " D 0 C h d V 9 L \ " , \ " j a _ a p i _ m p _ m a t h _ c o n s t . m d \ " : \ " D G X A g D f n \ " , \ " j a _ a p i _ m p _ m a t h _ e q u a t i o n . m d \ " : \ " k s L z f P H D \ " , \ " j a _ a p i _ m p _ m a t h _ f u n c t i o n . m d \ " : \ " S 4 m l h S E l \ " , \ " j a _ a p i _ m p _ m a t h _ i n d e x . m d \ " : \ " C T Z Z - p 9 Z \ " , \ " j a _ a p i _ m p _ m a t h _ l i n e . m d \ " : \ " C 6 _ h 0 E E F \ " , \ " j a _ a p i _ m p _ m a t h _ m p _ m a t h . m d \ " : \ " D - p r C 0 U O \ " , \ " 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 \ " : \ " B N y m g r C T \ " , \ " j a _ a p i _ m p _ m a t h _ p l a n e . m d \ " : \ " C V f L X 9 s r \ " , \ " j a _ a p i _ m p _ m a t h _ p o i n t . m d \ " : \ " 2 1 g M 8 9 3 G \ " , \ " j a _ a p i _ m p _ m a t h _ s e g m e n t . m d \ " : \ " D j i 9 _ v O I \ " , \ " j a _ a p i _ m p _ m a t h _ u t i l s . m d \ " : \ " D h v j D s k n \ " , \ " j a _ a p i _ m p _ m a t h _ v e c t o r . m d \ " : \ " D y G g u r m 4 \ " , \ " j a _ a p i _ p a r t i c l e _ i n d e x . m d \ " : \ " J r 4 1 Y 3 T S \ " , \ " j a _ a p i _ p a r t i c l e _ p a r t i c l e . m d \ " : \ " e x T t 4 6 p q \ " , \ " j a _ a p i _ p r e s e t s _ i n d e x . m d \ " : \ " C Q q d Q b I Z \ " , \ " 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 b t 3 L F N K \ " , \ " j a _ a p i _ p r e s e t s _ m o d e l _ m o d e l . m d \ " : \ " t i 1 H K Q y Y \ " , \ " j a _ a p i _ p r e s e t s _ p r e s e t s . m d \ " : \ " D w z X d D q R \ " , \ " 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 \ " : \ " D C W i T E N z \ " , \ " j a _ r e f e r _ i n d e x . m d \ " : \ " C O D W 6 i M X \ " , \ " r e f e r _ f u n c t i o n _ c u r r y . m d \ " : \ " D w K Z a w p 5 \ " , \ " r e f e r _ f u n c t i o n _ f u n c t i o n . m d \ " : \ " D 3 I g f Z X 2 \ " , \ " r e f e r _ i n d e x . m d \ " : \ " C c z Y T l 3 j \ " , \ " z h t _ a p i _ a p i . m d \ " : \ " D y U S H A 0 S \ " , \ " z h t _ a p i _ i n d e x . m d \ " : \ " C g Z H 6 a H Q \ " , \ " z h t _ a p i _ m p _ m a t h _ a n g l e . m d \ " : \ " B y T 5 H a t c \ " , \ " z h t _ a p i _ m p _ m a t h _ c o n s t . m d \ " : \ " x w Q v u Y c k \ " , \ " z h t _ a p i _ m p _ m a t h _ e q u a t i o n . m d \ " : \ " C 9 J J o 8 T j \ " , \ " z h t _ a p i _ m p _ m a t h _ f u n c t i o n . m d \ " : \ " C U i z i A r f \ " , \ " z h t _ a p i _ m p _ m a t h _ i n d e x . m d \ " : \ " m m e M M r i u \ " , \ " z h t _ a p i _ m p _ m a t h _ l i n e . m d \ " : \ " T S J B r H T a \ " , \ " z h t _ a p i _ m p _ m a t h _ m p _ m a t h . m d \ " : \ " C 3 0 2 r x K c \ " , \ " 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 \ " : \ " C N i S n u M w \ " , \ " z h t _ a p i _ m p _ m a t h _ p l a n e . m d \ " : \ " C O 3 D x q t g \ " , \ " z h t _ a p i _ m p _ m a t h _ p o i n t . m d \ " : \ " h a h Z S a S v \ " , \ " z h t _ a p i _ m p _ m a t h _ s e g m e n t . m d \ " : \ " B V x d 0 3 I I \ " , \ " z h t _ a p i _ m p _ m a t h _ u t i l s . m d \ " : \ " D z 7 j Y C 2 A \ " , \ " z h t _ a p i _ m p _ m a t h _ v e c t o r . m d \ " : \ " 2 6 f p p i _ c \ " , \ " z h t _ a p i _ p a r t i c l e _ i n d e x . m d \ " : \ " 8 G a G B 1 u l \ " , \ " z h t _ a p i _ p a r t i c l e _ p a r t i c l e . m d \ " : \ " h u u R T E b 9 \ " , \ " z h t _ a p i _ p r e s e t s _ i n d e x . m d \ " : \ " D v O V i S o x \ " , \ " 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 \ " : \ " B N 6 G z T i L \ " , \ " z h t _ a p i _ p r e s e t s _ m o d e l _ m o d e l . m d \ " : \ " p U t H 2 D s 8 \ " , \ " z h t _ a p i _ p r e s e t s _ p r e s e t s . m d \ " : \ " C s D H j R b K \ " , \ " 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 M j J 0 l p j \ " , \ " z h t _ r e f e r _ i n d e x . m d \ " : \ " B z 6 v o x E Q \ " } " ) ; f u n c t i o n d e s e r i a l i z e F u n c t i o n s ( r ) { r e t u r n A r r a y . i s A r r a y ( r )
2024-08-28 20:35:22 +08:00
< / body >
< / html >