diff options
author | cathook <b01902109@csie.ntu.edu.tw> | 2014-09-08 21:25:12 +0800 |
---|---|---|
committer | cathook <b01902109@csie.ntu.edu.tw> | 2014-09-08 21:25:41 +0800 |
commit | 1aa1011cd09e4f2c3d697b7ae89edae57b1dc884 (patch) | |
tree | 0a29a3ed9a23572e3e3b9085602e712f3fb7fed8 /doc/latex/classmeow_1_1Matrix.tex | |
parent | 40acf9ddc8f700b45d05bb2098be23a93c3bfa6a (diff) | |
download | meow-1aa1011cd09e4f2c3d697b7ae89edae57b1dc884.tar meow-1aa1011cd09e4f2c3d697b7ae89edae57b1dc884.tar.gz meow-1aa1011cd09e4f2c3d697b7ae89edae57b1dc884.tar.bz2 meow-1aa1011cd09e4f2c3d697b7ae89edae57b1dc884.tar.lz meow-1aa1011cd09e4f2c3d697b7ae89edae57b1dc884.tar.xz meow-1aa1011cd09e4f2c3d697b7ae89edae57b1dc884.tar.zst meow-1aa1011cd09e4f2c3d697b7ae89edae57b1dc884.zip |
tmp
Diffstat (limited to 'doc/latex/classmeow_1_1Matrix.tex')
-rw-r--r-- | doc/latex/classmeow_1_1Matrix.tex | 1012 |
1 files changed, 0 insertions, 1012 deletions
diff --git a/doc/latex/classmeow_1_1Matrix.tex b/doc/latex/classmeow_1_1Matrix.tex deleted file mode 100644 index 76385ae..0000000 --- a/doc/latex/classmeow_1_1Matrix.tex +++ /dev/null @@ -1,1012 +0,0 @@ -\hypertarget{classmeow_1_1Matrix}{\section{meow\-:\-:Matrix$<$ Entry $>$ Class Template Reference} -\label{classmeow_1_1Matrix}\index{meow\-::\-Matrix$<$ Entry $>$@{meow\-::\-Matrix$<$ Entry $>$}} -} - - -{\bfseries matrix} - - - - -{\ttfamily \#include \char`\"{}Matrix.\-h\char`\"{}} - -\subsection*{Public Types} -\begin{DoxyCompactItemize} -\item -typedef std\-::vector$<$ Entry $>$\\* -\-::reference \hyperlink{classmeow_1_1Matrix_ab05bcd1bd8b1f8d4f250d6b3b87e023e}{Entry\-Ref} -\item -typedef std\-::vector$<$ Entry $>$\\* -\-::const\-\_\-reference \hyperlink{classmeow_1_1Matrix_a1ac7c3d6ad50154043969005fa292981}{Entry\-Ref\-K} -\end{DoxyCompactItemize} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{classmeow_1_1Matrix_a2dc9f17e38ba52376822744d2fc48f29}{Matrix} () -\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix_a5728557810b6c5444332557ac53597d5}{Matrix} (\hyperlink{classmeow_1_1Matrix}{Matrix} const \&m) -\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix_af0b4507ec5ea08e8f33aeb99f11e5f74}{Matrix} (size\-\_\-t r, size\-\_\-t c, Entry const \&e) -\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix_ae66fe3b4deb85b9b4c047f405a60f10e}{$\sim$\-Matrix} () -\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \& \hyperlink{classmeow_1_1Matrix_afb81446984f7c27458ccef86be2de413}{copy\-From} (\hyperlink{classmeow_1_1Matrix}{Matrix} const \&m) -\begin{DoxyCompactList}\small\item\em copy \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \& \hyperlink{classmeow_1_1Matrix_a1dbef5b1a46df480f7fa3e118fd12bec}{reference\-From} (\hyperlink{classmeow_1_1Matrix}{Matrix} const \&m) -\begin{DoxyCompactList}\small\item\em reference \end{DoxyCompactList}\item -void \hyperlink{classmeow_1_1Matrix_ac17251cb984beb1f74558724a22a0120}{reset} (size\-\_\-t r, size\-\_\-t c, Entry const \&e) -\begin{DoxyCompactList}\small\item\em reset the size of the matrix to {\itshape r} x {\itshape c} with entry all be {\itshape e} \end{DoxyCompactList}\item -bool \hyperlink{classmeow_1_1Matrix_a030758e4938c4d56a0b665e6a51d1405}{valid} () const -\begin{DoxyCompactList}\small\item\em Return whether it is a {\bfseries valid} matrix. \end{DoxyCompactList}\item -size\-\_\-t \hyperlink{classmeow_1_1Matrix_a560adbe0b39f52bfb016edddc2955178}{rows} () const -\begin{DoxyCompactList}\small\item\em Return number of rows. \end{DoxyCompactList}\item -size\-\_\-t \hyperlink{classmeow_1_1Matrix_a4db3bb07e2557cbc668bdaa1beb241df}{cols} () const -\begin{DoxyCompactList}\small\item\em Return number of cols. \end{DoxyCompactList}\item -size\-\_\-t \hyperlink{classmeow_1_1Matrix_a8e35443c856f669d02b352f091c0404c}{size} () const -\begin{DoxyCompactList}\small\item\em Return number of rows times number of cols. \end{DoxyCompactList}\item -size\-\_\-t \hyperlink{classmeow_1_1Matrix_add7842aea9c5b0372f56656af0d43325}{rows} (size\-\_\-t r, Entry const \&e) -\begin{DoxyCompactList}\small\item\em resize the matrix such that number of rows become {\itshape r}. \end{DoxyCompactList}\item -size\-\_\-t \hyperlink{classmeow_1_1Matrix_a30d16679bb6843c5e35aae81738f3306}{cols} (size\-\_\-t c, Entry const \&e) -\begin{DoxyCompactList}\small\item\em resize the matrix such that number of cols become {\itshape c} \end{DoxyCompactList}\item -size\-\_\-t \hyperlink{classmeow_1_1Matrix_ac492cefa5df3a4ac6c9799931fb93605}{size} (size\-\_\-t r, size\-\_\-t c, Entry const \&e) -\begin{DoxyCompactList}\small\item\em resize \end{DoxyCompactList}\item -Entry \hyperlink{classmeow_1_1Matrix_a46a12f45237e654e0140387d7290eb8b}{entry} (size\-\_\-t r, size\-\_\-t c) const -\begin{DoxyCompactList}\small\item\em Access the entry at {\itshape r} x {\itshape c}. \end{DoxyCompactList}\item -Entry \hyperlink{classmeow_1_1Matrix_aaba0981e54a17f0df8af9dabe9cad06f}{entry} (size\-\_\-t r, size\-\_\-t c, Entry const \&e) -\begin{DoxyCompactList}\small\item\em Change the entry at {\itshape r} x {\itshape c}. \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix_ab05bcd1bd8b1f8d4f250d6b3b87e023e}{Entry\-Ref} \hyperlink{classmeow_1_1Matrix_ab49fa7564c37c6bc164dc368a94fed6b}{entry\-Get} (size\-\_\-t r, size\-\_\-t c) -\begin{DoxyCompactList}\small\item\em Get the entry at {\itshape r} x {\itshape c}. \end{DoxyCompactList}\item -void \hyperlink{classmeow_1_1Matrix_a13384643dc412817fdcd8f1834a02d12}{entries} (ssize\-\_\-t r\-First, ssize\-\_\-t r\-Last, ssize\-\_\-t c\-First, ssize\-\_\-t c\-Last, Entry const \&e) -\begin{DoxyCompactList}\small\item\em Change the entries from {\itshape r\-First} x {\itshape c\-First} to {\itshape r\-Last} x {\itshape c\-Last}. \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a93ff4579b7cb950868cad7a62bcf9fe8}{sub\-Matrix} (size\-\_\-t r\-First, size\-\_\-t r\-Last, size\-\_\-t c\-First, size\-\_\-t c\-Last) const -\begin{DoxyCompactList}\small\item\em Return a {\itshape r\-Last-\/r\-First+1} x {\itshape c\-Last-\/c\-First+1} matrix. \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_ae623c8168ebf26473550d831f0254c4c}{row} (size\-\_\-t r) const -\begin{DoxyCompactList}\small\item\em Return the {\itshape r} -\/th row. \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a9dfef448574df55fc34528665183c6c2}{col} (size\-\_\-t c) const -\begin{DoxyCompactList}\small\item\em Return the {\itshape c} -\/th column. \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_aa43f03179e3218c9af28f7374757a2cc}{positive} () const -\begin{DoxyCompactList}\small\item\em return +{\itshape }($\ast$this) \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a581dbd8ba10d054596a3d11eaf47f274}{negative} () const -\begin{DoxyCompactList}\small\item\em return -\/{\itshape }($\ast$this) \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_ac1030360f1f48119128d99428930cce6}{add} (\hyperlink{classmeow_1_1Matrix}{Matrix} const \&m) const -\begin{DoxyCompactList}\small\item\em return {\itshape }($\ast$this) + {\itshape m}. \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_ae89a9a7646f7b7c0f23756809c65dc8c}{sub} (\hyperlink{classmeow_1_1Matrix}{Matrix} const \&m) const -\begin{DoxyCompactList}\small\item\em return {\itshape }($\ast$this) -\/ {\itshape m}. \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a30fdb794e5966585e93cf715646210dd}{mul} (\hyperlink{classmeow_1_1Matrix}{Matrix} const \&m) const -\begin{DoxyCompactList}\small\item\em return {\itshape }($\ast$this) times {\itshape m}. \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a06ac197ecfa9bc8bd5e9d9094f2d01ab}{mul} (Entry const \&s) const -\begin{DoxyCompactList}\small\item\em return {\itshape }($\ast$this) times {\itshape s}. {\itshape s} is a scalar \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_aed17cc829d1e766d2c905d65cbae48ce}{div} (Entry const \&s) const -\begin{DoxyCompactList}\small\item\em return {\itshape }($\ast$this) / {\itshape s}. {\itshape s} is a scalar \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a9987d4535f1de58b822325914e3a916f}{identity} () const -\begin{DoxyCompactList}\small\item\em Return a identity matrix with size equal to itself. \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \& \hyperlink{classmeow_1_1Matrix_abc6f5c824ee47cb15094729ca91f2e7c}{identitied} () -\begin{DoxyCompactList}\small\item\em Let itself be an identity matrix. \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \& \hyperlink{classmeow_1_1Matrix_a68e0d874153a42eaa95a7cb63518d6a6}{diagonaled} () -\begin{DoxyCompactList}\small\item\em Let itself be an diagonal form of original itself. \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a4cf31aad4504250656a4a0a1d88ffedb}{diagonal} () const -\begin{DoxyCompactList}\small\item\em Return a matrix which is a diangonal form of me. \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_af6c3ae812c4290d29fb0932b655887dd}{inverse} () const -\begin{DoxyCompactList}\small\item\em Return a matrix which is an inverse matrix of {\itshape }($\ast$this) \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \& \hyperlink{classmeow_1_1Matrix_ab7b158abdfe8ad1966cc3f0490743170}{inversed} () -\begin{DoxyCompactList}\small\item\em let itself become itself's inverse matrix \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a869be60b593d7ce7101ee7ac788b0dd0}{transpose} () const -\begin{DoxyCompactList}\small\item\em return itself's transpose matrix \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \& \hyperlink{classmeow_1_1Matrix_a752bbc50fc06c7a6bfad8b4d09e19304}{transposed} () -\begin{DoxyCompactList}\small\item\em Let itself become itself's transpose matrix. \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a138c71b681404e054fa27cac5bb80d56}{triangular} () const -\begin{DoxyCompactList}\small\item\em return a matrix which is the triangular form of {\itshape }($\ast$this) \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \& \hyperlink{classmeow_1_1Matrix_acf27e5ea48f42ceec61e933dfe269016}{triangulared} () -\begin{DoxyCompactList}\small\item\em triangluar itself \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \& \hyperlink{classmeow_1_1Matrix_a50bf284fe7beae52bb1bd0868486a602}{operator=} (\hyperlink{classmeow_1_1Matrix}{Matrix} const \&m) -\begin{DoxyCompactList}\small\item\em same as {\itshape copy\-From} \end{DoxyCompactList}\item -Entry \hyperlink{classmeow_1_1Matrix_a78b4b8b4ee30d02cb726bf7b8ac13147}{operator()} (size\-\_\-t r, size\-\_\-t c) const -\begin{DoxyCompactList}\small\item\em same as {\itshape entry(r,c)} \end{DoxyCompactList}\item -Entry \hyperlink{classmeow_1_1Matrix_a1dc03cd2475a4c5f34afbe0cb498e472}{operator()} (size\-\_\-t r, size\-\_\-t c, Entry const \&e) -\begin{DoxyCompactList}\small\item\em same as {\itshape entry(r,c,e)} \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_ade31d2339af552ba1df230c8383e2f84}{operator+} () const -\begin{DoxyCompactList}\small\item\em same as {\itshape \hyperlink{classmeow_1_1Matrix_aa43f03179e3218c9af28f7374757a2cc}{positive()}} \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a5d35d285b8cd59475e98f97966be68c1}{operator-\/} () const -\begin{DoxyCompactList}\small\item\em same as {\itshape \hyperlink{classmeow_1_1Matrix_a581dbd8ba10d054596a3d11eaf47f274}{negative()}} \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a8917cdb62ab6d8ed9572ac3303dbaab5}{operator+} (\hyperlink{classmeow_1_1Matrix}{Matrix} const \&m) const -\begin{DoxyCompactList}\small\item\em same as {\itshape add(m)} \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a955d9ddcb5b3467f8377ccae281ff4f5}{operator-\/} (\hyperlink{classmeow_1_1Matrix}{Matrix} const \&m) const -\begin{DoxyCompactList}\small\item\em same as {\itshape sub(m)} \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a913ed9a5df441a33fcf0dab1f35814c2}{operator$\ast$} (\hyperlink{classmeow_1_1Matrix}{Matrix} const \&m) const -\begin{DoxyCompactList}\small\item\em same as {\itshape mul(m)} \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a15d360e71c0880fed3c9873affb04341}{operator$\ast$} (Entry const \&s) const -\begin{DoxyCompactList}\small\item\em same as {\itshape mul(m)} \end{DoxyCompactList}\item -\hyperlink{classmeow_1_1Matrix}{Matrix} \hyperlink{classmeow_1_1Matrix_a807c2a35579a429a2278956fc070f31a}{operator/} (Entry const \&s) const -\begin{DoxyCompactList}\small\item\em same as {\itshape div(s)} \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class Entry$>$class meow\-::\-Matrix$<$ Entry $>$} - -{\bfseries matrix} - -\begin{DoxyAuthor}{Author} -cat\-\_\-leopard -\end{DoxyAuthor} - - -Definition at line 18 of file Matrix.\-h. - - - -\subsection{Member Typedef Documentation} -\hypertarget{classmeow_1_1Matrix_ab05bcd1bd8b1f8d4f250d6b3b87e023e}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!Entry\-Ref@{Entry\-Ref}} -\index{Entry\-Ref@{Entry\-Ref}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{Entry\-Ref}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ typedef std\-::vector$<$Entry$>$\-::reference {\bf meow\-::\-Matrix}$<$ Entry $>$\-::{\bf Entry\-Ref}}}\label{classmeow_1_1Matrix_ab05bcd1bd8b1f8d4f250d6b3b87e023e} - - -Definition at line 20 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a1ac7c3d6ad50154043969005fa292981}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!Entry\-Ref\-K@{Entry\-Ref\-K}} -\index{Entry\-Ref\-K@{Entry\-Ref\-K}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{Entry\-Ref\-K}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ typedef std\-::vector$<$Entry$>$\-::const\-\_\-reference {\bf meow\-::\-Matrix}$<$ Entry $>$\-::{\bf Entry\-Ref\-K}}}\label{classmeow_1_1Matrix_a1ac7c3d6ad50154043969005fa292981} - - -Definition at line 21 of file Matrix.\-h. - - - -\subsection{Constructor \& Destructor Documentation} -\hypertarget{classmeow_1_1Matrix_a2dc9f17e38ba52376822744d2fc48f29}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!Matrix@{Matrix}} -\index{Matrix@{Matrix}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{Matrix}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf meow\-::\-Matrix}$<$ Entry $>$\-::{\bf Matrix} ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a2dc9f17e38ba52376822744d2fc48f29} - - -constructor - -Create an empty matrix with size {\bfseries 0x0}. In other world, create an {\bfseries invalid} matrix - -Definition at line 56 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a5728557810b6c5444332557ac53597d5}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!Matrix@{Matrix}} -\index{Matrix@{Matrix}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{Matrix}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf meow\-::\-Matrix}$<$ Entry $>$\-::{\bf Matrix} ( -\begin{DoxyParamCaption} -\item[{{\bf Matrix}$<$ Entry $>$ const \&}]{m} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a5728557810b6c5444332557ac53597d5} - - -constructor - -Copy data from another one - - -\begin{DoxyParams}[1]{Parameters} -\mbox{\tt in} & {\em m} & another matrix \\ -\hline -\end{DoxyParams} - - -Definition at line 65 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_af0b4507ec5ea08e8f33aeb99f11e5f74}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!Matrix@{Matrix}} -\index{Matrix@{Matrix}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{Matrix}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf meow\-::\-Matrix}$<$ Entry $>$\-::{\bf Matrix} ( -\begin{DoxyParamCaption} -\item[{size\-\_\-t}]{r, } -\item[{size\-\_\-t}]{c, } -\item[{Entry const \&}]{e} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_af0b4507ec5ea08e8f33aeb99f11e5f74} - - -constructor - -Create an {\itshape r} x {\itshape c} matrix with all entry be {\itshape e} - - -\begin{DoxyParams}[1]{Parameters} -\mbox{\tt in} & {\em r} & number of rows \\ -\hline -\mbox{\tt in} & {\em c} & number of columns \\ -\hline -\mbox{\tt in} & {\em e} & inital entry \\ -\hline -\end{DoxyParams} - - -Definition at line 77 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_ae66fe3b4deb85b9b4c047f405a60f10e}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!$\sim$\-Matrix@{$\sim$\-Matrix}} -\index{$\sim$\-Matrix@{$\sim$\-Matrix}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{$\sim$\-Matrix}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf meow\-::\-Matrix}$<$ Entry $>$\-::$\sim${\bf Matrix} ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_ae66fe3b4deb85b9b4c047f405a60f10e} - - -destructor - - - -Definition at line 81 of file Matrix.\-h. - - - -\subsection{Member Function Documentation} -\hypertarget{classmeow_1_1Matrix_ac1030360f1f48119128d99428930cce6}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!add@{add}} -\index{add@{add}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{add}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::add ( -\begin{DoxyParamCaption} -\item[{{\bf Matrix}$<$ Entry $>$ const \&}]{m} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_ac1030360f1f48119128d99428930cce6} - - -return {\itshape }($\ast$this) + {\itshape m}. - -If the size not match, it will return an invalid matrix - -Definition at line 285 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a9dfef448574df55fc34528665183c6c2}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!col@{col}} -\index{col@{col}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{col}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::col ( -\begin{DoxyParamCaption} -\item[{size\-\_\-t}]{c} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a9dfef448574df55fc34528665183c6c2} - - -Return the {\itshape c} -\/th column. - - - -Definition at line 263 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a4db3bb07e2557cbc668bdaa1beb241df}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!cols@{cols}} -\index{cols@{cols}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{cols}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ size\-\_\-t {\bf meow\-::\-Matrix}$<$ Entry $>$\-::cols ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a4db3bb07e2557cbc668bdaa1beb241df} - - -Return number of cols. - - - -Definition at line 128 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a30d16679bb6843c5e35aae81738f3306}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!cols@{cols}} -\index{cols@{cols}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{cols}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ size\-\_\-t {\bf meow\-::\-Matrix}$<$ Entry $>$\-::cols ( -\begin{DoxyParamCaption} -\item[{size\-\_\-t}]{c, } -\item[{Entry const \&}]{e} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a30d16679bb6843c5e35aae81738f3306} - - -resize the matrix such that number of cols become {\itshape c} - -New created entry will be {\itshape e} - - -\begin{DoxyParams}[1]{Parameters} -\mbox{\tt in} & {\em c} & new number of columns \\ -\hline -\mbox{\tt in} & {\em e} & inital entry \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -new number of columns -\end{DoxyReturn} - - -Definition at line 163 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_afb81446984f7c27458ccef86be2de413}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!copy\-From@{copy\-From}} -\index{copy\-From@{copy\-From}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{copy\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix}\& {\bf meow\-::\-Matrix}$<$ Entry $>$\-::copy\-From ( -\begin{DoxyParamCaption} -\item[{{\bf Matrix}$<$ Entry $>$ const \&}]{m} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_afb81446984f7c27458ccef86be2de413} - - -copy - -Copy data from another matrix - - -\begin{DoxyParams}[1]{Parameters} -\mbox{\tt in} & {\em m} & matrix \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -$\ast$this -\end{DoxyReturn} - - -Definition at line 91 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a4cf31aad4504250656a4a0a1d88ffedb}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!diagonal@{diagonal}} -\index{diagonal@{diagonal}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{diagonal}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::diagonal ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a4cf31aad4504250656a4a0a1d88ffedb} - - -Return a matrix which is a diangonal form of me. - - - -Definition at line 374 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a68e0d874153a42eaa95a7cb63518d6a6}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!diagonaled@{diagonaled}} -\index{diagonaled@{diagonaled}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{diagonaled}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix}\& {\bf meow\-::\-Matrix}$<$ Entry $>$\-::diagonaled ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a68e0d874153a42eaa95a7cb63518d6a6} - - -Let itself be an diagonal form of original itself. - - - -Definition at line 361 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_aed17cc829d1e766d2c905d65cbae48ce}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!div@{div}} -\index{div@{div}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{div}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::div ( -\begin{DoxyParamCaption} -\item[{Entry const \&}]{s} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_aed17cc829d1e766d2c905d65cbae48ce} - - -return {\itshape }($\ast$this) / {\itshape s}. {\itshape s} is a scalar - - - -Definition at line 331 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a13384643dc412817fdcd8f1834a02d12}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!entries@{entries}} -\index{entries@{entries}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{entries}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ void {\bf meow\-::\-Matrix}$<$ Entry $>$\-::entries ( -\begin{DoxyParamCaption} -\item[{ssize\-\_\-t}]{r\-First, } -\item[{ssize\-\_\-t}]{r\-Last, } -\item[{ssize\-\_\-t}]{c\-First, } -\item[{ssize\-\_\-t}]{c\-Last, } -\item[{Entry const \&}]{e} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a13384643dc412817fdcd8f1834a02d12} - - -Change the entries from {\itshape r\-First} x {\itshape c\-First} to {\itshape r\-Last} x {\itshape c\-Last}. - - -\begin{DoxyParams}[1]{Parameters} -\mbox{\tt in} & {\em r\-First} & \\ -\hline -\mbox{\tt in} & {\em r\-Last} & \\ -\hline -\mbox{\tt in} & {\em c\-First} & \\ -\hline -\mbox{\tt in} & {\em c\-Last} & \\ -\hline -\mbox{\tt in} & {\em e} & value \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -void -\end{DoxyReturn} - - -Definition at line 221 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a46a12f45237e654e0140387d7290eb8b}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!entry@{entry}} -\index{entry@{entry}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{entry}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ Entry {\bf meow\-::\-Matrix}$<$ Entry $>$\-::entry ( -\begin{DoxyParamCaption} -\item[{size\-\_\-t}]{r, } -\item[{size\-\_\-t}]{c} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a46a12f45237e654e0140387d7290eb8b} - - -Access the entry at {\itshape r} x {\itshape c}. - - - -Definition at line 196 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_aaba0981e54a17f0df8af9dabe9cad06f}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!entry@{entry}} -\index{entry@{entry}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{entry}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ Entry {\bf meow\-::\-Matrix}$<$ Entry $>$\-::entry ( -\begin{DoxyParamCaption} -\item[{size\-\_\-t}]{r, } -\item[{size\-\_\-t}]{c, } -\item[{Entry const \&}]{e} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_aaba0981e54a17f0df8af9dabe9cad06f} - - -Change the entry at {\itshape r} x {\itshape c}. - - - -Definition at line 201 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_ab49fa7564c37c6bc164dc368a94fed6b}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!entry\-Get@{entry\-Get}} -\index{entry\-Get@{entry\-Get}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{entry\-Get}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Entry\-Ref} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::entry\-Get ( -\begin{DoxyParamCaption} -\item[{size\-\_\-t}]{r, } -\item[{size\-\_\-t}]{c} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_ab49fa7564c37c6bc164dc368a94fed6b} - - -Get the entry at {\itshape r} x {\itshape c}. - - - -Definition at line 207 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_abc6f5c824ee47cb15094729ca91f2e7c}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!identitied@{identitied}} -\index{identitied@{identitied}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{identitied}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix}\& {\bf meow\-::\-Matrix}$<$ Entry $>$\-::identitied ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_abc6f5c824ee47cb15094729ca91f2e7c} - - -Let itself be an identity matrix. - -Our definition of Identity matrix is 1 for entry(i, i) and 0 otherwise. - -Definition at line 351 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a9987d4535f1de58b822325914e3a916f}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!identity@{identity}} -\index{identity@{identity}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{identity}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::identity ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a9987d4535f1de58b822325914e3a916f} - - -Return a identity matrix with size equal to itself. - - - -Definition at line 340 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_af6c3ae812c4290d29fb0932b655887dd}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!inverse@{inverse}} -\index{inverse@{inverse}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{inverse}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::inverse ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_af6c3ae812c4290d29fb0932b655887dd} - - -Return a matrix which is an inverse matrix of {\itshape }($\ast$this) - -If inverse matrix doesn't exist, it will return a invalid matrix - -Definition at line 385 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_ab7b158abdfe8ad1966cc3f0490743170}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!inversed@{inversed}} -\index{inversed@{inversed}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{inversed}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix}\& {\bf meow\-::\-Matrix}$<$ Entry $>$\-::inversed ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_ab7b158abdfe8ad1966cc3f0490743170} - - -let itself become itself's inverse matrix - - - -Definition at line 413 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a30fdb794e5966585e93cf715646210dd}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!mul@{mul}} -\index{mul@{mul}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{mul}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::mul ( -\begin{DoxyParamCaption} -\item[{{\bf Matrix}$<$ Entry $>$ const \&}]{m} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a30fdb794e5966585e93cf715646210dd} - - -return {\itshape }($\ast$this) times {\itshape m}. - -If the size not match, it will return an invalid matrix - -Definition at line 311 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a06ac197ecfa9bc8bd5e9d9094f2d01ab}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!mul@{mul}} -\index{mul@{mul}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{mul}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::mul ( -\begin{DoxyParamCaption} -\item[{Entry const \&}]{s} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a06ac197ecfa9bc8bd5e9d9094f2d01ab} - - -return {\itshape }($\ast$this) times {\itshape s}. {\itshape s} is a scalar - - - -Definition at line 322 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a581dbd8ba10d054596a3d11eaf47f274}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!negative@{negative}} -\index{negative@{negative}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{negative}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::negative ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a581dbd8ba10d054596a3d11eaf47f274} - - -return -\/{\itshape }($\ast$this) - - - -Definition at line 273 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a78b4b8b4ee30d02cb726bf7b8ac13147}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!operator()@{operator()}} -\index{operator()@{operator()}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ Entry {\bf meow\-::\-Matrix}$<$ Entry $>$\-::operator() ( -\begin{DoxyParamCaption} -\item[{size\-\_\-t}]{r, } -\item[{size\-\_\-t}]{c} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a78b4b8b4ee30d02cb726bf7b8ac13147} - - -same as {\itshape entry(r,c)} - - - -Definition at line 473 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a1dc03cd2475a4c5f34afbe0cb498e472}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!operator()@{operator()}} -\index{operator()@{operator()}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ Entry {\bf meow\-::\-Matrix}$<$ Entry $>$\-::operator() ( -\begin{DoxyParamCaption} -\item[{size\-\_\-t}]{r, } -\item[{size\-\_\-t}]{c, } -\item[{Entry const \&}]{e} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a1dc03cd2475a4c5f34afbe0cb498e472} - - -same as {\itshape entry(r,c,e)} - - - -Definition at line 478 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a913ed9a5df441a33fcf0dab1f35814c2}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!operator$\ast$@{operator$\ast$}} -\index{operator$\ast$@{operator$\ast$}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::operator$\ast$ ( -\begin{DoxyParamCaption} -\item[{{\bf Matrix}$<$ Entry $>$ const \&}]{m} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a913ed9a5df441a33fcf0dab1f35814c2} - - -same as {\itshape mul(m)} - - - -Definition at line 503 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a15d360e71c0880fed3c9873affb04341}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!operator$\ast$@{operator$\ast$}} -\index{operator$\ast$@{operator$\ast$}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::operator$\ast$ ( -\begin{DoxyParamCaption} -\item[{Entry const \&}]{s} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a15d360e71c0880fed3c9873affb04341} - - -same as {\itshape mul(m)} - - - -Definition at line 508 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_ade31d2339af552ba1df230c8383e2f84}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!operator+@{operator+}} -\index{operator+@{operator+}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{operator+}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::operator+ ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_ade31d2339af552ba1df230c8383e2f84} - - -same as {\itshape \hyperlink{classmeow_1_1Matrix_aa43f03179e3218c9af28f7374757a2cc}{positive()}} - - - -Definition at line 483 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a8917cdb62ab6d8ed9572ac3303dbaab5}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!operator+@{operator+}} -\index{operator+@{operator+}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{operator+}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::operator+ ( -\begin{DoxyParamCaption} -\item[{{\bf Matrix}$<$ Entry $>$ const \&}]{m} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a8917cdb62ab6d8ed9572ac3303dbaab5} - - -same as {\itshape add(m)} - - - -Definition at line 493 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a5d35d285b8cd59475e98f97966be68c1}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!operator-\/@{operator-\/}} -\index{operator-\/@{operator-\/}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::operator-\/ ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a5d35d285b8cd59475e98f97966be68c1} - - -same as {\itshape \hyperlink{classmeow_1_1Matrix_a581dbd8ba10d054596a3d11eaf47f274}{negative()}} - - - -Definition at line 488 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a955d9ddcb5b3467f8377ccae281ff4f5}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!operator-\/@{operator-\/}} -\index{operator-\/@{operator-\/}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::operator-\/ ( -\begin{DoxyParamCaption} -\item[{{\bf Matrix}$<$ Entry $>$ const \&}]{m} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a955d9ddcb5b3467f8377ccae281ff4f5} - - -same as {\itshape sub(m)} - - - -Definition at line 498 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a807c2a35579a429a2278956fc070f31a}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!operator/@{operator/}} -\index{operator/@{operator/}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{operator/}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::operator/ ( -\begin{DoxyParamCaption} -\item[{Entry const \&}]{s} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a807c2a35579a429a2278956fc070f31a} - - -same as {\itshape div(s)} - - - -Definition at line 513 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a50bf284fe7beae52bb1bd0868486a602}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!operator=@{operator=}} -\index{operator=@{operator=}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix}\& {\bf meow\-::\-Matrix}$<$ Entry $>$\-::operator= ( -\begin{DoxyParamCaption} -\item[{{\bf Matrix}$<$ Entry $>$ const \&}]{m} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a50bf284fe7beae52bb1bd0868486a602} - - -same as {\itshape copy\-From} - - - -Definition at line 468 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_aa43f03179e3218c9af28f7374757a2cc}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!positive@{positive}} -\index{positive@{positive}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{positive}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::positive ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_aa43f03179e3218c9af28f7374757a2cc} - - -return +{\itshape }($\ast$this) - - - -Definition at line 268 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a1dbef5b1a46df480f7fa3e118fd12bec}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!reference\-From@{reference\-From}} -\index{reference\-From@{reference\-From}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{reference\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix}\& {\bf meow\-::\-Matrix}$<$ Entry $>$\-::reference\-From ( -\begin{DoxyParamCaption} -\item[{{\bf Matrix}$<$ Entry $>$ const \&}]{m} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a1dbef5b1a46df480f7fa3e118fd12bec} - - -reference - -Reference itself to another matrix - - -\begin{DoxyParams}[1]{Parameters} -\mbox{\tt in} & {\em m} & matrix \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -$\ast$this -\end{DoxyReturn} - - -Definition at line 104 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_ac17251cb984beb1f74558724a22a0120}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!reset@{reset}} -\index{reset@{reset}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{reset}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ void {\bf meow\-::\-Matrix}$<$ Entry $>$\-::reset ( -\begin{DoxyParamCaption} -\item[{size\-\_\-t}]{r, } -\item[{size\-\_\-t}]{c, } -\item[{Entry const \&}]{e} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_ac17251cb984beb1f74558724a22a0120} - - -reset the size of the matrix to {\itshape r} x {\itshape c} with entry all be {\itshape e} - - - -Definition at line 110 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_ae623c8168ebf26473550d831f0254c4c}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!row@{row}} -\index{row@{row}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{row}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::row ( -\begin{DoxyParamCaption} -\item[{size\-\_\-t}]{r} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_ae623c8168ebf26473550d831f0254c4c} - - -Return the {\itshape r} -\/th row. - - - -Definition at line 258 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a560adbe0b39f52bfb016edddc2955178}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!rows@{rows}} -\index{rows@{rows}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{rows}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ size\-\_\-t {\bf meow\-::\-Matrix}$<$ Entry $>$\-::rows ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a560adbe0b39f52bfb016edddc2955178} - - -Return number of rows. - - - -Definition at line 123 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_add7842aea9c5b0372f56656af0d43325}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!rows@{rows}} -\index{rows@{rows}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{rows}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ size\-\_\-t {\bf meow\-::\-Matrix}$<$ Entry $>$\-::rows ( -\begin{DoxyParamCaption} -\item[{size\-\_\-t}]{r, } -\item[{Entry const \&}]{e} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_add7842aea9c5b0372f56656af0d43325} - - -resize the matrix such that number of rows become {\itshape r}. - -New created entry will be {\itshape e} - - -\begin{DoxyParams}[1]{Parameters} -\mbox{\tt in} & {\em r} & new number of rows \\ -\hline -\mbox{\tt in} & {\em e} & inital entry \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -new number of rows -\end{DoxyReturn} - - -Definition at line 146 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a8e35443c856f669d02b352f091c0404c}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!size@{size}} -\index{size@{size}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ size\-\_\-t {\bf meow\-::\-Matrix}$<$ Entry $>$\-::size ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a8e35443c856f669d02b352f091c0404c} - - -Return number of rows times number of cols. - - - -Definition at line 133 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_ac492cefa5df3a4ac6c9799931fb93605}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!size@{size}} -\index{size@{size}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ size\-\_\-t {\bf meow\-::\-Matrix}$<$ Entry $>$\-::size ( -\begin{DoxyParamCaption} -\item[{size\-\_\-t}]{r, } -\item[{size\-\_\-t}]{c, } -\item[{Entry const \&}]{e} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_ac492cefa5df3a4ac6c9799931fb93605} - - -resize - -Resize to {\itshape r} x {\itshape c}, with new created entry be {\itshape e} - - -\begin{DoxyParams}[1]{Parameters} -\mbox{\tt in} & {\em r} & number of rows \\ -\hline -\mbox{\tt in} & {\em c} & number of rows \\ -\hline -\mbox{\tt in} & {\em e} & inital entry \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -{\itshape r} $\ast$ {\itshape c} -\end{DoxyReturn} - - -Definition at line 189 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_ae89a9a7646f7b7c0f23756809c65dc8c}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!sub@{sub}} -\index{sub@{sub}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{sub}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::sub ( -\begin{DoxyParamCaption} -\item[{{\bf Matrix}$<$ Entry $>$ const \&}]{m} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_ae89a9a7646f7b7c0f23756809c65dc8c} - - -return {\itshape }($\ast$this) -\/ {\itshape m}. - -If the size not match, it will return an invalid matrix - -Definition at line 298 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a93ff4579b7cb950868cad7a62bcf9fe8}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!sub\-Matrix@{sub\-Matrix}} -\index{sub\-Matrix@{sub\-Matrix}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{sub\-Matrix}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::sub\-Matrix ( -\begin{DoxyParamCaption} -\item[{size\-\_\-t}]{r\-First, } -\item[{size\-\_\-t}]{r\-Last, } -\item[{size\-\_\-t}]{c\-First, } -\item[{size\-\_\-t}]{c\-Last} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a93ff4579b7cb950868cad7a62bcf9fe8} - - -Return a {\itshape r\-Last-\/r\-First+1} x {\itshape c\-Last-\/c\-First+1} matrix. - -With value be the entries from {\itshape r\-First} x {\itshape c\-First} to {\itshape r\-Last} x {\itshape c\-Last} - - -\begin{DoxyParams}[1]{Parameters} -\mbox{\tt in} & {\em r\-First} & \\ -\hline -\mbox{\tt in} & {\em r\-Last} & \\ -\hline -\mbox{\tt in} & {\em c\-First} & \\ -\hline -\mbox{\tt in} & {\em c\-Last} & \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -a matrix -\end{DoxyReturn} - - -Definition at line 242 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a869be60b593d7ce7101ee7ac788b0dd0}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!transpose@{transpose}} -\index{transpose@{transpose}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{transpose}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::transpose ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a869be60b593d7ce7101ee7ac788b0dd0} - - -return itself's transpose matrix - - - -Definition at line 419 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a752bbc50fc06c7a6bfad8b4d09e19304}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!transposed@{transposed}} -\index{transposed@{transposed}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{transposed}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix}\& {\bf meow\-::\-Matrix}$<$ Entry $>$\-::transposed ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a752bbc50fc06c7a6bfad8b4d09e19304} - - -Let itself become itself's transpose matrix. - - - -Definition at line 428 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a138c71b681404e054fa27cac5bb80d56}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!triangular@{triangular}} -\index{triangular@{triangular}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{triangular}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix} {\bf meow\-::\-Matrix}$<$ Entry $>$\-::triangular ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a138c71b681404e054fa27cac5bb80d56} - - -return a matrix which is the triangular form of {\itshape }($\ast$this) - - - -Definition at line 434 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_acf27e5ea48f42ceec61e933dfe269016}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!triangulared@{triangulared}} -\index{triangulared@{triangulared}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{triangulared}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ {\bf Matrix}\& {\bf meow\-::\-Matrix}$<$ Entry $>$\-::triangulared ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_acf27e5ea48f42ceec61e933dfe269016} - - -triangluar itself - - - -Definition at line 441 of file Matrix.\-h. - -\hypertarget{classmeow_1_1Matrix_a030758e4938c4d56a0b665e6a51d1405}{\index{meow\-::\-Matrix@{meow\-::\-Matrix}!valid@{valid}} -\index{valid@{valid}!meow::Matrix@{meow\-::\-Matrix}} -\subsubsection[{valid}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Entry$>$ bool {\bf meow\-::\-Matrix}$<$ Entry $>$\-::valid ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Matrix_a030758e4938c4d56a0b665e6a51d1405} - - -Return whether it is a {\bfseries valid} matrix. - - - -Definition at line 118 of file Matrix.\-h. - - - -The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize} -\item -meowpp/math/\hyperlink{Matrix_8h}{Matrix.\-h}\end{DoxyCompactItemize} |