1 #include<DD-AVX_internal.hpp>
3 using namespace ddavx_core;
11 if(size() != vec1.
size() || size() != vec2.
size()){
12 std::cerr <<
"error bad vector size" << std::endl;
16 #pragma omp parallel for
17 for(
int i=0 ; i<size() ; i++){
32 if(size() != vec1.size() || size() != vec2.
size()){
33 std::cerr <<
"error bad vector size" << std::endl;
37 #pragma omp parallel for
38 for(
int i=0 ; i<size() ; i++){
42 b.x[0] = vec1.data()[i];
53 if(size() != vec1.
size() || size() != vec2.size()){
54 std::cerr <<
"error bad vector size" << std::endl;
58 #pragma omp parallel for
59 for(
int i=0 ; i<size() ; i++){
65 c.x[0] = vec2.data()[i];
74 if(size() != vec1.size() || size() != vec2.size()){
75 std::cerr <<
"error bad vector size" << std::endl;
79 #pragma omp parallel for
80 for(
int i=0 ; i<size() ; i++){
81 data()[i] = vec1.data()[i] / vec2.data()[i];
Double precision vector class, This class is almost same as std::vector<double>
d_real_vector operator/=(dd_real_vector &vec)
all elemetnt arithmetic function
d_real_vector operator/(dd_real_vector &vec)
all elemetnt arithmetic function
void div(dd_real_vector &vec1, dd_real_vector &vec2)
all elemetnt arithmetic function
Double-double precision vector class.