1 #include<DD-AVX_internal.hpp>
5 bool ret = (size() == vec.
size());
6 if(ret ==
false)
return false;
8 ret = ret && std::equal(vec.
hi.cbegin(), vec.
hi.cend(), cbegin());
13 bool ret = (size() == vec.size());
14 if(ret ==
false)
return false;
16 ret = ret && std::equal(vec.cbegin(), vec.cend(), cbegin());
21 bool ret = (size() == vec.size());
22 if(ret ==
false)
return false;
24 ret = ret && std::equal(vec.cbegin(), vec.cend(), cbegin());
29 bool ret = (size() == vec.size());
30 if(ret ==
false)
return false;
33 for(
int i=0; i < vec.size(); i++){
34 ret = ret && at(i) == vec[i].x[0];
35 if(ret ==
false)
return ret;
43 bool ret = (*
this == vec);
48 bool ret = (*
this == vec);
53 bool ret = (*
this == vec);
58 bool ret = (*
this == vec);
66 if(ret ==
false)
return false;
68 ret = ret && std::equal(vec.
hi.cbegin(), vec.
hi.cend(),
hi.cbegin());
69 ret = ret && std::equal(vec.
lo.cbegin(), vec.
lo.cend(),
lo.cbegin());
74 bool ret = (
size() == vec.size());
75 if(ret ==
false)
return false;
77 ret = ret && std::equal(vec.cbegin(), vec.cend(),
hi.cbegin());
82 bool ret = (
size() == vec.size());
83 if(ret ==
false)
return false;
85 ret = ret && std::equal(vec.cbegin(), vec.cend(),
hi.cbegin());
90 bool ret = (
size() == vec.size());
91 if(ret ==
false)
return false;
94 for(
int i=0; i < vec.size(); i++){
95 ret = ret &&
hi[i] == vec[i].x[0] &&
lo[i] == vec[i].x[1];
96 if(ret ==
false)
return ret;
103 bool ret = (*
this == vec);
108 bool ret = (*
this == vec);
113 bool ret = (*
this == vec);
118 bool ret = (*
this == vec);
Double precision vector class, This class is almost same as std::vector<double>
bool operator==(const dd_real_vector &vec)
comparision
bool operator!=(const dd_real_vector &vec)
comparision
Double-double precision vector class.
bool operator!=(const dd_real_vector &vec)
comparision function
bool operator==(const dd_real_vector &vec)
comparision function