blob: 563838afa3b0f63e6942d13c74c7936bea766050 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* -*- c++ -*- */
/*
* Copyright 2004,2007,2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_QUICKSORT_INDEX_H
#define INCLUDED_QUICKSORT_INDEX_H
#include <vector>
namespace gr {
namespace trellis {
template <class T>
void SWAP(T& a, T& b);
template <class T>
void quicksort_index(std::vector<T>& p, std::vector<int>& index, int left, int right);
} /* namespace trellis */
} /* namespace gr */
#endif /* INCLUDED_QUICKSORT_INDEX_H */
|