#include "tarch/la/Vector.h"
#include "tarch/la/Matrix.h"
#include <vector>
#include "CompressedLinearAlgebra.cpph"
Go to the source code of this file.
|
| template<int Size> |
| std::vector< unsigned char > | toolbox::multiprecision::compress (const tarch::la::Vector< Size, double > &vector, double maxAbsoluteError) |
| | Take a vector and compress it into a byte stream.
|
| |
| template<int Rows, int Cols> |
| std::vector< unsigned char > | toolbox::multiprecision::compress (const tarch::la::Matrix< Rows, Cols, double > &matrix, double maxAbsoluteError) |
| |
| template<int Size> |
| tarch::la::Vector< Size, double > | toolbox::multiprecision::uncompressVector (const std::vector< unsigned char > &stream) |
| | Can't call it decompress only, as the result data type is not part of the signature, i.e.
|
| |
| template<int Rows, int Cols> |
| tarch::la::Matrix< Rows, Cols, double > | toolbox::multiprecision::uncompressMatrix (const std::vector< unsigned char > &stream) |
| |