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

Go to the source code of this file.


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


void DisableBacktrace ()
 Disable backtraces. More...

void DisableVerbose ()
 Turn verbose output off. More...

void EnableTimers ()
 Enable timing. More...

void EnableVerbose ()
 Turn verbose output on. More...

T * GetParamPtr (const std::string ¶mName)
 Return a pointer. More...

T & GetParamWithInfo (const std::string ¶mName)
 Return the matrix part of a matrix + dataset info parameter. More...

void ResetTimers ()
 Reset the status of all timers. More...

void SetParam (const std::string &identifier, T &value)
 Set the parameter to the given value. More...

void SetParamPtr (const std::string &identifier, T *value, const bool copy)
 Set the parameter to the given value, given that the type is a pointer. More...

void SetParamWithInfo (const std::string &identifier, T &matrix, const bool *dims)
 Set the parameter (which is a matrix/DatasetInfo tuple) to the given value. More...


Detailed Description

Ryan Curtin

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 for more information.

Definition in file io_util.hpp.