gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/help/matrix.lua
diff options
context:
space:
mode:
Diffstat (limited to 'help/matrix.lua')
-rw-r--r--help/matrix.lua 8
1 files changed, 4 insertions, 4 deletions
diff --git a/help/matrix.lua b/help/matrix.lua
index ca1361f2..168f7d16 100644
--- a/help/matrix.lua
+++ b/help/matrix.lua
@@ -60,16 +60,16 @@ matrix.hc(m)
]],
[matrix.diag] = [[
-matrix.diag(v)
+matrix.diag(t)
- Given a column vector "v" of length "n", returns a diagonal
- matrix whose diagonal elements are equal to the elements of "v".
+ Given a table "t" of length "n", returns a diagonal matrix whose
+ diagonal elements are equal to the elements of "t".
]],
[matrix.unit] = [[
matrix.unit(n)
- Return the unit matrix of dimension nxn.
+ Return the unit matrix of dimension n by n.
]],
[matrix.set] = [[
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月23日 07:12:20 +0000

AltStyle によって変換されたページ (->オリジナル) /