Merge branch release-2016
[gromacs.git] / src / external / tng_io / include / compression / bwt.h
blobfedfc3d0adc245a235780b46b3c5e9dab61e8c84
1 /* This code is part of the tng compression routines.
3 * Written by Daniel Spangberg
4 * Copyright (c) 2010, 2013, The GROMACS development team.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the Revised BSD License.
9 */
12 #ifndef BWT_H
13 #define BWT_H
15 void Ptngc_comp_to_bwt(unsigned int *vals, const int nvals,
16 unsigned int *output, int *index);
18 void Ptngc_comp_from_bwt(unsigned int *input, const int nvals, int index,
19 unsigned int *vals);
21 void Ptngc_bwt_merge_sort_inner(int *indices, const int nvals, unsigned int *vals,
22 const int start, const int end,
23 unsigned int *nrepeat,
24 int *workarray);
26 #endif