|
OpenMS
2.5.0
|
Go to the documentation of this file.
74 #ifndef MS_NUMPRESS_THROW_ON_OVERFLOW
75 #define MS_NUMPRESS_THROW_ON_OVERFLOW true
81 namespace MSNumpress {
136 const size_t dataSize,
137 unsigned char *result,
147 const std::vector<double> &data,
148 std::vector<unsigned char> &result,
166 const unsigned char *data,
167 const size_t dataSize,
181 const std::vector<unsigned char> &data,
182 std::vector<double> &result);
201 const size_t dataSize,
202 unsigned char *result);
218 const unsigned char *data,
219 const size_t dataSize,
239 const size_t dataSize,
240 unsigned char *result);
249 const std::vector<double> &data,
250 std::vector<unsigned char> &result);
267 const unsigned char *data,
268 const size_t dataSize,
282 const std::vector<unsigned char> &data,
283 std::vector<double> &result);
307 const size_t dataSize,
308 unsigned char *result,
318 const std::vector<double> &data,
319 std::vector<unsigned char> &result,
335 const unsigned char *data,
336 const size_t dataSize,
348 const std::vector<unsigned char> &data,
349 std::vector<double> &result);
size_t decodeSlof(const unsigned char *data, const size_t dataSize, double *result)
double optimalSlofFixedPoint(const double *data, size_t dataSize)
double optimalLinearFixedPointMass(const double *data, size_t dataSize, double mass_acc)
size_t encodePic(const double *data, const size_t dataSize, unsigned char *result)
size_t encodeSlof(const double *data, const size_t dataSize, unsigned char *result, double fixedPoint)
size_t encodeLinear(const double *data, const size_t dataSize, unsigned char *result, double fixedPoint)
size_t decodeSafe(const unsigned char *data, const size_t dataSize, double *result)
size_t decodeLinear(const unsigned char *data, const size_t dataSize, double *result)
double optimalLinearFixedPoint(const double *data, size_t dataSize)
Definition: MSNumpress.h:78
size_t decodePic(const unsigned char *data, const size_t dataSize, double *result)
size_t encodeSafe(const double *data, const size_t dataSize, unsigned char *result)