GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
base.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2002,2012 Free Software Foundation, Inc.
4
*
5
* This file is part of GNU Radio
6
*
7
* SPDX-License-Identifier: GPL-3.0-or-later
8
*
9
*/
10
11
#ifndef INCLUDED_TRELLIS_BASE_H
12
#define INCLUDED_TRELLIS_BASE_H
13
14
#include <vector>
15
16
namespace
gr
{
17
namespace
trellis {
18
19
/*!
20
* \brief change base
21
*/
22
23
bool
dec2base
(
unsigned
int
num,
int
base, std::vector<int>& s);
24
bool
dec2bases
(
unsigned
int
num,
const
std::vector<int>& bases, std::vector<int>& s);
25
unsigned
int
base2dec
(
const
std::vector<int>& s,
int
base);
26
unsigned
int
bases2dec
(
const
std::vector<int>& s,
const
std::vector<int>& bases);
27
28
}
/* namespace trellis */
29
}
/* namespace gr */
30
31
#endif
/* INCLUDED_TRELLIS_BASE_H */
gr::trellis::dec2base
bool dec2base(unsigned int num, int base, std::vector< int > &s)
change base
gr::trellis::dec2bases
bool dec2bases(unsigned int num, const std::vector< int > &bases, std::vector< int > &s)
gr::trellis::bases2dec
unsigned int bases2dec(const std::vector< int > &s, const std::vector< int > &bases)
gr::trellis::base2dec
unsigned int base2dec(const std::vector< int > &s, int base)
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr-trellis
include
gnuradio
trellis
base.h
Generated by
1.8.17