Files
maths-cs-ai-compendium-zh/images/convex_nonconvex.svg
T
flykhan 2536c937e3 feat: 完整中文翻译 maths-cs-ai-compendium(数学·计算机科学·AI 知识大全)
翻译自英文原版 maths-cs-ai-compendium,共 20 章全部完成。

第01章 向量 | 第02章 矩阵 | 第03章 微积分
第04章 统计学 | 第05章 概率论 | 第06章 机器学习
第07章 计算语言学 | 第08章 计算机视觉 | 第09章 音频与语音
第10章 多模态学习 | 第11章 自主系统 | 第12章 图神经网络
第13章 计算与操作系统 | 第14章 数据结构与算法
第15章 生产级软件工程 | 第16章 SIMD与GPU编程
第17章 AI推理 | 第18章 ML系统设计
第19章 应用人工智能 | 第20章 前沿人工智能

翻译说明:
- 所有数学公式 $...$ / $$...$$、代码块、图片引用完整保留
- mkdocs.yml 配置中文导航 + language: zh
- README.md 已翻译为中文(兼 docs/index.md)
- docs/ 目录包含指向各章文件的 symlink
- 约 29,000 行中文内容,排除 .cache/ 构建缓存
2026-05-03 10:23:20 +08:00

77 lines
4.0 KiB
XML

<svg width="440" height="190" xmlns="http://www.w3.org/2000/svg">
<defs>
<marker id="cn-arr" markerWidth="7" markerHeight="5" refX="7" refY="2.5" orient="auto">
<path d="M0,0 L7,2.5 L0,5" fill="#ccc"/>
</marker>
</defs>
<!-- === Convex (bowl) === -->
<text x="70" y="14" text-anchor="middle" fill="#333" font-size="10" font-weight="bold">Convex (f'' &gt; 0)</text>
<line x1="10" y1="145" x2="135" y2="145" stroke="#ccc" stroke-width="0.8" marker-end="url(#cn-arr)"/>
<line x1="10" y1="145" x2="10" y2="22" stroke="#ccc" stroke-width="0.8" marker-end="url(#cn-arr)"/>
<!-- Bowl curve -->
<path d="M 15,40 Q 45,125 70,140 Q 95,125 125,40" fill="none" stroke="#27ae60" stroke-width="2.5"/>
<!-- Line segment above curve -->
<line x1="30" y1="95" x2="112" y2="95" stroke="#27ae60" stroke-width="1" stroke-dasharray="3"/>
<circle cx="30" cy="95" r="2.5" fill="#27ae60" fill-opacity="0.5"/>
<circle cx="112" cy="95" r="2.5" fill="#27ae60" fill-opacity="0.5"/>
<text x="71" y="88" text-anchor="middle" fill="#27ae60" font-size="8">line above curve</text>
<!-- Min point -->
<circle cx="70" cy="141" r="4" fill="#27ae60"/>
<text x="70" y="160" text-anchor="middle" fill="#27ae60" font-size="9" font-weight="bold">minimum</text>
<text x="70" y="172" text-anchor="middle" fill="#27ae60" font-size="8">curves upward</text>
<!-- Divider 1 -->
<line x1="148" y1="10" x2="148" y2="175" stroke="#ddd" stroke-width="1" stroke-dasharray="4"/>
<!-- === Concave (hill) === -->
<text x="220" y="14" text-anchor="middle" fill="#333" font-size="10" font-weight="bold">Concave (f'' &lt; 0)</text>
<line x1="160" y1="145" x2="285" y2="145" stroke="#ccc" stroke-width="0.8" marker-end="url(#cn-arr)"/>
<line x1="160" y1="145" x2="160" y2="22" stroke="#ccc" stroke-width="0.8" marker-end="url(#cn-arr)"/>
<!-- Hill curve -->
<path d="M 165,135 Q 195,45 220,30 Q 245,45 275,135" fill="none" stroke="#e74c3c" stroke-width="2.5"/>
<!-- Line segment below curve -->
<line x1="182" y1="85" x2="260" y2="85" stroke="#e74c3c" stroke-width="1" stroke-dasharray="3"/>
<circle cx="182" cy="85" r="2.5" fill="#e74c3c" fill-opacity="0.5"/>
<circle cx="260" cy="85" r="2.5" fill="#e74c3c" fill-opacity="0.5"/>
<text x="221" y="100" text-anchor="middle" fill="#e74c3c" font-size="8">line below curve</text>
<!-- Max point -->
<circle cx="220" cy="30" r="4" fill="#e74c3c"/>
<text x="220" y="160" text-anchor="middle" fill="#e74c3c" font-size="9" font-weight="bold">maximum</text>
<text x="220" y="172" text-anchor="middle" fill="#e74c3c" font-size="8">curves downward</text>
<!-- Divider 2 -->
<line x1="298" y1="10" x2="298" y2="175" stroke="#ddd" stroke-width="1" stroke-dasharray="4"/>
<!-- === Inflection point === -->
<text x="370" y="14" text-anchor="middle" fill="#333" font-size="10" font-weight="bold">Inflection (f'' = 0)</text>
<line x1="310" y1="145" x2="435" y2="145" stroke="#ccc" stroke-width="0.8" marker-end="url(#cn-arr)"/>
<line x1="310" y1="145" x2="310" y2="22" stroke="#ccc" stroke-width="0.8" marker-end="url(#cn-arr)"/>
<!-- S-curve transitioning concave to convex -->
<path d="M 315,30 Q 340,40 355,65 Q 370,90 370,90 Q 370,90 385,115 Q 400,135 430,140" fill="none" stroke="#9b59b6" stroke-width="2.5"/>
<!-- Inflection point -->
<circle cx="370" cy="90" r="4" fill="#9b59b6"/>
<!-- Tangent at inflection -->
<line x1="340" y1="110" x2="400" y2="70" stroke="#9b59b6" stroke-width="1.2" stroke-dasharray="4"/>
<!-- Labels for concave/convex regions -->
<text x="340" y="45" fill="#e74c3c" font-size="8">concave</text>
<text x="400" y="138" fill="#27ae60" font-size="8">convex</text>
<text x="370" y="160" text-anchor="middle" fill="#9b59b6" font-size="9" font-weight="bold">switches here</text>
<text x="370" y="172" text-anchor="middle" fill="#9b59b6" font-size="8">curvature changes sign</text>
<text x="220" y="187" text-anchor="middle" fill="#666" font-size="10">convex: bowl (unique min) | concave: hill (unique max) | inflection: curvature flips</text>
</svg>