.TH "/var/www/mlpack.ratml.org/mlpack.org/_src/mlpack-3.3.0/src/mlpack/bindings/python/mlpack/arma_util.hpp" 3 "Mon Aug 31 2020" "Version 3.1.1" "mlpack" \" -*- nroff -*-
.ad l
.nh
.SH NAME
/var/www/mlpack.ratml.org/mlpack.org/_src/mlpack-3.3.0/src/mlpack/bindings/python/mlpack/arma_util.hpp
.SH SYNOPSIS
.br
.PP
.SS "Functions"

.in +1c
.ti -1c
.RI "template<typename T > T::elem_type * \fBGetMemory\fP (T &m)"
.br
.RI "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\&. "
.ti -1c
.RI "template<typename T > size_t \fBGetMemState\fP (T &t)"
.br
.RI "Get the memory state of the given Armadillo object\&. "
.ti -1c
.RI "template<typename T > void \fBSetMemState\fP (T &t, int state)"
.br
.RI "Set the memory state of the given Armadillo object\&. "
.in -1c
.SH "Detailed Description"
.PP 

.PP
\fBAuthor:\fP
.RS 4
Ryan Curtin
.RE
.PP
Utility function for Cython to set the memory state of an Armadillo object\&.
.PP
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\&. 
.PP
Definition in file \fBarma_util\&.hpp\fP\&.
.SH "Function Documentation"
.PP 
.SS "T::elem_type* GetMemory (T & m)\fC [inline]\fP"

.PP
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\&. 
.PP
Definition at line 47 of file arma_util\&.hpp\&.
.SS "size_t GetMemState (T & t)"

.PP
Get the memory state of the given Armadillo object\&. 
.PP
Definition at line 31 of file arma_util\&.hpp\&.
.SS "void SetMemState (T & t, int state)"

.PP
Set the memory state of the given Armadillo object\&. 
.PP
Definition at line 22 of file arma_util\&.hpp\&.
.SH "Author"
.PP 
Generated automatically by Doxygen for mlpack from the source code\&.
