{"id":175728,"date":"2024-05-08T18:56:53","date_gmt":"2024-05-08T10:56:53","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/175728.html"},"modified":"2024-05-08T18:57:04","modified_gmt":"2024-05-08T10:57:04","slug":"python%e7%9a%84sympy%e5%ba%93%e5%a6%82%e4%bd%95%e5%b0%86%e6%9f%90%e4%b8%aa%e6%95%b0%e4%bb%a3%e5%85%a5%e5%87%bd%e6%95%b0%e8%a7%a3%e6%9e%90%e5%bc%8f%e6%b1%82%e5%80%bc","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/175728.html","title":{"rendered":"Python\u7684sympy\u5e93\u5982\u4f55\u5c06\u67d0\u4e2a\u6570\u4ee3\u5165\u51fd\u6570\u89e3\u6790\u5f0f\u6c42\u503c"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27053739\/0ce0a033-6333-472d-a632-9aec4d3a3965.webp\" alt=\"Python\u7684sympy\u5e93\u5982\u4f55\u5c06\u67d0\u4e2a\u6570\u4ee3\u5165\u51fd\u6570\u89e3\u6790\u5f0f\u6c42\u503c\" \/><\/p>\n<p><p>\u5728\u4f7f\u7528Python\u7684Sympy\u5e93\u89e3\u51b3\u6570\u5b66\u95ee\u9898\u65f6\uff0c\u5982\u4f55\u5c06\u67d0\u4e2a\u6570\u4ee3\u5165\u51fd\u6570\u89e3\u6790\u5f0f\u6c42\u503c\u662f\u4e00\u4e2a\u5e38\u89c1\u800c\u91cd\u8981\u7684\u4efb\u52a1\u3002<strong>\u6838\u5fc3\u6b65\u9aa4\u5305\u62ec\uff1a\u5b9a\u4e49\u7b26\u53f7\u53d8\u91cf\u3001\u6784\u5efa\u51fd\u6570\u8868\u8fbe\u5f0f\u3001\u4f7f\u7528<code>subs<\/code>\u65b9\u6cd5\u4ee3\u5165\u503c\u3001\u6700\u540e\u662f\u4f7f\u7528<code>evalf<\/code>\u65b9\u6cd5\u6c42\u89e3\u6570\u503c\u7ed3\u679c<\/strong>\u3002\u8be6\u7ec6\u63cf\u8ff0\u4e2d\uff0c<strong>\u4f7f\u7528<code>subs<\/code>\u65b9\u6cd5\u4ee3\u5165\u503c<\/strong>\u662f\u5b9e\u73b0\u8be5\u4efb\u52a1\u7684\u5173\u952e\u6b65\u9aa4\u3002\u6b64\u65b9\u6cd5\u5141\u8bb8\u7528\u6237\u5c06\u7b26\u53f7\u8868\u8fbe\u5f0f\u4e2d\u7684\u7b26\u53f7\u53d8\u91cf\u66ff\u6362\u4e3a\u5177\u4f53\u6570\u503c\u6216\u5176\u4ed6\u7b26\u53f7\u8868\u8fbe\u5f0f\uff0c\u4ece\u800c\u80fd\u591f\u6839\u636e\u9700\u8981\u8fdb\u884c\u7075\u6d3b\u7684\u6570\u503c\u8ba1\u7b97\u6216\u7b26\u53f7\u8ba1\u7b97\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b89\u88c5\u548c\u5bfc\u5165Sympy\u5e93<\/h3>\n<\/p>\n<p><p>\u5728\u6df1\u5165\u4e86\u89e3\u5982\u4f55\u4f7f\u7528Sympy\u5e93\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e14\u80fd\u591f\u5728\u4f60\u7684\u5de5\u4f5c\u73af\u5883\u4e2d\u5bfc\u5165Sympy\u5e93\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5b89\u88c5Sympy\u5e93<\/p>\n<p>!pip install sympy<\/p>\n<h2><strong>\u5bfc\u5165Sympy\u5e93<\/strong><\/h2>\n<p>import sympy as sp<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u5e76\u5bfc\u5165Sympy\u5e93\u540e\uff0c\u5c31\u53ef\u4ee5\u5f00\u59cb\u8fdb\u884c\u7b26\u53f7\u6570\u5b66\u8ba1\u7b97\u4e86\u3002Sympy\u5e93\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u5f3a\u5927\u7684\u7b26\u53f7\u8ba1\u7b97\u529f\u80fd\uff0c\u5305\u62ec\u6570\u5b66\u8868\u8fbe\u5f0f\u7684\u7b80\u5316\u3001\u6c42\u5bfc\u3001\u79ef\u5206\u3001\u6781\u9650\u3001\u65b9\u7a0b\u6c42\u89e3\u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u5b9a\u4e49\u7b26\u53f7\u53d8\u91cf<\/h3>\n<\/p>\n<p><p>\u5728Sympy\u4e2d\u8fdb\u884c\u6570\u5b66\u64cd\u4f5c\u524d\uff0c\u9700\u5148\u5b9a\u4e49\u4e00\u4e2a\u6216\u591a\u4e2a\u7b26\u53f7\u53d8\u91cf\u3002\u8fd9\u4e9b\u53d8\u91cf\u5c06\u7528\u4e8e\u6784\u5efa\u51fd\u6570\u8868\u8fbe\u5f0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5b9a\u4e49\u5355\u4e2a\u7b26\u53f7\u53d8\u91cf<\/p>\n<p>x = sp.symbols(&#039;x&#039;)<\/p>\n<h2><strong>\u5b9a\u4e49\u591a\u4e2a\u7b26\u53f7\u53d8\u91cf<\/strong><\/h2>\n<p>y, z = sp.symbols(&#039;y z&#039;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b9a\u4e49\u7b26\u53f7\u53d8\u91cf\u662f\u5229\u7528Sympy\u8fdb\u884c\u7b26\u53f7\u8ba1\u7b97\u7684\u57fa\u7840\u3002\u8fd9\u4e9b\u53d8\u91cf\u65e2\u53ef\u4ee5\u5355\u72ec\u4f7f\u7528\uff0c\u4e5f\u53ef\u4ee5\u7ec4\u5408\u4f7f\u7528\uff0c\u6784\u5efa\u590d\u6742\u7684\u6570\u5b66\u8868\u8fbe\u5f0f\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u6784\u5efa\u51fd\u6570\u8868\u8fbe\u5f0f<\/h3>\n<\/p>\n<p><p>\u6709\u4e86\u7b26\u53f7\u53d8\u91cf\uff0c\u4e0b\u4e00\u6b65\u5c31\u662f\u6784\u5efa\u51fd\u6570\u8868\u8fbe\u5f0f\uff0c\u5b83\u53ef\u4ee5\u662f\u4efb\u4f55\u6709\u6548\u7684\u6570\u5b66\u8868\u8fbe\u5f0f\uff0c\u4f7f\u7528\u5b9a\u4e49\u7684\u7b26\u53f7\u53d8\u91cf\u8868\u793a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u6784\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u51fd\u6570\u8868\u8fbe\u5f0f<\/p>\n<p>f = x2 + 3*x + 2<\/p>\n<h2><strong>\u6784\u5efa\u66f4\u590d\u6742\u7684\u51fd\u6570\u8868\u8fbe\u5f0f<\/strong><\/h2>\n<p>g = sp.sin(x) + sp.cos(y) * sp.log(z)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u51fd\u6570\u8868\u8fbe\u5f0f\u5728Sympy\u4e2d\u626e\u6f14\u7740\u6838\u5fc3\u89d2\u8272\uff0c\u51e0\u4e4e\u6240\u6709\u7684\u6570\u5b66\u64cd\u4f5c\u90fd\u56f4\u7ed5\u5bf9\u8868\u8fbe\u5f0f\u7684\u5904\u7406\u5c55\u5f00\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528<code>subs<\/code>\u65b9\u6cd5\u4ee3\u5165\u503c<\/h3>\n<\/p>\n<p><p><strong>\u4f7f\u7528<code>subs<\/code>\u65b9\u6cd5\u5c06\u5177\u4f53\u6570\u503c\u4ee3\u5165\u4e4b\u524d\u5b9a\u4e49\u7684\u7b26\u53f7\u53d8\u91cf\u4e2d\u662f\u89e3\u51b3\u6b64\u95ee\u9898\u7684\u5173\u952e<\/strong>\u3002\u53ef\u4ee5\u5355\u4e2a\u4ee3\u5165\uff0c\u4e5f\u53ef\u4ee5\u4e00\u6b21\u6027\u4ee3\u5165\u591a\u4e2a\u503c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5355\u4e2a\u503c\u4ee3\u5165<\/p>\n<p>result_single = f.subs(x, 2)<\/p>\n<h2><strong>\u591a\u503c\u4ee3\u5165<\/strong><\/h2>\n<p>result_multiple = g.subs({x: 1, y: sp.pi\/4, z: 2.718})<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7<code>subs<\/code>\u65b9\u6cd5\uff0c\u53ef\u4ee5\u7075\u6d3b\u5730\u5c06\u7b26\u53f7\u8868\u8fbe\u5f0f\u8f6c\u5316\u4e3a\u5177\u4f53\u6570\u503c\u8868\u8fbe\u5f0f\uff0c\u6216\u66ff\u6362\u4e3a\u5176\u4ed6\u7b26\u53f7\u8868\u8fbe\u5f0f\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u4f7f\u7528<code>evalf<\/code>\u6c42\u89e3\u6570\u503c\u7ed3\u679c<\/h3>\n<\/p>\n<p><p>\u6700\u540e\u4e00\u6b65\u662f\u5c06\u4ee3\u5165\u503c\u540e\u7684\u8868\u8fbe\u5f0f\u8f6c\u6362\u4e3a\u6570\u503c\u7ed3\u679c\u3002Sympy\u901a\u8fc7<code>evalf<\/code>\u65b9\u6cd5\u6216\u7b80\u5316\u8868\u8fbe\u5f0f\u540e\u76f4\u63a5\u4f7f\u7528Python\u7684<code>float<\/code>\u51fd\u6570\u8f6c\u6362\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4f7f\u7528evalf\u65b9\u6cd5<\/p>\n<p>numeric_result = result_single.evalf()<\/p>\n<h2><strong>\u76f4\u63a5\u8f6c\u6362\u4e3afloat\u7c7b\u578b\uff08\u5982\u679c\u53ef\u80fd\uff09<\/strong><\/h2>\n<p>float_result = float(result_multiple)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><code>evalf<\/code>\u65b9\u6cd5\u4e0d\u4ec5\u53ef\u4ee5\u8f6c\u6362\u6574\u4e2a\u8868\u8fbe\u5f0f\u4e3a\u6570\u503c\u7ed3\u679c\uff0c\u8fd8\u53ef\u4ee5\u6307\u5b9a\u6570\u503c\u7684\u7cbe\u5ea6\u3002<\/p>\n<\/p>\n<p><h3>\u7ed3\u8bba<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528Python\u7684Sympy\u5e93\u5c06\u67d0\u4e2a\u6570\u4ee3\u5165\u51fd\u6570\u89e3\u6790\u5f0f\u6c42\u503c\u662f\u4e00\u4e2a\u6d89\u53ca\u51e0\u4e2a\u5173\u952e\u6b65\u9aa4\u7684\u8fc7\u7a0b\u3002\u4ece\u5b9a\u4e49\u7b26\u53f7\u53d8\u91cf\u5f00\u59cb\uff0c\u5230\u6784\u5efa\u51fd\u6570\u8868\u8fbe\u5f0f\uff0c\u518d\u901a\u8fc7<code>subs<\/code>\u65b9\u6cd5\u4ee3\u5165\u5177\u4f53\u6570\u503c\uff0c\u6700\u540e\u4f7f\u7528<code>evalf<\/code>\u65b9\u6cd5\u6216\u76f4\u63a5\u8f6c\u6362\u5f97\u5230\u6570\u503c\u7ed3\u679c\uff0c\u6bcf\u4e00\u6b65\u90fd\u662f\u6784\u5efa\u548c\u6c42\u89e3\u6570\u5b66\u8868\u8fbe\u5f0f\u7684\u91cd\u8981\u73af\u8282\u3002\u638c\u63e1\u8fd9\u4e00\u7cfb\u5217\u64cd\u4f5c\uff0c\u5c06\u4f7f\u5f97\u5904\u7406\u590d\u6742\u7684\u6570\u5b66\u95ee\u9898\u53d8\u5f97\u66f4\u4e3a\u7075\u6d3b\u548c\u5f3a\u5927\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>\u5982\u4f55\u5728Python\u7684sympy\u5e93\u4e2d\u5c06\u6307\u5b9a\u7684\u6570\u503c\u4ee3\u5165\u51fd\u6570\u89e3\u6790\u5f0f\u5e76\u8ba1\u7b97\u7ed3\u679c\uff1f<\/strong><\/p>\n<p>sympy\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684\u6570\u5b66\u8ba1\u7b97\u5e93\uff0c\u53ef\u4ee5\u8fdb\u884c\u7b26\u53f7\u6570\u5b66\u8ba1\u7b97\u3002\u8981\u5c06\u67d0\u4e2a\u6570\u503c\u4ee3\u5165\u51fd\u6570\u89e3\u6790\u5f0f\u5e76\u6c42\u503c\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n<ol>\n<li>\u5bfc\u5165sympy\u5e93\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">from sympy import *\n<\/code><\/pre>\n<ol start=\"2\">\n<li>\u5b9a\u4e49\u7b26\u53f7\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">x = symbols(&#039;x&#039;)\n<\/code><\/pre>\n<ol start=\"3\">\n<li>\u5b9a\u4e49\u51fd\u6570\u8868\u8fbe\u5f0f\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">expr = 2*x + 3*x**2 - 5\n<\/code><\/pre>\n<ol start=\"4\">\n<li>\u5c06\u6307\u5b9a\u7684\u6570\u503c\u4ee3\u5165\u8868\u8fbe\u5f0f\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">result = expr.subs(x, 1.5)\n<\/code><\/pre>\n<p>\u8fd9\u91cc\u7684<code>x<\/code>\u662f\u7b26\u53f7\uff0c<code>1.5<\/code>\u662f\u8981\u4ee3\u5165\u7684\u503c\u3002<code>subs<\/code>\u51fd\u6570\u5c06<code>x<\/code>\u66ff\u6362\u4e3a\u6307\u5b9a\u7684\u6570\u503c\uff0c\u5f97\u5230\u8ba1\u7b97\u7ed3\u679c\u3002<\/p>\n<ol start=\"5\">\n<li>\u8f93\u51fa\u7ed3\u679c\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">print(result)\n<\/code><\/pre>\n<p>\u8fd9\u6837\u5c31\u53ef\u4ee5\u5f97\u5230\u5c06\u6307\u5b9a\u6570\u503c\u4ee3\u5165\u51fd\u6570\u89e3\u6790\u5f0f\u540e\u7684\u8ba1\u7b97\u7ed3\u679c\u3002<\/p>\n<p><strong>\u600e\u6837\u5c06sympy\u5e93\u4e2d\u7684\u591a\u4e2a\u53d8\u91cf\u4ee3\u5165\u51fd\u6570\u8868\u8fbe\u5f0f\u5e76\u8ba1\u7b97\u7ed3\u679c\uff1f<\/strong><\/p>\n<p>\u5982\u679c\u51fd\u6570\u8868\u8fbe\u5f0f\u4e2d\u5b58\u5728\u591a\u4e2a\u53d8\u91cf\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n<ol>\n<li>\u5bfc\u5165sympy\u5e93\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">from sympy import *\n<\/code><\/pre>\n<ol start=\"2\">\n<li>\u5b9a\u4e49\u7b26\u53f7\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">x, y = symbols(&#039;x y&#039;)\n<\/code><\/pre>\n<ol start=\"3\">\n<li>\u5b9a\u4e49\u51fd\u6570\u8868\u8fbe\u5f0f\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">expr = 2*x + 3*y**2 - 5*x*y\n<\/code><\/pre>\n<ol start=\"4\">\n<li>\u5c06\u6307\u5b9a\u7684\u6570\u503c\u4ee3\u5165\u8868\u8fbe\u5f0f\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">result = expr.subs({x: 1.5, y: 2})\n<\/code><\/pre>\n<p>\u8fd9\u91cc\u4f7f\u7528\u5b57\u5178\u7684\u5f62\u5f0f\u5c06\u53d8\u91cf\u548c\u8981\u4ee3\u5165\u7684\u503c\u5bf9\u5e94\u8d77\u6765\u3002<\/p>\n<ol start=\"5\">\n<li>\u8f93\u51fa\u7ed3\u679c\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">print(result)\n<\/code><\/pre>\n<p>\u8fd9\u6837\u5c31\u53ef\u4ee5\u5f97\u5230\u5c06\u6307\u5b9a\u6570\u503c\u4ee3\u5165\u51fd\u6570\u89e3\u6790\u5f0f\u540e\u7684\u8ba1\u7b97\u7ed3\u679c\u3002<\/p>\n<p><strong>\u5728sympy\u5e93\u4e2d\u5982\u4f55\u5c06\u7b26\u53f7\u8868\u8fbe\u5f0f\u6c42\u503c\u4e3a\u6570\u503c\u7ed3\u679c\uff1f<\/strong><\/p>\n<p>\u5728sympy\u5e93\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>evalf()<\/code>\u65b9\u6cd5\u5c06\u7b26\u53f7\u8868\u8fbe\u5f0f\u6c42\u503c\u4e3a\u6570\u503c\u7ed3\u679c\u3002\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a<\/p>\n<ol>\n<li>\u5bfc\u5165sympy\u5e93\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">from sympy import *\n<\/code><\/pre>\n<ol start=\"2\">\n<li>\u5b9a\u4e49\u7b26\u53f7\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">x = symbols(&#039;x&#039;)\n<\/code><\/pre>\n<ol start=\"3\">\n<li>\u5b9a\u4e49\u51fd\u6570\u8868\u8fbe\u5f0f\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">expr = 2*x + 3*x**2 - 5\n<\/code><\/pre>\n<ol start=\"4\">\n<li>\u5c06\u51fd\u6570\u8868\u8fbe\u5f0f\u6c42\u503c\u4e3a\u6570\u503c\u7ed3\u679c\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">result = expr.evalf(subs={x: 1.5})\n<\/code><\/pre>\n<p>\u8fd9\u91cc\u4f7f\u7528<code>evalf()<\/code>\u65b9\u6cd5\u5c06\u7b26\u53f7\u8868\u8fbe\u5f0f\u6c42\u503c\u4e3a\u6570\u503c\u7ed3\u679c\uff0c\u5e76\u4f7f\u7528<code>subs<\/code>\u53c2\u6570\u5c06\u53d8\u91cf<code>x<\/code>\u4ee3\u5165\u4e3a\u6307\u5b9a\u7684\u6570\u503c\u3002<\/p>\n<ol start=\"5\">\n<li>\u8f93\u51fa\u7ed3\u679c\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">print(result)\n<\/code><\/pre>\n<p>\u8fd9\u6837\u5c31\u53ef\u4ee5\u5f97\u5230\u5c06\u7b26\u53f7\u8868\u8fbe\u5f0f\u6c42\u503c\u4e3a\u6570\u503c\u7ed3\u679c\u7684\u8ba1\u7b97\u7ed3\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728\u4f7f\u7528Python\u7684Sympy\u5e93\u89e3\u51b3\u6570\u5b66\u95ee\u9898\u65f6\uff0c\u5982\u4f55\u5c06\u67d0\u4e2a\u6570\u4ee3\u5165\u51fd\u6570\u89e3\u6790\u5f0f\u6c42\u503c\u662f\u4e00\u4e2a\u5e38\u89c1\u800c\u91cd\u8981\u7684\u4efb\u52a1\u3002\u6838\u5fc3\u6b65\u9aa4 [&hellip;]","protected":false},"author":3,"featured_media":175754,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/175728"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=175728"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/175728\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/175754"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=175728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=175728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=175728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}