|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...|
|size_t||GetMemState (T &t)|
|Get the memory state of the given Armadillo object. More...|
|void||SetMemState (T &t, int state)|
|Set the memory state of the given Armadillo object. More...|
Utility function for Cython to set the memory state of an Armadillo object.
mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.
Definition in file arma_util.hpp.
|size_t GetMemState||(||T &||t||)|