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

Go to the source code of this file.

Namespaces

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

Functions

void CheckMatrices (const arma::mat &x, const arma::mat &xmlX, const arma::mat &textX, const arma::mat &binaryX)
 
void CheckMatrices (const arma::Mat< size_t > &x, const arma::Mat< size_t > &xmlX, const arma::Mat< size_t > &textX, const arma::Mat< size_t > &binaryX)
 
void CheckMatrices (const arma::cube &x, const arma::cube &xmlX, const arma::cube &textX, const arma::cube &binaryX)
 
template
<
typename
T
,
typename
IArchiveType
,
typename
OArchiveType
>
void SerializeObject (T &t, T &newT)
 
template
<
typename
T
>
void SerializeObjectAll (T &t, T &xmlT, T &textT, T &binaryT)
 
template
<
typename
T
,
typename
IArchiveType
,
typename
OArchiveType
>
void SerializePointerObject (T *t, T *&newT)
 
template
<
typename
T
>
void SerializePointerObjectAll (T *t, T *&xmlT, T *&textT, T *&binaryT)
 
template
<
typename
CubeType
>
void TestAllArmadilloSerialization (arma::Cube< CubeType > &x)
 
template
<
typename
MatType
>
void TestAllArmadilloSerialization (MatType &x)
 
template
<
typename
CubeType
,
typename
IArchiveType
,
typename
OArchiveType
>
void TestArmadilloSerialization (arma::Cube< CubeType > &x)
 
template
<
typename
MatType
,
typename
IArchiveType
,
typename
OArchiveType
>
void TestArmadilloSerialization (MatType &x)
 

Detailed Description

Author
Ryan Curtin

Miscellaneous utility functions for serialization tests.

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