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

Go to the source code of this file.


Linear algebra utility functions, generally performed on matrices or vectors.


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...


Detailed Description

Ryan Curtin

Utility function for Go to get memory pointer 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 for more information.

Definition in file arma_util.hpp.