2536c937e3
翻译自英文原版 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/ 构建缓存
71 lines
4.5 KiB
XML
71 lines
4.5 KiB
XML
<svg width="700" height="320" xmlns="http://www.w3.org/2000/svg">
|
||
<text x="350" y="25" fill="#333" font-size="14" font-weight="bold" text-anchor="middle">Multiplication Rule: 3 shirts × 4 pants = 12 outfits</text>
|
||
|
||
<!-- Shirt column -->
|
||
<text x="100" y="55" fill="#666" font-size="12" text-anchor="middle">Shirts</text>
|
||
<rect x="60" y="65" width="80" height="30" rx="4" fill="#e74c3c" opacity="0.8"/>
|
||
<text x="100" y="85" fill="white" font-size="11" text-anchor="middle">S₁ (red)</text>
|
||
<rect x="60" y="110" width="80" height="30" rx="4" fill="#3498db" opacity="0.8"/>
|
||
<text x="100" y="130" fill="white" font-size="11" text-anchor="middle">S₂ (blue)</text>
|
||
<rect x="60" y="155" width="80" height="30" rx="4" fill="#27ae60" opacity="0.8"/>
|
||
<text x="100" y="175" fill="white" font-size="11" text-anchor="middle">S₃ (green)</text>
|
||
|
||
<!-- Pants column -->
|
||
<text x="300" y="55" fill="#666" font-size="12" text-anchor="middle">Pants</text>
|
||
<rect x="260" y="65" width="80" height="30" rx="4" fill="#8e44ad" opacity="0.7"/>
|
||
<text x="300" y="85" fill="white" font-size="11" text-anchor="middle">P₁</text>
|
||
<rect x="260" y="105" width="80" height="30" rx="4" fill="#8e44ad" opacity="0.7"/>
|
||
<text x="300" y="125" fill="white" font-size="11" text-anchor="middle">P₂</text>
|
||
<rect x="260" y="145" width="80" height="30" rx="4" fill="#8e44ad" opacity="0.7"/>
|
||
<text x="300" y="165" fill="white" font-size="11" text-anchor="middle">P₃</text>
|
||
<rect x="260" y="185" width="80" height="30" rx="4" fill="#8e44ad" opacity="0.7"/>
|
||
<text x="300" y="205" fill="white" font-size="11" text-anchor="middle">P₄</text>
|
||
|
||
<!-- Branches from S1 -->
|
||
<line x1="140" y1="80" x2="260" y2="80" stroke="#e74c3c" stroke-width="1.2" opacity="0.5"/>
|
||
<line x1="140" y1="80" x2="260" y2="120" stroke="#e74c3c" stroke-width="1.2" opacity="0.5"/>
|
||
<line x1="140" y1="80" x2="260" y2="160" stroke="#e74c3c" stroke-width="1.2" opacity="0.5"/>
|
||
<line x1="140" y1="80" x2="260" y2="200" stroke="#e74c3c" stroke-width="1.2" opacity="0.5"/>
|
||
|
||
<!-- Branches from S2 -->
|
||
<line x1="140" y1="125" x2="260" y2="80" stroke="#3498db" stroke-width="1.2" opacity="0.5"/>
|
||
<line x1="140" y1="125" x2="260" y2="120" stroke="#3498db" stroke-width="1.2" opacity="0.5"/>
|
||
<line x1="140" y1="125" x2="260" y2="160" stroke="#3498db" stroke-width="1.2" opacity="0.5"/>
|
||
<line x1="140" y1="125" x2="260" y2="200" stroke="#3498db" stroke-width="1.2" opacity="0.5"/>
|
||
|
||
<!-- Branches from S3 -->
|
||
<line x1="140" y1="170" x2="260" y2="80" stroke="#27ae60" stroke-width="1.2" opacity="0.5"/>
|
||
<line x1="140" y1="170" x2="260" y2="120" stroke="#27ae60" stroke-width="1.2" opacity="0.5"/>
|
||
<line x1="140" y1="170" x2="260" y2="160" stroke="#27ae60" stroke-width="1.2" opacity="0.5"/>
|
||
<line x1="140" y1="170" x2="260" y2="200" stroke="#27ae60" stroke-width="1.2" opacity="0.5"/>
|
||
|
||
<!-- Outcomes grid -->
|
||
<text x="530" y="55" fill="#666" font-size="12" text-anchor="middle">All 12 outcomes</text>
|
||
<text x="460" y="80" fill="#e74c3c" font-size="10">(S₁,P₁)</text>
|
||
<text x="530" y="80" fill="#e74c3c" font-size="10">(S₁,P₂)</text>
|
||
<text x="600" y="80" fill="#e74c3c" font-size="10">(S₁,P₃)</text>
|
||
<text x="460" y="100" fill="#e74c3c" font-size="10">(S₁,P₄)</text>
|
||
|
||
<text x="460" y="130" fill="#3498db" font-size="10">(S₂,P₁)</text>
|
||
<text x="530" y="130" fill="#3498db" font-size="10">(S₂,P₂)</text>
|
||
<text x="600" y="130" fill="#3498db" font-size="10">(S₂,P₃)</text>
|
||
<text x="460" y="150" fill="#3498db" font-size="10">(S₂,P₄)</text>
|
||
|
||
<text x="460" y="180" fill="#27ae60" font-size="10">(S₃,P₁)</text>
|
||
<text x="530" y="180" fill="#27ae60" font-size="10">(S₃,P₂)</text>
|
||
<text x="600" y="180" fill="#27ae60" font-size="10">(S₃,P₃)</text>
|
||
<text x="460" y="200" fill="#27ae60" font-size="10">(S₃,P₄)</text>
|
||
|
||
<!-- Arrow -->
|
||
<line x1="350" y1="140" x2="430" y2="140" stroke="#333" stroke-width="1.5" marker-end="url(#arrowhead)"/>
|
||
<defs>
|
||
<marker id="arrowhead" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
|
||
<polygon points="0 0, 8 3, 0 6" fill="#333"/>
|
||
</marker>
|
||
</defs>
|
||
|
||
<!-- Bottom note -->
|
||
<text x="350" y="260" fill="#333" font-size="12" text-anchor="middle">Each shirt pairs with every pant: 3 × 4 = 12 total combinations</text>
|
||
<text x="350" y="280" fill="#666" font-size="11" text-anchor="middle">This is the multiplication rule: if choice A has m options and choice B has n options,</text>
|
||
<text x="350" y="298" fill="#666" font-size="11" text-anchor="middle">the total number of combined outcomes is m × n.</text>
|
||
</svg> |