make_alias.hpp File Reference
Include dependency graph for make_alias.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlpack
 
Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::ann
 
Artificial Neural Network.
 

Functions

template
<
typename
MatType
>
void MakeAlias (MatType &m, typename MatType::elem_type *newMem, const size_t numRows, const size_t numCols)
 Reconstruct m as an alias around the memory newMem, with size numRows x numCols. More...

 
template
<
typename
CubeType
>
void MakeAlias (CubeType &c, typename CubeType::elem_type *newMem, const size_t numRows, const size_t numCols, const size_t numSlices)
 Reconstruct c as an alias around the memorynewMem, with size numRows x numCols x numSlices. More...