\section{Naive\+Kernel\+Rule$<$ Kernel\+Type $>$ Class Template Reference}
\label{classmlpack_1_1kpca_1_1NaiveKernelRule}\index{Naive\+Kernel\+Rule$<$ Kernel\+Type $>$@{Naive\+Kernel\+Rule$<$ Kernel\+Type $>$}}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \textbf{ Apply\+Kernel\+Matrix} (const arma\+::mat \&data, arma\+::mat \&transformed\+Data, arma\+::vec \&eigval, arma\+::mat \&eigvec, const size\+\_\+t, Kernel\+Type kernel=Kernel\+Type())
\begin{DoxyCompactList}\small\item\em Construct the exact kernel matrix. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Kernel\+Type$>$\newline
class mlpack\+::kpca\+::\+Naive\+Kernel\+Rule$<$ Kernel\+Type $>$}



Definition at line 22 of file naive\+\_\+method.\+hpp.



\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1kpca_1_1NaiveKernelRule_a38b9096fb257a933f5681831c9654671}} 
\index{mlpack\+::kpca\+::\+Naive\+Kernel\+Rule@{mlpack\+::kpca\+::\+Naive\+Kernel\+Rule}!Apply\+Kernel\+Matrix@{Apply\+Kernel\+Matrix}}
\index{Apply\+Kernel\+Matrix@{Apply\+Kernel\+Matrix}!mlpack\+::kpca\+::\+Naive\+Kernel\+Rule@{mlpack\+::kpca\+::\+Naive\+Kernel\+Rule}}
\subsubsection{Apply\+Kernel\+Matrix()}
{\footnotesize\ttfamily static void Apply\+Kernel\+Matrix (\begin{DoxyParamCaption}\item[{const arma\+::mat \&}]{data,  }\item[{arma\+::mat \&}]{transformed\+Data,  }\item[{arma\+::vec \&}]{eigval,  }\item[{arma\+::mat \&}]{eigvec,  }\item[{const size\+\_\+t}]{,  }\item[{Kernel\+Type}]{kernel = {\ttfamily KernelType()} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Construct the exact kernel matrix. 


\begin{DoxyParams}{Parameters}
{\em data} & Input data points. \\
\hline
{\em transformed\+Data} & Matrix to output results into. \\
\hline
{\em eigval} & K\+P\+CA eigenvalues will be written to this vector. \\
\hline
{\em eigvec} & K\+P\+CA eigenvectors will be written to this matrix. \\
\hline
{\em rank} & Rank to be used for matrix approximation. \\
\hline
{\em kernel} & Kernel to be used for computation. \\
\hline
\end{DoxyParams}


Definition at line 35 of file naive\+\_\+method.\+hpp.



References Log\+::\+Fatal.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/3.\+3.\+0/src/mlpack/methods/kernel\+\_\+pca/kernel\+\_\+rules/\textbf{ naive\+\_\+method.\+hpp}\end{DoxyCompactItemize}
