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++){
33 if(size() != vec1.size() || size() != vec2.
size()){
34 std::cerr <<
"error bad vector size" << std::endl;
38 #pragma omp parallel for
39 for(
int i=0 ; i<size() ; i++){
43 b.x[0] = vec1.data()[i];
56 if(size() != vec1.
size() || size() != vec2.size()){
57 std::cerr <<
"error bad vector size" << std::endl;
61 #pragma omp parallel for
62 for(
int i=0 ; i<size() ; i++){
68 c.x[0] = vec2.data()[i];
78 if(size() != vec1.size() || size() != vec2.size()){
79 std::cerr <<
"error bad vector size" << std::endl;
83 #pragma omp parallel for
84 for(
int i=0 ; i<size() ; i++){
88 b.x[0] = vec1.data()[i];
90 c.x[0] = vec2.data()[i];
Double precision vector class, This class is almost same as std::vector<double>
Double-double precision vector class.
dd_real_vector operator/=(dd_real_vector &vec)
all elemetnt arithmetic function
dd_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