diff options
author | Norbert Preining <norbert@preining.info> | 2023-11-21 03:02:55 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-11-21 03:02:55 +0000 |
commit | ff01be90452ac7aec530af4623f334ca21869cc5 (patch) | |
tree | c6cce3ca77cbf7d86029297394b55c965199c062 /macros/luatex/latex/lualinalg/lualinalg.sty | |
parent | 682900f29e7ea9d31046e9541be14fd749b2eb17 (diff) |
CTAN sync 202311210302
Diffstat (limited to 'macros/luatex/latex/lualinalg/lualinalg.sty')
-rw-r--r-- | macros/luatex/latex/lualinalg/lualinalg.sty | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/macros/luatex/latex/lualinalg/lualinalg.sty b/macros/luatex/latex/lualinalg/lualinalg.sty index 55d0542b93..a68bcca580 100644 --- a/macros/luatex/latex/lualinalg/lualinalg.sty +++ b/macros/luatex/latex/lualinalg/lualinalg.sty @@ -1,9 +1,9 @@ -% The lualinalg package +% The lualinalg package. % Authors: Chetan Shirore and Ajit Kumar -% Version 1.8, Date=23-Aug-2023 +% Version 1.9. % Licensed under LaTeX Project Public License v1.3c or later. The complete license text is available at http://www.latex-project.org/lppl.txt. -\ProvidesPackage{lualinalg}[1.8] +\ProvidesPackage{lualinalg}[1.9] \RequirePackage{xkeyval} \RequirePackage{amsmath} \RequirePackage{luamaths} @@ -11,12 +11,12 @@ \begin{luacode*} -- matrices part -matrices = {} +matrices = {} -- global registry to store matrices. matrix = {} --module local matrix_meta = {} - +-- Adding functions to the matrix module. function matrix.new(matrix, rows, columns, str) if type(rows) == "table" then for i = 1, #rows do @@ -895,7 +895,7 @@ function matrix.chqeql(m1, m2) return true end - +-- Setting Meta-operations in the matrix module. matrix_meta.__tostring = function(...) return matrix.show(...) end @@ -948,12 +948,12 @@ end -- vector part -vectors = {} +vectors = {} -- global registry to store vectors. -vector = {} --module +vector = {} --module. local vector_meta = {} - +-- Adding functions to the vector module. function vector.new(vector, rows, columns, n) if columns ~= "e" and columns ~= "zero" then local tbl = {} @@ -1267,7 +1267,7 @@ function vector.chqeql(v1, v2) end return true end - +-- Setting Meta-operations in the vector module. vector_meta.__tostring = function(...) return vector.show(...) end |