arma_util.hpp File Reference
Include dependency graph for arma_util.hpp:

Go to the source code of this file.

Namespaces

 mlpack
 
strip_type.hpp
 

Functions

template
<
typename
T
>
T::elem_type * GetMemory (T &m)
 Return the matrix's allocated memory pointer, unless the matrix is using its internal preallocated memory, in which case we copy that and return a pointer to the memory we just made. More...

 
template
<
typename
T
>
size_t GetMemState (T &t)
 Get the memory state of the given Armadillo object. More...

 
template
<
typename
T
>
void SetMemState (T &t, int state)
 Set the memory state of the given Armadillo object. More...