texlive[65834] Master/texmf-dist: lualinalg (14feb23)

commits+karl at tug.org commits+karl at tug.org
Tue Feb 14 21:41:19 CET 2023


Revision: 65834
          http://tug.org/svn/texlive?view=revision&revision=65834
Author:   karl
Date:     2023-02-14 21:41:19 +0100 (Tue, 14 Feb 2023)
Log Message:
-----------
lualinalg (14feb23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/lualatex/lualinalg/README.txt
    trunk/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.pdf
    trunk/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.tex
    trunk/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg.sty
    trunk/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg_complex.lua

Modified: trunk/Master/texmf-dist/doc/lualatex/lualinalg/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/lualinalg/README.txt	2023-02-14 20:41:07 UTC (rev 65833)
+++ trunk/Master/texmf-dist/doc/lualatex/lualinalg/README.txt	2023-02-14 20:41:19 UTC (rev 65834)
@@ -10,11 +10,11 @@
 The package can be modified or extended by writing custom Lua programs.
 
 # License
-The \verb|lualinalg| package is released under the LaTeX Project Public License v1.3c or later.
-The complete license text is available at  \url{http://www.latex-project.org/lppl.txt}.
+The lualinalg package is released under the LaTeX Project Public License v1.3c or later.
+The complete license text is available at  http://www.latex-project.org/lppl.txt.
 It is developed in Lua. Lua is available as a certified open-source software.
 Its license is simple and liberal, which is compatible with GPL. 
-The package makes use of \verb|complex.lua| file which is available on \url{https://github.com/davidm/lua-matrix/blob/master/lua/matrix.lua}. 
+The package makes use of complex.lua file which is available on https://github.com/davidm/lua-matrix/blob/master/lua/complex.lua. 
 It  is available under the same licensing as that of Lua. 
 The package also loads the luamaths package, which is available under the LaTeX Project Public License v1.3c or later. 
 This package is loaded to use the standard mathematical functions and for computations on real numbers while performing operations on vectors and matrices.

Modified: trunk/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.tex	2023-02-14 20:41:07 UTC (rev 65833)
+++ trunk/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.tex	2023-02-14 20:41:19 UTC (rev 65834)
@@ -1,6 +1,6 @@
 \documentclass{article}
 \usepackage{listings,color,parskip,booktabs,longtable,array,
-hyperref,multirow,multicol,url,amsmath,amssymb,framed,graphicx}
+hyperref,multirow,multicol,url,amsmath,amssymb,framed,graphicx,mismath}
 \usepackage[top=1.1in, bottom=1.1in, left=1in, right=1in]{geometry}
 \hypersetup{colorlinks,urlcolor=blue}
 \lstset{frame=none,
@@ -30,7 +30,7 @@
 \section{Installation and License}
 The installation of the \verb|lualinalg| package is similar to the plain latex package, where the \verb|.sty| file is in the LaTeX directory of the texmf tree. The package can be included with \verb|\usepackage{lualinalg}| command in the preamble of the LaTeX document.
 
-The \verb|lualinalg| package is released under the LaTeX Project Public License v1.3c or later. The complete license text is available at  \url{http://www.latex-project.org/lppl.txt}. It is developed in Lua. Lua is available as a certified open-source software. Its license is simple and liberal, which is compatible with GPL. The package makes use of \verb|complex.lua| file which is available on \url{https://github.com/davidm/lua-matrix/blob/master/lua/matrix.lua}. It  is available under the same licensing as that of Lua. The package also loads the \href{https://ctan.org/pkg/luamaths}{luamaths} package, which is available under the LaTeX Project Public License v1.3c or later. This package is loaded to use the standard mathematical functions and for computations on real numbers while performing operations on vectors and matrices.
+The \verb|lualinalg| package is released under the LaTeX Project Public License v1.3c or later. The complete license text is available at  \url{http://www.latex-project.org/lppl.txt}. It is developed in Lua. Lua is available as a certified open-source software. Its license is simple and liberal, which is compatible with GPL. The package makes use of \verb|complex.lua| file which is available on \url{https://github.com/davidm/lua-matrix/blob/master/lua/complex.lua}. It  is available under the same licensing as that of Lua. The package also loads the \href{https://ctan.org/pkg/luamaths}{luamaths} package, which is available under the LaTeX Project Public License v1.3c or later. This package is loaded to use the standard mathematical functions and for computations on real numbers while performing operations on vectors and matrices.
 \section{Defining vectors and performing operations on vectors} 
 \subsection{Defining Vectors} Vectors are defined with the \verb|\vectornew| command.
 \begin{verbatim}
@@ -65,7 +65,7 @@
 \vectorGetCoordinate{vector}{i}
 \end{lstlisting}
 &
-Gives  the \(i^{th}\) coordinate of vector. \\
+Gives  the \(i\)th coordinate of vector. \\
 \midrule
  \begin{lstlisting}
 \vectorSetCoordinate
@@ -72,7 +72,7 @@
 {vector}{i}{val}
 \end{lstlisting}
 &
-Sets  the \(i^{th}\) coordinate of vector as \verb|val|. \\
+Sets  the \(i\)th coordinate of vector as \verb|val|. \\
 \midrule
 \begin{lstlisting}
 \vectorCopy{v}{w}
@@ -137,7 +137,7 @@
  \begin{lstlisting}
  \vectorGetAngle{v}{w}
 \end{lstlisting}&
-Gives the angle between two vectors \(v\) and \(w\) in radians. If  \(v\) and \(w \) are defined over the field of real numbers, then it is evaluated as \(\cos^{-1}\left(\frac{v \cdot w}{|v| |w|}\right)\).  If they are defined over the field of complex numbers, then it is evaluated as \(\cos^{-1}\left(\frac{Re (v \cdot w) }{|v| |w|}\right)\). Here \(v \cdot w\) denotes the dot product of vectors \(v\) and \(w\), \(Re (v \cdot w)\) denotes real part of the dot product \(v \cdot w\), and \(|v|\) and \(|w|\) denote Euclidean norms of vectors \(v\) and \(w\) respectively. \\
+Gives the angle between two vectors \(v\) and \(w\) in radians. If  \(v\) and \(w \) are defined over the field of real numbers, then it is evaluated as \(\cos^{-1}\left(\frac{v \cdot w}{|v| |w|}\right)\).  If they are defined over the field of complex numbers, then it is evaluated as \(\cos^{-1}\left(\frac{\Re (v \cdot w) }{|v| |w|}\right)\). Here \(v \cdot w\) denotes the dot product of vectors \(v\) and \(w\), \(\Re (v \cdot w)\) denotes real part of the dot product \(v \cdot w\), and \(|v|\) and \(|w|\) denote Euclidean norms of vectors \(v\) and \(w\) respectively. \\
 \midrule
  \begin{lstlisting}
 \vectorParse{vector}
@@ -471,7 +471,7 @@
 \matrixGetElement{matrix}{i}{j}
 \end{lstlisting}
 &
-Gives an entry of matrix in the \(i^{th} \) row and the \(j^{th} \) column. \\
+Gives an entry of matrix in the \(i\)th row and the \(j\)th column. \\
 \midrule
 \multicolumn{2}{c}{Algebraic operations on matrices} \\
 \midrule
@@ -498,7 +498,7 @@
  \begin{lstlisting}
 \matrixPow{matrix}{m1}{power}
 \end{lstlisting}&
-Defines a new matrix obtained by taking the \(i^{th}\) power of matrix m11 (multiplying matrix1 \(i\) times with itself). \\
+Defines a new matrix obtained by taking the \(i\)th power of matrix m1 (multiplying matrix m1 \(i\) times with itself). \\
 \midrule
  \begin{lstlisting}
 \matrixInvert{matrix}{matrix1}
@@ -564,7 +564,7 @@
 \matrixSetElement{matrix}{i}{j}{val}
 \end{lstlisting}
 &
-Set entry of a matrix in the \(i^{th} \) row and \(j^{th} \) column as \verb|val|. \\
+Set entry of a matrix in the \(i\)th  row and \(j\)th column as \verb|val|. \\
 \midrule
  \begin{lstlisting}
 \matrixSubmatrix{sm}{m}{i}{j}{k}{l}
@@ -602,17 +602,17 @@
  \begin{lstlisting}
 \matrixSwapRows{mtx}{m1}{i}{j}
 \end{lstlisting}&
-Defines a new matrix mtx obtained by swapping the \(i^{th}\) and  \(j^{th}\) rows of matrix m1. \\
+Defines a new matrix mtx obtained by swapping the \(i\)th and  \(j\)th rows of matrix m1. \\
 \midrule
  \begin{lstlisting}
 \matrixMulRow{matrix}{m}{i}{no}
 \end{lstlisting}&
-Defines a new matrix obtained by multiplying the \(i^{th}\) row of matrix1 by a real or complex number. \\
+Defines a new matrix obtained by multiplying the \(i\)th row of matrix1 by a real or complex number. \\
 \midrule
 \begin{lstlisting}
 \matrixMulAddRow{mtx}{m}{i}{no}{j}
 \end{lstlisting}&
-Defines a new matrix mtx obtained by multiplying the \(i^{th}\) row of matrix1 by a real or complex number and adding it to the \(j^{th}\) row.  \\
+Defines a new matrix mtx obtained by multiplying the \(i\)th row of matrix1 by a real or complex number and adding it to the \(j\)th row.  \\
 \midrule
 \multicolumn{2}{c}{Elementary column operations on matrices} \\
 \midrule
@@ -619,17 +619,17 @@
 \begin{lstlisting}
 \matrixSwapCols{mtx}{m}{i}{j}
 \end{lstlisting}&
-Defines a new matrix mtx obtained by swapping the \(i^{th}\) and  \(j^{th}\) columns of matrix m. \\
+Defines a new matrix mtx obtained by swapping the \(i\)th and  \(j\)th columns of matrix m. \\
 \midrule
 \begin{lstlisting}
 \matrixMulCol{matrix}{m}{i}{no}
 \end{lstlisting}&
-Defines a new matrix obtained by multiplying the \(i^{th}\) column of matrix1 by a real or complex number. \\
+Defines a new matrix obtained by multiplying the \(i\)th column of matrix1 by a real or complex number. \\
 \midrule
  \begin{lstlisting}
 \matrixMulAddCol{mtx}{m}{i}{no}{j}
 \end{lstlisting}&
-Defines a new matrix mtx obtained by multiplying the \(i^{th}\) column of matrix1 by a real or complex number and adding it to the \(j^{th}\) column.  \\
+Defines a new matrix mtx obtained by multiplying the \(i\)th column of matrix1 by a real or complex number and adding it to the \(j\)th column.  \\
 \midrule
 \multicolumn{2}{c}{Reduced row echelon form of matrix} \\
 \midrule

Modified: trunk/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg.sty	2023-02-14 20:41:07 UTC (rev 65833)
+++ trunk/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg.sty	2023-02-14 20:41:19 UTC (rev 65834)
@@ -1,11 +1,11 @@
 
 % The lualinalg package
 % Authors: Chetan Shirore and Ajit Kumar
-% version 1.1, Date=11-Feb-2023
+% version 1.2, Date=14-Feb-2023
 % 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.1]
+\ProvidesPackage{lualinalg}[1.2]
 \RequirePackage{xkeyval}
 \RequirePackage{amsmath}
 \RequirePackage{luamaths}

Modified: trunk/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg_complex.lua
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg_complex.lua	2023-02-14 20:41:07 UTC (rev 65833)
+++ trunk/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg_complex.lua	2023-02-14 20:41:19 UTC (rev 65834)
@@ -1,8 +1,8 @@
 
---Version=1.1, Date=10-Feb-2023
+--Version=1.2, Date=14-Feb-2023
 -- provides module for complex numbers
 
---Contains a modified version of the file complex.lua. It is availalbe on the link https://github.com/davidm/lua-matrix/blob/master/lua/matrix.lua.  This is licensed under the same terms as Lua itself. This license allows to freely copy, modify and distribute the file for any purpose and without any restrictions. 
+--Contains a modified version of the file complex.lua. It is availalbe on the link https://github.com/davidm/lua-matrix/blob/master/lua/complex.lua.  This is licensed under the same terms as Lua itself. This license allows to freely copy, modify and distribute the file for any purpose and without any restrictions. 
 
 --Licensed under the same terms as Lua itself. This license allows to freely copy, modify and distribute the file for any purpose and without any restrictions. 
 



More information about the tex-live-commits mailing list.