- removed armadillo support

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@898 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-05-30 11:02:06 +00:00
parent a8b9744f54
commit 8831a68f50
+1 -26
View File
@@ -9,7 +9,6 @@
#define _RADIO_VECTOR_HPP_
#define VECTOR_USE_EIGEN
//#define VECTOR_USE_ARMADILLO
#include <complex>
#include <radio/radio_types.h>
@@ -44,31 +43,7 @@ typedef Eigen::Map<RVec> RMap;
#endif
#ifdef VECTOR_USE_ARMADILLO
#if 1
template <typename T>
class Vec : public arma::Col<T>
{
public:
void setZero()
{
}
};
class RVec : public Vec<RealScalar>
{
};
class CVec : public Vec<ComplexScalar>
{
};
#endif
//typedef arma::col<RealScalar> RVec;
//typedef arma::col<ComplexScalar> CVec;
typedef arma::Mat<RealScalar> RMat;
typedef arma::Mat<ComplexScalar> CMat;
typedef arma::Map<RVec> RMap;
#error "Vector: Implement armadillo support!"
#endif
static ComplexScalar toComplexScalar(cpx_t v)