oILAB
Loading...
Searching...
No Matches
RLLL.h
Go to the documentation of this file.
1/* This file is part of gbLAB.
2 *
3 * gbLAB is distributed without any warranty under the MIT License.
4 */
5
6
7#ifndef gbLAB_RLLL_h_
8#define gbLAB_RLLL_h_
9
10#include <iostream>
11#include <iomanip>
12#include <cfloat> // FLT_EPSILON
13#include "Eigen/Dense"
14
15namespace gbLAB
16{
17
18
19 class RLLL
20 {/* Ying Hung Gan, Cong Ling, Complex Lattice Reduction Algorithm for Low-Complexity Full-Diversity MIMO Detection
21 * IEEE TRANSACTIONS ON SIGNAL PROCESSING, VOL. 57, NO. 7, JULY 2009
22 */
23
24 typedef Eigen::MatrixXd MatrixType;
25 typedef Eigen::VectorXd VectorType;
26
27
29 Eigen::Matrix<long long int,Eigen::Dynamic,Eigen::Dynamic> U;
30
31 /**********************************************************************/
32 void update(VectorType& H,
33 MatrixType& M,
34 const int& k);
35 /**********************************************************************/
36 void size_reduce(MatrixType& M,
37 const int& k,
38 const int& j);
39 public:
40
41
42 /**********************************************************************/
43 RLLL(const MatrixType& B0,
44 const double& delta) ;
45
46 /**********************************************************************/
47 const MatrixType& reducedBasis() const;
48 /**********************************************************************/
49 const Eigen::Matrix<long long int,Eigen::Dynamic,Eigen::Dynamic>& unimodularMatrix() const;
50
51 };
52
53
54} // end namespace
55#endif
56
57
Eigen::MatrixXd MatrixType
Definition RLLL.h:24
Eigen::VectorXd VectorType
Definition RLLL.h:25
Eigen::Matrix< long long int, Eigen::Dynamic, Eigen::Dynamic > U
Definition RLLL.h:29
void update(VectorType &H, MatrixType &M, const int &k)
Definition RLLL.cpp:18
const MatrixType & reducedBasis() const
Definition RLLL.cpp:192
const Eigen::Matrix< long long int, Eigen::Dynamic, Eigen::Dynamic > & unimodularMatrix() const
Definition RLLL.cpp:198
MatrixType B
Definition RLLL.h:28
void size_reduce(MatrixType &M, const int &k, const int &j)
Definition RLLL.cpp:52