资源 · 指南或文章
Matrices
快速复习矩阵记法和基本运算,适合在网格、图像或线性代数类编程题之前阅读。
审核日期
打开原站: Matrices (在新标签页中打开原网站)添加到路线图
把这个资源放进你正在跟进的路线图。它会作为你自己的补充资源显示;路线图的步骤不会改变,也不计入你已记录的步骤。
来源内容语言:英语
In mathematics, a matrix (plural matrices) is a rectangular array or table of numbers, symbols, or expressions, arranged in rows and columns. For example, the dimension of the matrix below is 2 × 3 (read "two by three"), because there are two rows and three columns: An m × n matrix: the m rows are horizontal, and the n columns are vertical. Each element of a matrix is often denoted by a variable with two subscripts. For example, a 2,1 represents the element at the second row and first column of the matrix To add two matrices: add the numbers in the matching positions:
PrepKit 概览
本概览由 PrepKit 编辑根据源代码仓库撰写并审核,并非资源本身的文字。
- 适合人群
- 来源未说明适用级别
- 形式
- 参考资料
涵盖内容
- 维度和下标,以一个 2 x 3 矩阵为例,并说明先行后列的下标约定。
- 逐元素加减法,以及与常数相乘。
- 通过行与列的点积做矩阵乘法,以及转置。
使用建议
这是 PrepKit 的学习建议,并非来源的说法。
手动计算一个 2 x 3 矩阵乘以一个 3 x 2 矩阵,然后用嵌套循环编写代码,并检查结果的形状。
范围与局限
内容简短,演算示例是托管在 MathIsFun 上的图片。没有涉及复杂度、行列式或练习题。
获取方式与形式
GitHub 上的免费英文 README(trekhleb/javascript-algorithms,MIT 许可)。
PrepKit 于 2026年10月2日 审核。 资源来源提交: 85293e3e2b88
本概览的依据
- src/algorithms/math/matrix/README.md
收录此条目的页面
订阅 PrepKit 通讯
可选。使用 PrepKit 并不需要订阅。