12345678910111213141516171819 |
- \hypertarget{math_8hpp_source}{}\doxysection{math.\+hpp}
- \label{math_8hpp_source}\index{src/math.hpp@{src/math.hpp}}
- \mbox{\hyperlink{math_8hpp}{Go to the documentation of this file.}}
- \begin{DoxyCode}{0}
- \DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef MATH\_HPP}}
- \DoxyCodeLine{2 \textcolor{preprocessor}{\#define MATH\_HPP}}
- \DoxyCodeLine{3 }
- \DoxyCodeLine{4 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_math}{Math}}\{}
- \DoxyCodeLine{5 \textcolor{keyword}{inline} \mbox{\hyperlink{vector_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de}{Real}} \mbox{\hyperlink{namespace_math_a7e8411f9880b87ade916aee8531d0c11}{exp}}(\mbox{\hyperlink{vector_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de}{Real}} x)\{}
- \DoxyCodeLine{6 x=1+x/1024;}
- \DoxyCodeLine{7 x *= x; x *= x; x *= x; x *= x;}
- \DoxyCodeLine{8 x *= x; x *= x; x *= x; x *= x;}
- \DoxyCodeLine{9 x *= x; x *= x;}
- \DoxyCodeLine{10 \textcolor{keywordflow}{return} x;}
- \DoxyCodeLine{11 \}}
- \DoxyCodeLine{12 \}}
- \DoxyCodeLine{13 \textcolor{preprocessor}{\#endif}}
- \end{DoxyCode}
|