1 #include<DD-AVX_internal.hpp>
5 std::copy(vec.
hi.begin(), vec.
hi.end(), begin());
10 std::copy(vec.begin(), vec.end(), begin());
15 std::copy(vec.begin(), vec.end(), begin());
21 #pragma omp parallel for
22 for(
int i=0; i < vec.size(); i++){
50 std::copy(vec.
hi.begin(), vec.
hi.end(),
hi.begin());
51 std::copy(vec.
lo.begin(), vec.
lo.end(),
lo.begin());
57 std::copy(vec.begin(), vec.end(),
hi.begin());
58 std::fill(this->
lo.begin(), this->lo.end(), 0.0);
64 std::copy(vec.begin(), vec.end(),
hi.begin());
65 std::fill(this->
lo.begin(), this->lo.end(), 0.0);
70 hi.resize(vec.size());
71 lo.resize(vec.size());
73 #pragma omp parallel for
74 for(
int i=0; i < vec.size(); i++){
Double precision vector class, This class is almost same as std::vector<double>
void copy(const dd_real_vector &vec)
copy from dd_real_vector
d_real_vector & operator=(const dd_real_vector &vec)
copy from dd_real_vector
Double-double precision vector class.
void copy(const dd_real_vector &vec)
copy from dd_real_vector
dd_real_vector & operator=(const dd_real_vector &vec)
copy from dd_real_vector
void resize(int n)
resize, this method is almost same as std::vector