\hypertarget{classmeow_1_1Vector}{\section{meow\-:\-:Vector$<$ Scalar $>$ Class Template Reference}
\label{classmeow_1_1Vector}\index{meow\-::\-Vector$<$ Scalar $>$@{meow\-::\-Vector$<$ Scalar $>$}}
}


{\bfseries vector}  




{\ttfamily \#include \char`\"{}Vector.\-h\char`\"{}}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef \hyperlink{classmeow_1_1Matrix}{Matrix}$<$ Scalar $>$\-::Entry\-Ref\-K \hyperlink{classmeow_1_1Vector_ac7464dd163607b1a6417e438a639d050}{Scalar\-Ref\-K}
\item 
typedef \hyperlink{classmeow_1_1Matrix}{Matrix}$<$ Scalar $>$\-::Entry\-Ref \hyperlink{classmeow_1_1Vector_a29e75e2dd5e46da4c7b95354c8787a30}{Scalar\-Ref}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classmeow_1_1Vector_a68530affccd332248e476cc3e188cd61}{Vector} ()
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector_a7def8437ada844cc6b6dc9769aba1ee6}{Vector} (\hyperlink{classmeow_1_1Vector}{Vector} const \&v)
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector_a34ca34c834e47288894cec2445e5b073}{Vector} (\hyperlink{classmeow_1_1Matrix}{Matrix}$<$ Scalar $>$ const \&m)
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector_a58f997cdc6b98a76ae13bba6d685d815}{Vector} (std\-::vector$<$ Scalar $>$ const \&v)
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector_a5589e07881f9f6a7bb7c43630d30ecdd}{Vector} (size\-\_\-t d, Scalar const \&e)
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector_aee0da81d6a393d2abf7bf20c2ef260c3}{$\sim$\-Vector} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \& \hyperlink{classmeow_1_1Vector_a52540cc03073243026770587c35beba0}{copy\-From} (\hyperlink{classmeow_1_1Vector}{Vector} const \&v)
\begin{DoxyCompactList}\small\item\em copy from ... \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \& \hyperlink{classmeow_1_1Vector_ad46346bcc2250cbf91803d38df9d538e}{reference\-From} (\hyperlink{classmeow_1_1Vector}{Vector} const \&v)
\begin{DoxyCompactList}\small\item\em reference from ... \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Matrix}{Matrix}$<$ Scalar $>$ \hyperlink{classmeow_1_1Vector_a461ae8dc7eab62d445607067e31ac81e}{matrix} () const 
\begin{DoxyCompactList}\small\item\em Return a {\itshape dimension} x 1 matrix form of it. \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{classmeow_1_1Vector_a554bb098d8af7ef1458624e8b1f47e6a}{dimension} () const 
\begin{DoxyCompactList}\small\item\em return dimension \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{classmeow_1_1Vector_ada37bc2df18e7c892d4b5e2ac34bf025}{dimension} (size\-\_\-t d, Scalar const \&s)
\begin{DoxyCompactList}\small\item\em resize the dimension \end{DoxyCompactList}\item 
bool \hyperlink{classmeow_1_1Vector_a98f150719042e458d52a1476ae9fd52e}{valid} () const 
\begin{DoxyCompactList}\small\item\em Return whether {\ttfamily dimension$>$0} is true or not. \end{DoxyCompactList}\item 
Scalar \hyperlink{classmeow_1_1Vector_a628406a3f273f85dc4c619b8f3cd8940}{scalar} (size\-\_\-t i) const 
\begin{DoxyCompactList}\small\item\em return {\itshape i} -\/th scalar \end{DoxyCompactList}\item 
Scalar \hyperlink{classmeow_1_1Vector_a8813d3c4979bef7ed863fde8fc4249fc}{scalar} (size\-\_\-t i, Scalar const \&s)
\begin{DoxyCompactList}\small\item\em change {\itshape i} -\/th scalar \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector_a29e75e2dd5e46da4c7b95354c8787a30}{Scalar\-Ref} \hyperlink{classmeow_1_1Vector_ab97e0c09f4665241e052642181732d96}{scalar\-Get} (size\-\_\-t i)
\begin{DoxyCompactList}\small\item\em return {\itshape i} -\/th scalar with non-\/constant type \end{DoxyCompactList}\item 
void \hyperlink{classmeow_1_1Vector_a579a922c3f6c70e6e2c67d8d4d1c1b28}{scalars} (size\-\_\-t i, size\-\_\-t j, Scalar const \&s)
\begin{DoxyCompactList}\small\item\em change {\itshape i} -\/th to {\itshape j} -\/th scalars \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_a70c2620d25f6a36dc6d6aa38851b1c7a}{sub\-Vector} (size\-\_\-t i, size\-\_\-t j)
\begin{DoxyCompactList}\small\item\em subvector form i-\/th to j-\/th \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_a200453ad223a040147a2dc92e4222589}{positive} () const 
\begin{DoxyCompactList}\small\item\em return +{\itshape }($\ast$this) \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_abefb870f27490906e326a6f94a896f7c}{negative} () const 
\begin{DoxyCompactList}\small\item\em return -\/{\itshape }($\ast$this) \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_a43f91063553124efdd23d7f3db1599ac}{add} (\hyperlink{classmeow_1_1Vector}{Vector} const \&v) const 
\begin{DoxyCompactList}\small\item\em return {\itshape }($\ast$this)+v \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_ad2e490231e4b624ef86f958b99c94533}{sub} (\hyperlink{classmeow_1_1Vector}{Vector} const \&v) const 
\begin{DoxyCompactList}\small\item\em return {\itshape }($\ast$this)-\/v \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_a45bd0b9c27a2fc83f1d00106c976751c}{mul} (Scalar const \&s) const 
\begin{DoxyCompactList}\small\item\em return {\itshape }($\ast$this)$\ast$s , where s is a scalar \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_ac813d8c46325f8ec4771a7cc315c8908}{div} (Scalar const \&s) const 
\begin{DoxyCompactList}\small\item\em return {\itshape }($\ast$this)/s , where s is a scalar \end{DoxyCompactList}\item 
Scalar \hyperlink{classmeow_1_1Vector_a9228c4b935c57cd2af9cb07218eca452}{dot} (\hyperlink{classmeow_1_1Vector}{Vector} const \&v) const 
\begin{DoxyCompactList}\small\item\em dot \end{DoxyCompactList}\item 
Scalar \hyperlink{classmeow_1_1Vector_afc7cc691dd00ab41fd56d798c13a6a27}{length} () const 
\begin{DoxyCompactList}\small\item\em sqrt of {\itshape length2} \end{DoxyCompactList}\item 
Scalar \hyperlink{classmeow_1_1Vector_a71b56938e01de730490e722824f4b53e}{length2} () const 
\begin{DoxyCompactList}\small\item\em same as {\itshape }($\ast$this).dot($\ast$this) \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_ab675b777186dd4903367bc77922893ee}{normalize} () const 
\begin{DoxyCompactList}\small\item\em return a normalize form of itself \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \& \hyperlink{classmeow_1_1Vector_aadbed69a847ce560210d0513c2156448}{normalized} ()
\begin{DoxyCompactList}\small\item\em Let itself be normalize form. \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \& \hyperlink{classmeow_1_1Vector_a8cad36b5fab47f3d50b840ff26260623}{operator=} (\hyperlink{classmeow_1_1Vector}{Vector} const \&v)
\begin{DoxyCompactList}\small\item\em same as copy\-From \end{DoxyCompactList}\item 
Scalar \hyperlink{classmeow_1_1Vector_a6591f95bda6b9724d2f66fc1254bfa7a}{operator()} (size\-\_\-t i) const 
\begin{DoxyCompactList}\small\item\em same as entry(i) \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_af10156730c992a5597ca674940157fe8}{operator+} () const 
\begin{DoxyCompactList}\small\item\em same as \hyperlink{classmeow_1_1Vector_a200453ad223a040147a2dc92e4222589}{positive()} \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_a510da6e6a0470bf2312e62c1b43a310a}{operator-\/} () const 
\begin{DoxyCompactList}\small\item\em same as \hyperlink{classmeow_1_1Vector_abefb870f27490906e326a6f94a896f7c}{negative()} \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_a0a6eade258af4979692fa325dd59429c}{operator+} (\hyperlink{classmeow_1_1Vector}{Vector} const \&v) const 
\begin{DoxyCompactList}\small\item\em same as add(v) \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_ac3e4b43822b9091c3eab7215c52b140d}{operator-\/} (\hyperlink{classmeow_1_1Vector}{Vector} const \&v) const 
\begin{DoxyCompactList}\small\item\em same as sub(v) \end{DoxyCompactList}\item 
Scalar \hyperlink{classmeow_1_1Vector_a8180db77db8e6ef30a15f4bd1fcb7ef1}{operator$\ast$} (\hyperlink{classmeow_1_1Vector}{Vector} const \&v) const 
\begin{DoxyCompactList}\small\item\em same as dot(v) \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_a3fdb5ccf26fe0602f7bd08e1ecfc940c}{operator$\ast$} (Scalar const \&s) const 
\begin{DoxyCompactList}\small\item\em same as mul(s) \end{DoxyCompactList}\item 
\hyperlink{classmeow_1_1Vector}{Vector} \hyperlink{classmeow_1_1Vector_a74e4cf085fd43a51c50872ea9b42c47e}{operator/} (Scalar const \&s) const 
\begin{DoxyCompactList}\small\item\em same as div(s) \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class Scalar$>$class meow\-::\-Vector$<$ Scalar $>$}

{\bfseries vector} 

\begin{DoxyAuthor}{Author}
cat\-\_\-leopard 
\end{DoxyAuthor}


Definition at line 19 of file Vector.\-h.



\subsection{Member Typedef Documentation}
\hypertarget{classmeow_1_1Vector_a29e75e2dd5e46da4c7b95354c8787a30}{\index{meow\-::\-Vector@{meow\-::\-Vector}!Scalar\-Ref@{Scalar\-Ref}}
\index{Scalar\-Ref@{Scalar\-Ref}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{Scalar\-Ref}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ typedef {\bf Matrix}$<$Scalar$>$\-::Entry\-Ref {\bf meow\-::\-Vector}$<$ Scalar $>$\-::{\bf Scalar\-Ref}}}\label{classmeow_1_1Vector_a29e75e2dd5e46da4c7b95354c8787a30}


Definition at line 22 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_ac7464dd163607b1a6417e438a639d050}{\index{meow\-::\-Vector@{meow\-::\-Vector}!Scalar\-Ref\-K@{Scalar\-Ref\-K}}
\index{Scalar\-Ref\-K@{Scalar\-Ref\-K}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{Scalar\-Ref\-K}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ typedef {\bf Matrix}$<$Scalar$>$\-::Entry\-Ref\-K {\bf meow\-::\-Vector}$<$ Scalar $>$\-::{\bf Scalar\-Ref\-K}}}\label{classmeow_1_1Vector_ac7464dd163607b1a6417e438a639d050}


Definition at line 21 of file Vector.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{classmeow_1_1Vector_a68530affccd332248e476cc3e188cd61}{\index{meow\-::\-Vector@{meow\-::\-Vector}!Vector@{Vector}}
\index{Vector@{Vector}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{Vector}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf meow\-::\-Vector}$<$ Scalar $>$\-::{\bf Vector} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a68530affccd332248e476cc3e188cd61}


constructor 

With {\bfseries dimension=0}, which means {\bfseries invalid}. 

Definition at line 31 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a7def8437ada844cc6b6dc9769aba1ee6}{\index{meow\-::\-Vector@{meow\-::\-Vector}!Vector@{Vector}}
\index{Vector@{Vector}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{Vector}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf meow\-::\-Vector}$<$ Scalar $>$\-::{\bf Vector} (
\begin{DoxyParamCaption}
\item[{{\bf Vector}$<$ Scalar $>$ const \&}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a7def8437ada844cc6b6dc9769aba1ee6}


constructor 

Copy from another vector


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em v} & another vector \\
\hline
\end{DoxyParams}


Definition at line 41 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a34ca34c834e47288894cec2445e5b073}{\index{meow\-::\-Vector@{meow\-::\-Vector}!Vector@{Vector}}
\index{Vector@{Vector}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{Vector}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf meow\-::\-Vector}$<$ Scalar $>$\-::{\bf Vector} (
\begin{DoxyParamCaption}
\item[{{\bf Matrix}$<$ Scalar $>$ const \&}]{m}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a34ca34c834e47288894cec2445e5b073}


constructor 

From matrix's first column


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em m} & matrix \\
\hline
\end{DoxyParams}


Definition at line 51 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a58f997cdc6b98a76ae13bba6d685d815}{\index{meow\-::\-Vector@{meow\-::\-Vector}!Vector@{Vector}}
\index{Vector@{Vector}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{Vector}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf meow\-::\-Vector}$<$ Scalar $>$\-::{\bf Vector} (
\begin{DoxyParamCaption}
\item[{std\-::vector$<$ Scalar $>$ const \&}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a58f997cdc6b98a76ae13bba6d685d815}


constructor 

Copy from another std\-::vector


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em v} & vector \\
\hline
\end{DoxyParams}


Definition at line 61 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a5589e07881f9f6a7bb7c43630d30ecdd}{\index{meow\-::\-Vector@{meow\-::\-Vector}!Vector@{Vector}}
\index{Vector@{Vector}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{Vector}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf meow\-::\-Vector}$<$ Scalar $>$\-::{\bf Vector} (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{d, }
\item[{Scalar const \&}]{e}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a5589e07881f9f6a7bb7c43630d30ecdd}


constructor 

setup dimension and inital value


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em d} & dimension \\
\hline
\mbox{\tt in}  & {\em e} & inital value \\
\hline
\end{DoxyParams}


Definition at line 75 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_aee0da81d6a393d2abf7bf20c2ef260c3}{\index{meow\-::\-Vector@{meow\-::\-Vector}!$\sim$\-Vector@{$\sim$\-Vector}}
\index{$\sim$\-Vector@{$\sim$\-Vector}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{$\sim$\-Vector}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf meow\-::\-Vector}$<$ Scalar $>$\-::$\sim${\bf Vector} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_aee0da81d6a393d2abf7bf20c2ef260c3}


destructor 



Definition at line 79 of file Vector.\-h.



\subsection{Member Function Documentation}
\hypertarget{classmeow_1_1Vector_a43f91063553124efdd23d7f3db1599ac}{\index{meow\-::\-Vector@{meow\-::\-Vector}!add@{add}}
\index{add@{add}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{add}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::add (
\begin{DoxyParamCaption}
\item[{{\bf Vector}$<$ Scalar $>$ const \&}]{v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a43f91063553124efdd23d7f3db1599ac}


return {\itshape }($\ast$this)+v 



Definition at line 174 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a52540cc03073243026770587c35beba0}{\index{meow\-::\-Vector@{meow\-::\-Vector}!copy\-From@{copy\-From}}
\index{copy\-From@{copy\-From}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{copy\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector}\& {\bf meow\-::\-Vector}$<$ Scalar $>$\-::copy\-From (
\begin{DoxyParamCaption}
\item[{{\bf Vector}$<$ Scalar $>$ const \&}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a52540cc03073243026770587c35beba0}


copy from ... 



Definition at line 83 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a554bb098d8af7ef1458624e8b1f47e6a}{\index{meow\-::\-Vector@{meow\-::\-Vector}!dimension@{dimension}}
\index{dimension@{dimension}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{dimension}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ size\-\_\-t {\bf meow\-::\-Vector}$<$ Scalar $>$\-::dimension (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a554bb098d8af7ef1458624e8b1f47e6a}


return dimension 



Definition at line 100 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_ada37bc2df18e7c892d4b5e2ac34bf025}{\index{meow\-::\-Vector@{meow\-::\-Vector}!dimension@{dimension}}
\index{dimension@{dimension}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{dimension}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ size\-\_\-t {\bf meow\-::\-Vector}$<$ Scalar $>$\-::dimension (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{d, }
\item[{Scalar const \&}]{s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_ada37bc2df18e7c892d4b5e2ac34bf025}


resize the dimension 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em d} & new dimension \\
\hline
\mbox{\tt in}  & {\em s} & inital entry \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
new dimension 
\end{DoxyReturn}


Definition at line 111 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_ac813d8c46325f8ec4771a7cc315c8908}{\index{meow\-::\-Vector@{meow\-::\-Vector}!div@{div}}
\index{div@{div}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{div}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::div (
\begin{DoxyParamCaption}
\item[{Scalar const \&}]{s}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_ac813d8c46325f8ec4771a7cc315c8908}


return {\itshape }($\ast$this)/s , where s is a scalar 



Definition at line 189 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a9228c4b935c57cd2af9cb07218eca452}{\index{meow\-::\-Vector@{meow\-::\-Vector}!dot@{dot}}
\index{dot@{dot}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{dot}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar {\bf meow\-::\-Vector}$<$ Scalar $>$\-::dot (
\begin{DoxyParamCaption}
\item[{{\bf Vector}$<$ Scalar $>$ const \&}]{v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a9228c4b935c57cd2af9cb07218eca452}


dot 



Definition at line 194 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_afc7cc691dd00ab41fd56d798c13a6a27}{\index{meow\-::\-Vector@{meow\-::\-Vector}!length@{length}}
\index{length@{length}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{length}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar {\bf meow\-::\-Vector}$<$ Scalar $>$\-::length (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_afc7cc691dd00ab41fd56d798c13a6a27}


sqrt of {\itshape length2} 



Definition at line 199 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a71b56938e01de730490e722824f4b53e}{\index{meow\-::\-Vector@{meow\-::\-Vector}!length2@{length2}}
\index{length2@{length2}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{length2}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar {\bf meow\-::\-Vector}$<$ Scalar $>$\-::length2 (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a71b56938e01de730490e722824f4b53e}


same as {\itshape }($\ast$this).dot($\ast$this) 



Definition at line 204 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a461ae8dc7eab62d445607067e31ac81e}{\index{meow\-::\-Vector@{meow\-::\-Vector}!matrix@{matrix}}
\index{matrix@{matrix}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{matrix}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Matrix}$<$Scalar$>$ {\bf meow\-::\-Vector}$<$ Scalar $>$\-::matrix (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a461ae8dc7eab62d445607067e31ac81e}


Return a {\itshape dimension} x 1 matrix form of it. 



Definition at line 95 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a45bd0b9c27a2fc83f1d00106c976751c}{\index{meow\-::\-Vector@{meow\-::\-Vector}!mul@{mul}}
\index{mul@{mul}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{mul}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::mul (
\begin{DoxyParamCaption}
\item[{Scalar const \&}]{s}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a45bd0b9c27a2fc83f1d00106c976751c}


return {\itshape }($\ast$this)$\ast$s , where s is a scalar 



Definition at line 184 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_abefb870f27490906e326a6f94a896f7c}{\index{meow\-::\-Vector@{meow\-::\-Vector}!negative@{negative}}
\index{negative@{negative}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{negative}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::negative (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_abefb870f27490906e326a6f94a896f7c}


return -\/{\itshape }($\ast$this) 



Definition at line 169 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_ab675b777186dd4903367bc77922893ee}{\index{meow\-::\-Vector@{meow\-::\-Vector}!normalize@{normalize}}
\index{normalize@{normalize}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{normalize}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::normalize (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_ab675b777186dd4903367bc77922893ee}


return a normalize form of itself 



Definition at line 209 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_aadbed69a847ce560210d0513c2156448}{\index{meow\-::\-Vector@{meow\-::\-Vector}!normalized@{normalized}}
\index{normalized@{normalized}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{normalized}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector}\& {\bf meow\-::\-Vector}$<$ Scalar $>$\-::normalized (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_aadbed69a847ce560210d0513c2156448}


Let itself be normalize form. 



Definition at line 214 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a6591f95bda6b9724d2f66fc1254bfa7a}{\index{meow\-::\-Vector@{meow\-::\-Vector}!operator()@{operator()}}
\index{operator()@{operator()}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar {\bf meow\-::\-Vector}$<$ Scalar $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{i}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a6591f95bda6b9724d2f66fc1254bfa7a}


same as entry(i) 



Definition at line 225 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a8180db77db8e6ef30a15f4bd1fcb7ef1}{\index{meow\-::\-Vector@{meow\-::\-Vector}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar {\bf meow\-::\-Vector}$<$ Scalar $>$\-::operator$\ast$ (
\begin{DoxyParamCaption}
\item[{{\bf Vector}$<$ Scalar $>$ const \&}]{v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a8180db77db8e6ef30a15f4bd1fcb7ef1}


same as dot(v) 



Definition at line 250 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a3fdb5ccf26fe0602f7bd08e1ecfc940c}{\index{meow\-::\-Vector@{meow\-::\-Vector}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::operator$\ast$ (
\begin{DoxyParamCaption}
\item[{Scalar const \&}]{s}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a3fdb5ccf26fe0602f7bd08e1ecfc940c}


same as mul(s) 



Definition at line 255 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_af10156730c992a5597ca674940157fe8}{\index{meow\-::\-Vector@{meow\-::\-Vector}!operator+@{operator+}}
\index{operator+@{operator+}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{operator+}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::operator+ (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_af10156730c992a5597ca674940157fe8}


same as \hyperlink{classmeow_1_1Vector_a200453ad223a040147a2dc92e4222589}{positive()} 



Definition at line 230 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a0a6eade258af4979692fa325dd59429c}{\index{meow\-::\-Vector@{meow\-::\-Vector}!operator+@{operator+}}
\index{operator+@{operator+}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{operator+}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::operator+ (
\begin{DoxyParamCaption}
\item[{{\bf Vector}$<$ Scalar $>$ const \&}]{v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a0a6eade258af4979692fa325dd59429c}


same as add(v) 



Definition at line 240 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a510da6e6a0470bf2312e62c1b43a310a}{\index{meow\-::\-Vector@{meow\-::\-Vector}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::operator-\/ (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a510da6e6a0470bf2312e62c1b43a310a}


same as \hyperlink{classmeow_1_1Vector_abefb870f27490906e326a6f94a896f7c}{negative()} 



Definition at line 235 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_ac3e4b43822b9091c3eab7215c52b140d}{\index{meow\-::\-Vector@{meow\-::\-Vector}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::operator-\/ (
\begin{DoxyParamCaption}
\item[{{\bf Vector}$<$ Scalar $>$ const \&}]{v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_ac3e4b43822b9091c3eab7215c52b140d}


same as sub(v) 



Definition at line 245 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a74e4cf085fd43a51c50872ea9b42c47e}{\index{meow\-::\-Vector@{meow\-::\-Vector}!operator/@{operator/}}
\index{operator/@{operator/}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{operator/}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::operator/ (
\begin{DoxyParamCaption}
\item[{Scalar const \&}]{s}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a74e4cf085fd43a51c50872ea9b42c47e}


same as div(s) 



Definition at line 260 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a8cad36b5fab47f3d50b840ff26260623}{\index{meow\-::\-Vector@{meow\-::\-Vector}!operator=@{operator=}}
\index{operator=@{operator=}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector}\& {\bf meow\-::\-Vector}$<$ Scalar $>$\-::operator= (
\begin{DoxyParamCaption}
\item[{{\bf Vector}$<$ Scalar $>$ const \&}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a8cad36b5fab47f3d50b840ff26260623}


same as copy\-From 



Definition at line 220 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a200453ad223a040147a2dc92e4222589}{\index{meow\-::\-Vector@{meow\-::\-Vector}!positive@{positive}}
\index{positive@{positive}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{positive}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::positive (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a200453ad223a040147a2dc92e4222589}


return +{\itshape }($\ast$this) 



Definition at line 164 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_ad46346bcc2250cbf91803d38df9d538e}{\index{meow\-::\-Vector@{meow\-::\-Vector}!reference\-From@{reference\-From}}
\index{reference\-From@{reference\-From}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{reference\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector}\& {\bf meow\-::\-Vector}$<$ Scalar $>$\-::reference\-From (
\begin{DoxyParamCaption}
\item[{{\bf Vector}$<$ Scalar $>$ const \&}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_ad46346bcc2250cbf91803d38df9d538e}


reference from ... 



Definition at line 89 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a628406a3f273f85dc4c619b8f3cd8940}{\index{meow\-::\-Vector@{meow\-::\-Vector}!scalar@{scalar}}
\index{scalar@{scalar}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{scalar}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar {\bf meow\-::\-Vector}$<$ Scalar $>$\-::scalar (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{i}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a628406a3f273f85dc4c619b8f3cd8940}


return {\itshape i} -\/th scalar 



Definition at line 125 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a8813d3c4979bef7ed863fde8fc4249fc}{\index{meow\-::\-Vector@{meow\-::\-Vector}!scalar@{scalar}}
\index{scalar@{scalar}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{scalar}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar {\bf meow\-::\-Vector}$<$ Scalar $>$\-::scalar (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{i, }
\item[{Scalar const \&}]{s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a8813d3c4979bef7ed863fde8fc4249fc}


change {\itshape i} -\/th scalar 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em i} & i-\/th \\
\hline
\mbox{\tt in}  & {\em s} & new value \\
\hline
\end{DoxyParams}


Definition at line 135 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_ab97e0c09f4665241e052642181732d96}{\index{meow\-::\-Vector@{meow\-::\-Vector}!scalar\-Get@{scalar\-Get}}
\index{scalar\-Get@{scalar\-Get}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{scalar\-Get}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Scalar\-Ref} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::scalar\-Get (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{i}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_ab97e0c09f4665241e052642181732d96}


return {\itshape i} -\/th scalar with non-\/constant type 



Definition at line 141 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a579a922c3f6c70e6e2c67d8d4d1c1b28}{\index{meow\-::\-Vector@{meow\-::\-Vector}!scalars@{scalars}}
\index{scalars@{scalars}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{scalars}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ void {\bf meow\-::\-Vector}$<$ Scalar $>$\-::scalars (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{i, }
\item[{size\-\_\-t}]{j, }
\item[{Scalar const \&}]{s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a579a922c3f6c70e6e2c67d8d4d1c1b28}


change {\itshape i} -\/th to {\itshape j} -\/th scalars 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em i} & i-\/th \\
\hline
\mbox{\tt in}  & {\em j} & j-\/th \\
\hline
\mbox{\tt in}  & {\em s} & new value \\
\hline
\end{DoxyParams}


Definition at line 152 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_ad2e490231e4b624ef86f958b99c94533}{\index{meow\-::\-Vector@{meow\-::\-Vector}!sub@{sub}}
\index{sub@{sub}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{sub}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::sub (
\begin{DoxyParamCaption}
\item[{{\bf Vector}$<$ Scalar $>$ const \&}]{v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_ad2e490231e4b624ef86f958b99c94533}


return {\itshape }($\ast$this)-\/v 



Definition at line 179 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a70c2620d25f6a36dc6d6aa38851b1c7a}{\index{meow\-::\-Vector@{meow\-::\-Vector}!sub\-Vector@{sub\-Vector}}
\index{sub\-Vector@{sub\-Vector}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{sub\-Vector}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector} {\bf meow\-::\-Vector}$<$ Scalar $>$\-::sub\-Vector (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{i, }
\item[{size\-\_\-t}]{j}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a70c2620d25f6a36dc6d6aa38851b1c7a}


subvector form i-\/th to j-\/th 



Definition at line 159 of file Vector.\-h.

\hypertarget{classmeow_1_1Vector_a98f150719042e458d52a1476ae9fd52e}{\index{meow\-::\-Vector@{meow\-::\-Vector}!valid@{valid}}
\index{valid@{valid}!meow::Vector@{meow\-::\-Vector}}
\subsubsection[{valid}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ bool {\bf meow\-::\-Vector}$<$ Scalar $>$\-::valid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector_a98f150719042e458d52a1476ae9fd52e}


Return whether {\ttfamily dimension$>$0} is true or not. 

\begin{DoxyReturn}{Returns}
{\ttfamily true/false} 
\end{DoxyReturn}


Definition at line 120 of file Vector.\-h.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
meowpp/math/\hyperlink{Vector_8h}{Vector.\-h}\end{DoxyCompactItemize}
