![]() |
IA_CoMP
Interference Alignment and Coordinated Multipoint
|
00001 00002 #include <itpp/itbase.h> 00003 #include <itpp/itcomm.h> 00004 #include <complex> 00005 00006 using namespace itpp; 00007 00008 int main( int argc, char *argv[]) 00009 { 00010 cvec v1; 00011 cvec v2; 00012 cvec v3; 00013 cmat m1,m2,m3; 00014 00015 v1="(5,3),(-13,-4),(3,36)"; // (real,imag) 00016 v2="(28,-13),(30,7),(-1,7)"; // (real,imag) 00017 00018 v3=v1+v2; 00019 //std::cout << "v3=" << v3 << std::endl; 00020 00021 ivec r="0:1:10"; 00022 //std::cout << "r=" << r << "\n"; 00023 00024 m1=randn_c(1000,1000); 00025 m2=randn_c(1000,1000); 00026 00027 Real_Timer timer; 00028 timer.start(); 00029 m3=m1*m2; 00030 timer.stop(); 00031 std::cout << "row=" << m3.get_row(1) << "\n"; 00032 std::cout << "timer.get_time()=" << timer.get_time() << std::endl; 00033 00034 00035 00036 } 00037