| OpenMS 2.5.0

Namespaces | Macros | Functions
MSNumpress.h File Reference
`#include <cstddef>`
`#include <vector>`

Go to the source code of this file.

## Namespaces

| ms
| ms::numpress
| ms::numpress::MSNumpress

## Macros

#define | MS_NUMPRESS_THROW_ON_OVERFLOW true

## Functions

double | optimalLinearFixedPoint (const double *data, size_t dataSize)
double | optimalLinearFixedPointMass (const double *data, size_t dataSize, double mass_acc)
size_t | encodeLinear (const double *data, const size_t dataSize, unsigned char *result, double fixedPoint)
void | encodeLinear (const std::vector< double > &data, std::vector< unsigned char > &result, double fixedPoint)
size_t | decodeLinear (const unsigned char *data, const size_t dataSize, double *result)
void | decodeLinear (const std::vector< unsigned char > &data, std::vector< double > &result)
size_t | encodeSafe (const double *data, const size_t dataSize, unsigned char *result)
size_t | decodeSafe (const unsigned char *data, const size_t dataSize, double *result)
size_t | encodePic (const double *data, const size_t dataSize, unsigned char *result)
void | encodePic (const std::vector< double > &data, std::vector< unsigned char > &result)
size_t | decodePic (const unsigned char *data, const size_t dataSize, double *result)
void | decodePic (const std::vector< unsigned char > &data, std::vector< double > &result)
double | optimalSlofFixedPoint (const double *data, size_t dataSize)
size_t | encodeSlof (const double *data, const size_t dataSize, unsigned char *result, double fixedPoint)
void | encodeSlof (const std::vector< double > &data, std::vector< unsigned char > &result, double fixedPoint)
size_t | decodeSlof (const unsigned char *data, const size_t dataSize, double *result)
void | decodeSlof (const std::vector< unsigned char > &data, std::vector< double > &result)

## Macro Definition Documentation

## ◆ MS_NUMPRESS_THROW_ON_OVERFLOW

#define MS_NUMPRESS_THROW_ON_OVERFLOW true