\hypertarget{a07612}{}\section{A\+CG\+:\+:Matrix3x3T$<$ Scalar $>$ Class Template Reference}
\label{a07612}\index{A\+C\+G\+::\+Matrix3x3\+T$<$ Scalar $>$@{A\+C\+G\+::\+Matrix3x3\+T$<$ Scalar $>$}}


{\ttfamily \#include $<$Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Math/\+Matrix3x3\+T.\+hh$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07612_a7d49358924b67563222279d20bf25f25}\label{a07612_a7d49358924b67563222279d20bf25f25}} 
typedef \hyperlink{a08448}{Open\+Mesh\+::\+VectorT}$<$ Scalar, 3 $>$ {\bfseries Vec3}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
constexpr \hyperlink{a07612_a6cbfe0616f5c8f6fc79a30e2a9c182ec}{Matrix3x3T} (std\+::array$<$ Scalar, 9 $>$ row\+\_\+major)
\item 
\mbox{\Hypertarget{a07612_a8f3c8e8e661027005846ad42b5ecb9e8}\label{a07612_a8f3c8e8e661027005846ad42b5ecb9e8}} 
constexpr bool {\bfseries operator==} (const \hyperlink{a07612}{Matrix3x3T} \&rhs) const
\item 
\mbox{\Hypertarget{a07612_ad62c3e68ea1c6cd94bce3213f4a51e6d}\label{a07612_ad62c3e68ea1c6cd94bce3213f4a51e6d}} 
constexpr const Scalar \& {\bfseries operator()} (uint\+\_\+fast8\+\_\+t r, uint\+\_\+fast8\+\_\+t c) const
\item 
\mbox{\Hypertarget{a07612_a08c8db5c2be8ed5c0c5d3ef8101aced0}\label{a07612_a08c8db5c2be8ed5c0c5d3ef8101aced0}} 
Scalar \& {\bfseries operator()} (uint\+\_\+fast8\+\_\+t r, uint\+\_\+fast8\+\_\+t c)
\item 
\mbox{\Hypertarget{a07612_a218c2d9e85fd4a3c917536e6accf65bd}\label{a07612_a218c2d9e85fd4a3c917536e6accf65bd}} 
constexpr const Scalar \& \hyperlink{a07612_a218c2d9e85fd4a3c917536e6accf65bd}{operator\mbox{[}$\,$\mbox{]}} (uint\+\_\+fast8\+\_\+t i) const
\begin{DoxyCompactList}\small\item\em Linearized row major access. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07612_afb087811274bafbbec1de3e7c66ff9bd}\label{a07612_afb087811274bafbbec1de3e7c66ff9bd}} 
Scalar \& \hyperlink{a07612_afb087811274bafbbec1de3e7c66ff9bd}{operator\mbox{[}$\,$\mbox{]}} (uint\+\_\+fast8\+\_\+t i)
\begin{DoxyCompactList}\small\item\em Linearized row major access. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07612_a97b70c188c4c178b592e1f21d2411a1a}\label{a07612_a97b70c188c4c178b592e1f21d2411a1a}} 
\hyperlink{a08448}{Vec3} {\bfseries get\+Row} (uint\+\_\+fast8\+\_\+t r) const
\item 
\mbox{\Hypertarget{a07612_a8fa556a861777799824143013de23d14}\label{a07612_a8fa556a861777799824143013de23d14}} 
\hyperlink{a08448}{Vec3} {\bfseries get\+Col} (uint\+\_\+fast8\+\_\+t c) const
\item 
\mbox{\Hypertarget{a07612_a80160e66240f9d43eaa9e49063d460c6}\label{a07612_a80160e66240f9d43eaa9e49063d460c6}} 
constexpr \hyperlink{a07612}{Matrix3x3T} {\bfseries operator$\ast$} (const \hyperlink{a07612}{Matrix3x3T} \&rhs) const
\item 
\mbox{\Hypertarget{a07612_a94872fb8104b817bb4f3ade4777c35e6}\label{a07612_a94872fb8104b817bb4f3ade4777c35e6}} 
constexpr \hyperlink{a08448}{Vec3} {\bfseries operator$\ast$} (const \hyperlink{a08448}{Vec3} \&rhs) const
\item 
\mbox{\Hypertarget{a07612_ad7e541338c3126b21da5081203cd301c}\label{a07612_ad7e541338c3126b21da5081203cd301c}} 
constexpr \hyperlink{a07612}{Matrix3x3T} {\bfseries operator$\ast$} (Scalar c) const
\item 
\mbox{\Hypertarget{a07612_a5afa743d988b0b958795a9fef745066a}\label{a07612_a5afa743d988b0b958795a9fef745066a}} 
constexpr \hyperlink{a07612}{Matrix3x3T} {\bfseries operator+} (const \hyperlink{a07612}{Matrix3x3T} \&rhs) const
\item 
\mbox{\Hypertarget{a07612_a80c56bad532e77d2be0d169720810df4}\label{a07612_a80c56bad532e77d2be0d169720810df4}} 
constexpr \hyperlink{a07612}{Matrix3x3T} {\bfseries operator-\/} (const \hyperlink{a07612}{Matrix3x3T} \&rhs) const
\item 
\mbox{\Hypertarget{a07612_a97b067e19142afde5130de3f5dcedbb5}\label{a07612_a97b067e19142afde5130de3f5dcedbb5}} 
constexpr \hyperlink{a07612}{Matrix3x3T} {\bfseries operator-\/} () const
\item 
\mbox{\Hypertarget{a07612_affb4d3fa1f2f3544ebaae032f2fbedec}\label{a07612_affb4d3fa1f2f3544ebaae032f2fbedec}} 
const \hyperlink{a07612}{Matrix3x3T} \& {\bfseries operator$\ast$=} (const \hyperlink{a07612}{Matrix3x3T} \&rhs)
\item 
\mbox{\Hypertarget{a07612_a83a748fd91ab41fcb3b9cd12436129ee}\label{a07612_a83a748fd91ab41fcb3b9cd12436129ee}} 
constexpr Scalar {\bfseries det} () const
\item 
\mbox{\Hypertarget{a07612_a68f0b23353aa3dfe83898e06fe3f7e52}\label{a07612_a68f0b23353aa3dfe83898e06fe3f7e52}} 
constexpr Scalar {\bfseries trace} () const
\item 
\mbox{\Hypertarget{a07612_a38fcd6f8d4d27244ef745e8ce4e59481}\label{a07612_a38fcd6f8d4d27244ef745e8ce4e59481}} 
void {\bfseries transpose} ()
\item 
\mbox{\Hypertarget{a07612_aaee7de5998b2d475bdc34639d6835076}\label{a07612_aaee7de5998b2d475bdc34639d6835076}} 
constexpr \hyperlink{a07612}{Matrix3x3T} {\bfseries transposed} () const
\item 
\mbox{\Hypertarget{a07612_a59cf3c5360447a827ab05679dc5d4117}\label{a07612_a59cf3c5360447a827ab05679dc5d4117}} 
void {\bfseries invert} ()
\item 
\mbox{\Hypertarget{a07612_a1342688f0511bf2d2360b8efc6157844}\label{a07612_a1342688f0511bf2d2360b8efc6157844}} 
\hyperlink{a07612}{Matrix3x3T} {\bfseries inverse} () const
\item 
\mbox{\Hypertarget{a07612_ad26d84ed0533c1fee3c6232539b95ce3}\label{a07612_ad26d84ed0533c1fee3c6232539b95ce3}} 
constexpr Scalar {\bfseries frobenius\+Squared} () const
\item 
\mbox{\Hypertarget{a07612_af3838711b928bc51ff265c55ce059a05}\label{a07612_af3838711b928bc51ff265c55ce059a05}} 
constexpr double {\bfseries frobenius} () const
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07612_a52cef792f8e9688223fda8f6ac125c01}\label{a07612_a52cef792f8e9688223fda8f6ac125c01}} 
static \hyperlink{a07612}{Matrix3x3T}$<$ Scalar $>$ {\bfseries from\+Columns} (\hyperlink{a08448}{Vec3} c1, \hyperlink{a08448}{Vec3} c2, \hyperlink{a08448}{Vec3} c3)
\item 
\mbox{\Hypertarget{a07612_a87f3d0879e868ec4c9e08a8288428cf8}\label{a07612_a87f3d0879e868ec4c9e08a8288428cf8}} 
static \hyperlink{a07612}{Matrix3x3T}$<$ Scalar $>$ {\bfseries from\+Rows} (\hyperlink{a08448}{Vec3} r1, \hyperlink{a08448}{Vec3} r2, \hyperlink{a08448}{Vec3} r3)
\item 
\mbox{\Hypertarget{a07612_a4340a2aec0667c92f57fa94c3ca0e3e3}\label{a07612_a4340a2aec0667c92f57fa94c3ca0e3e3}} 
static constexpr \hyperlink{a07612}{Matrix3x3T}$<$ Scalar $>$ {\bfseries identity} ()
\item 
\mbox{\Hypertarget{a07612_a57c85665834479858774252c31bbfc80}\label{a07612_a57c85665834479858774252c31bbfc80}} 
static constexpr \hyperlink{a07612}{Matrix3x3T}$<$ Scalar $>$ {\bfseries zero} ()
\item 
\mbox{\Hypertarget{a07612_adb35d306cd2911698d4571768482ee07}\label{a07612_adb35d306cd2911698d4571768482ee07}} 
static constexpr uint\+\_\+fast8\+\_\+t \hyperlink{a07612_adb35d306cd2911698d4571768482ee07}{indexof} (uint\+\_\+fast8\+\_\+t r, uint\+\_\+fast8\+\_\+t c)
\begin{DoxyCompactList}\small\item\em Map row/column index to linearized index. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07612_adb54fea3ec5ede72ec98fdd4257111d6}\label{a07612_adb54fea3ec5ede72ec98fdd4257111d6}} 
std\+::array$<$ Scalar, 9 $>$ {\bfseries values\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07612_a621ac4b49d06aa854a067b7f7b83c2be}\label{a07612_a621ac4b49d06aa854a067b7f7b83c2be}} 
constexpr friend \hyperlink{a08448}{Vec3} {\bfseries operator$\ast$} (\hyperlink{a08448}{Vec3} v, const \hyperlink{a07612}{Matrix3x3T} \&rhs)
\item 
\mbox{\Hypertarget{a07612_a8ac6c97cdc7fdb2d747a9345557cf7a2}\label{a07612_a8ac6c97cdc7fdb2d747a9345557cf7a2}} 
constexpr friend \hyperlink{a07612}{Matrix3x3T} {\bfseries operator$\ast$} (Scalar c, const \hyperlink{a07612}{Matrix3x3T} \&rhs)
\item 
\mbox{\Hypertarget{a07612_a19a9ca31a52520ecf363dd6d45fe96e2}\label{a07612_a19a9ca31a52520ecf363dd6d45fe96e2}} 
std\+::ostream \& {\bfseries operator$<$$<$} (std\+::ostream \&os, const \hyperlink{a07612}{Matrix3x3T} \&m)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Scalar$>$\newline
class A\+C\+G\+::\+Matrix3x3\+T$<$ Scalar $>$}

Small, kinda fast 3x3 matrix class. 

Definition at line 21 of file Matrix3x3\+T.\+hh.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{a07612_a6cbfe0616f5c8f6fc79a30e2a9c182ec}\label{a07612_a6cbfe0616f5c8f6fc79a30e2a9c182ec}} 
\index{A\+C\+G\+::\+Matrix3x3T@{A\+C\+G\+::\+Matrix3x3T}!Matrix3x3T@{Matrix3x3T}}
\index{Matrix3x3T@{Matrix3x3T}!A\+C\+G\+::\+Matrix3x3T@{A\+C\+G\+::\+Matrix3x3T}}
\subsubsection{\texorpdfstring{Matrix3x3\+T()}{Matrix3x3T()}}
{\footnotesize\ttfamily template$<$typename Scalar$>$ \\
constexpr \hyperlink{a07612}{A\+C\+G\+::\+Matrix3x3T}$<$ Scalar $>$\+::\hyperlink{a07612}{Matrix3x3T} (\begin{DoxyParamCaption}\item[{std\+::array$<$ Scalar, 9 $>$}]{row\+\_\+major }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Initialize matrix from array in row major format. 

Definition at line 63 of file Matrix3x3\+T.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Math/Matrix3x3\+T.\+hh\end{DoxyCompactItemize}
