𝕀 生成单位矩阵Generate Identity Matrix
生成 n×n 单位矩阵(对角线为 1,其余为 0),可调分隔符。本地处理。可设置「阶数 n」、「分隔」。Generate an n×n identity matrix (1 on the diagonal, 0 elsewhere); choose the separator. Processed locally. Settings: Order n, Separator.
使用说明与常见问题How-to & FAQ
「生成单位矩阵」是什么?What is the Generate Identity Matrix tool?
生成 n×n 单位矩阵(对角线为 1,其余为 0),可调分隔符。本地处理。可设置「阶数 n」、「分隔」。Generate an n×n identity matrix (1 on the diagonal, 0 elsewhere); choose the separator. Processed locally. Settings: Order n, Separator.
如何使用「生成单位矩阵」?How do I use the Generate Identity Matrix tool?
在「生成单位矩阵」中,按需设置「阶数 n」、「分隔」,结果会实时显示在下方,点击「复制结果」即可复制。In the Generate Identity Matrix: Adjust "Order n", "Separator"; the result appears below instantly — click "Copy result" to copy it.
只有 0/1 吗?Only 0 and 1?
是。单位矩阵对角线上是 1,其余都是 0,每行一行文本,元素之间用所选的空格、逗号或制表符分隔(制表符适合直接粘贴进表格软件)。需要其他符号或方括号格式时请在结果上自行替换。Yes. An identity matrix has 1 on the diagonal and 0 everywhere else; each row is one line of text with entries separated by spaces, commas or tabs (tabs paste straight into a spreadsheet). Replace symbols or add brackets yourself if you need another format.
阶数最大是多少?What is the largest order?
1–100。超出范围、留空或填小数时会提示,不会悄悄改成别的值。1 to 100. Out-of-range, empty or decimal values give a message instead of being changed silently.
结果精确吗?Is the result exact?
精确。结果只是 0 和 1 组成的文本,不经过浮点计算。Yes. The result is just text made of 0s and 1s; no floating-point arithmetic is involved.
输入和输出是什么样的?What does the input and output look like?
例如在「生成单位矩阵」中把「阶数 n」设为 3,输出为:1 0 0 ⏎ 0 1 0 ⏎ 0 0 1(⏎ 表示换行)。For example, in the Generate Identity Matrix with "Order n" set to 3, the output is: 1 0 0 ⏎ 0 1 0 ⏎ 0 0 1 (⏎ marks a line break).
有哪些选项可以调整?What options can I adjust?
「生成单位矩阵」的设置:「阶数 n」默认 4;「分隔」可选 空格、逗号、制表符(默认 空格)。每次生成结果都按当前设置处理。Settings in the Generate Identity Matrix — "Order n" default 4; "Separator": Spaces, Commas, Tabs (default Spaces). The result always uses the current settings.
「生成单位矩阵」免费吗?需要注册吗?Is the Generate Identity Matrix free? Do I need an account?
「生成单位矩阵」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Generate Identity Matrix is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.