1 
2 /*
3  * Interface to the extended function for EIGEN lib
4  *
5  * 2014 by Jian Yang <jian.yang@uq.edu.au>
6  *
7  * This file is distributed under the GNU General Public
8  * License, Version 2.  Please see the file COPYING for more
9  * details
10  */
11 
12 #ifndef _EIGENFUNC_H
13 #define _EIGENFUNC_H
14 
15 //#ifndef EIGEN_USE_MKL_ALL
16 //#define EIGEN_USE_MKL_ALL
17 //#endif
18 
19 #include "CommFunc.h"
20 #include "StatFunc.h"
21 #include <Eigen/Dense>
22 #include <Eigen/Sparse>
23 #include <unsupported/Eigen/SparseExtra>
24 #include <unsupported/Eigen/IterativeSolvers>
25 
26 #include <map>
27 #include <vector>
28 #include <algorithm>
29 
30 using namespace Eigen;
31 using namespace std;
32 
33 namespace eigen_func
34 {
35     void rank(VectorXf &x, VectorXf &rank);
36     void inverse_norm_rank_transform(VectorXf &x);
37 }
38 
39 #endif
40 
41