summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-14 20:41:19 +0000
committerKarl Berry <karl@freefriends.org>2023-02-14 20:41:19 +0000
commit1fd0caa8b0e74a823ff39f1cc0347cdd5f635885 (patch)
tree1cb95f8a070b813f2aff608af00aaf812d2aba83 /Master
parent9b2e8688cfc8d5d22c7cc2fe7c0b689bdc4f33df (diff)
lualinalg (14feb23)
git-svn-id: svn://tug.org/texlive/trunk@65834 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/lualatex/lualinalg/README.txt6
-rw-r--r--Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.pdfbin345750 -> 345503 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.tex28
-rw-r--r--Master/texmf-dist/tex/lualatex/lualinalg/lualinalg.sty4
-rw-r--r--Master/texmf-dist/tex/lualatex/lualinalg/lualinalg_complex.lua4
5 files changed, 21 insertions, 21 deletions
diff --git a/Master/texmf-dist/doc/lualatex/lualinalg/README.txt b/Master/texmf-dist/doc/lualatex/lualinalg/README.txt
index fc33bfedeca..6b347a94175 100644
--- a/Master/texmf-dist/doc/lualatex/lualinalg/README.txt
+++ b/Master/texmf-dist/doc/lualatex/lualinalg/README.txt
@@ -10,11 +10,11 @@ The vectors and matrices of reasonable size can be handled with ease.
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.
diff --git a/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.pdf b/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.pdf
index 39ee5f64cf5..8b277707bd3 100644
--- a/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.pdf
+++ b/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.tex b/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.tex
index fa7c9fa4ea7..99c01d06af6 100644
--- a/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.tex
+++ b/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.tex
@@ -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 @@ The \verb|lualinalg| package is developed to perform operations on vectors and m
\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,14 +65,14 @@ Table \ref{tbl:luavector} lists commands for operations on vectors.
\vectorGetCoordinate{vector}{i}
\end{lstlisting}
&
-Gives the \(i^{th}\) coordinate of vector. \\
+Gives the \(i\)th coordinate of vector. \\
\midrule
\begin{lstlisting}
\vectorSetCoordinate
{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 @@ Defines a new vector obtained by evaluating an expression. The expression suppor
\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 @@ Gives the number of columns in a matrix.\\
\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 @@ Defines a new matrix obtained by multiplying matrix m1 by matrix m2. The number
\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 @@ Defines a new matrix obtained by taking the transpose of matrix m1. \\
\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,34 +602,34 @@ Creates a new matrix m with random numbers. Here \(i,j\) denotes the number of r
\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
\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
diff --git a/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg.sty b/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg.sty
index 2f42e527133..5588fba0a0e 100644
--- a/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg.sty
+++ b/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg.sty
@@ -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}
diff --git a/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg_complex.lua b/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg_complex.lua
index 9f355e53b15..89f3fdf0721 100644
--- a/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg_complex.lua
+++ b/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg_complex.lua
@@ -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.