Go to the source code of this file.
Namespaces | |
mlpack | |
Linear algebra utility functions, generally performed on matrices or vectors. | |
mlpack::util | |
Functions | |
void | DisableBacktrace () |
Disable backtraces. More... | |
void | DisableVerbose () |
Turn verbose output off. More... | |
void | EnableTimers () |
Enable timing. More... | |
void | EnableVerbose () |
Turn verbose output on. More... | |
template < typename T > | |
T * | GetParamPtr (util::Params &p, const std::string ¶mName) |
Return a pointer. More... | |
template < typename T > | |
T & | GetParamWithInfo (util::Params ¶ms, const std::string ¶mName) |
Return the matrix part of a matrix + dataset info parameter. More... | |
void | ResetTimers () |
Reset the status of all timers. More... | |
template < typename T > | |
void | SetParam (util::Params &p, const std::string &identifier, T &value) |
Set the parameter to the given value. More... | |
template < typename T > | |
void | SetParamPtr (util::Params ¶ms, const std::string &identifier, T *value, const bool copy) |
Set the parameter to the given value, given that the type is a pointer. More... | |
template < typename T > | |
void | SetParamWithInfo (util::Params ¶ms, const std::string &identifier, T &matrix, const bool *dims) |
Set the parameter (which is a matrix/DatasetInfo tuple) to the given value. More... | |
Simple function to work around Cython's lack of support for lvalue references.
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 io_util.hpp.