\section{src/cxvec.c File Reference}
\label{cxvec_8c}\index{src/cxvec.\+c@{src/cxvec.\+c}}


Osmocom Complex vectors implementation.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ osmo\+\_\+cxvec\+\_\+init\+\_\+from\+\_\+data} (struct \textbf{ osmo\+\_\+cxvec} $\ast$cv, float complex $\ast$data, int len)
\begin{DoxyCompactList}\small\item\em Initialize a vector structure with a given data array. \end{DoxyCompactList}\item 
struct \textbf{ osmo\+\_\+cxvec} $\ast$ \textbf{ osmo\+\_\+cxvec\+\_\+alloc\+\_\+from\+\_\+data} (float complex $\ast$data, int len)
\begin{DoxyCompactList}\small\item\em Allocate a complex vector referencing a given data array. \end{DoxyCompactList}\item 
struct \textbf{ osmo\+\_\+cxvec} $\ast$ \textbf{ osmo\+\_\+cxvec\+\_\+alloc} (int max\+\_\+len)
\begin{DoxyCompactList}\small\item\em Allocate a complex vector of a given maximum length. \end{DoxyCompactList}\item 
void \textbf{ osmo\+\_\+cxvec\+\_\+free} (struct \textbf{ osmo\+\_\+cxvec} $\ast$cv)
\begin{DoxyCompactList}\small\item\em Free a complex vector (and possibly associated data) \end{DoxyCompactList}\item 
void \textbf{ osmo\+\_\+cxvec\+\_\+dbg\+\_\+dump} (struct \textbf{ osmo\+\_\+cxvec} $\ast$cv, const char $\ast$fname)
\begin{DoxyCompactList}\small\item\em Save the data contained of a vector into a .cfile for debug. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Osmocom Complex vectors implementation. 

