DD-AVX
2.0.0
|
Double precision vector class, This class is almost same as std::vector<double> More...
#include <DD-AVX_d_vector.hpp>
Public Member Functions | |
d_real_vector () | |
d_real_vector (const std::vector< double > &obj) | |
create vector from std::vector<double> More... | |
d_real_vector (double a) | |
create vector, all elements is a More... | |
d_real_vector (int a) | |
create vector, all elements is a More... | |
d_real_vector (long a) | |
create vector, all elements is a More... | |
d_real_vector (int n, double val) | |
create size n, all elements is val vector More... | |
d_real_vector (long n, double val) | |
create size n, all elements is val vector More... | |
std::vector< double > | HI () |
return DD's hi array More... | |
std::vector< double > | LO () |
return DD's lo array (return zero vector) More... | |
void | print_all () |
output vector elements to standard I/O More... | |
void | print (int i) |
output vector element vec[i] to standard I/O More... | |
void | input (const char *filename) |
create vector from file More... | |
void | input_mm (FILE *file) |
create vector from matrix market format file More... | |
void | input_plane (FILE *file) |
create vector from plane format file More... | |
void | output_mm (const char *filename) |
outout vector to matrix market format More... | |
void | output_plane (const char *filename) |
outout vector to plane format More... | |
void | copy (const dd_real_vector &vec) |
copy from dd_real_vector More... | |
void | copy (const d_real_vector &vec) |
copy from d_real_vector More... | |
void | copy (const std::vector< double > &vec) |
copy from std::vector More... | |
void | copy (const std::vector< dd_real > &vec) |
copy from std::vector (down cast) More... | |
d_real_vector & | operator= (const dd_real_vector &vec) |
copy from dd_real_vector More... | |
d_real_vector & | operator= (const d_real_vector &vec) |
copy from d_real_vector More... | |
d_real_vector & | operator= (const std::vector< double > &vec) |
copy from std::vector More... | |
d_real_vector & | operator= (const std::vector< dd_real > &vec) |
copy from std::vector (down cast) More... | |
bool | operator== (const dd_real_vector &vec) |
comparision More... | |
bool | operator== (const d_real_vector &vec) |
comparision More... | |
bool | operator== (const std::vector< double > &vec) |
comparision More... | |
bool | operator== (const std::vector< dd_real > &vec) |
comparision More... | |
bool | operator!= (const dd_real_vector &vec) |
comparision More... | |
bool | operator!= (const d_real_vector &vec) |
comparision More... | |
bool | operator!= (const std::vector< double > &vec) |
comparision More... | |
bool | operator!= (const std::vector< dd_real > &vec) |
comparision More... | |
operator double * () | |
cast to double precision array More... | |
operator dd_real_vector () | |
cast to dd_real_vector More... | |
void | minus () |
sign More... | |
d_real_vector | operator- () |
sign More... | |
void | add (dd_real_vector &vec1, dd_real_vector &vec2) |
all elemetnt arithmetic function More... | |
void | add (d_real_vector &vec1, dd_real_vector &vec2) |
all elemetnt arithmetic function More... | |
void | add (dd_real_vector &vec1, d_real_vector &vec2) |
all elemetnt arithmetic function More... | |
void | add (d_real_vector &vec1, d_real_vector &vec2) |
all elemetnt arithmetic function More... | |
d_real_vector | operator+ (dd_real_vector &vec) |
all elemetnt arithmetic function More... | |
d_real_vector | operator+ (d_real_vector &vec) |
all elemetnt arithmetic function More... | |
d_real_vector | operator+= (dd_real_vector &vec) |
all elemetnt arithmetic function More... | |
d_real_vector | operator+= (d_real_vector &vec) |
all elemetnt arithmetic function More... | |
void | sub (dd_real_vector &vec1, dd_real_vector &vec2) |
all elemetnt arithmetic function More... | |
void | sub (d_real_vector &vec1, dd_real_vector &vec2) |
all elemetnt arithmetic function More... | |
void | sub (dd_real_vector &vec1, d_real_vector &vec2) |
all elemetnt arithmetic function More... | |
void | sub (d_real_vector &vec1, d_real_vector &vec2) |
all elemetnt arithmetic function More... | |
d_real_vector | operator- (dd_real_vector &vec) |
all elemetnt arithmetic function More... | |
d_real_vector | operator- (d_real_vector &vec) |
all elemetnt arithmetic function More... | |
d_real_vector | operator-= (dd_real_vector &vec) |
all elemetnt arithmetic function More... | |
d_real_vector | operator-= (d_real_vector &vec) |
all elemetnt arithmetic function More... | |
void | mul (dd_real_vector &vec1, dd_real_vector &vec2) |
all elemetnt arithmetic function More... | |
void | mul (d_real_vector &vec1, dd_real_vector &vec2) |
all elemetnt arithmetic function More... | |
void | mul (dd_real_vector &vec1, d_real_vector &vec2) |
all elemetnt arithmetic function More... | |
void | mul (d_real_vector &vec1, d_real_vector &vec2) |
all elemetnt arithmetic function More... | |
d_real_vector | operator* (dd_real_vector &vec) |
all elemetnt arithmetic function More... | |
d_real_vector | operator* (d_real_vector &vec) |
all elemetnt arithmetic function More... | |
d_real_vector | operator*= (dd_real_vector &vec) |
all elemetnt arithmetic function More... | |
d_real_vector | operator*= (d_real_vector &vec) |
all elemetnt arithmetic function More... | |
void | div (dd_real_vector &vec1, dd_real_vector &vec2) |
all elemetnt arithmetic function More... | |
void | div (d_real_vector &vec1, dd_real_vector &vec2) |
all elemetnt arithmetic function More... | |
void | div (dd_real_vector &vec1, d_real_vector &vec2) |
all elemetnt arithmetic function More... | |
void | div (d_real_vector &vec1, d_real_vector &vec2) |
all elemetnt arithmetic function More... | |
d_real_vector | operator/ (dd_real_vector &vec) |
all elemetnt arithmetic function More... | |
d_real_vector | operator/ (d_real_vector &vec) |
all elemetnt arithmetic function More... | |
d_real_vector | operator/= (dd_real_vector &vec) |
all elemetnt arithmetic function More... | |
d_real_vector | operator/= (d_real_vector &vec) |
all elemetnt arithmetic function More... | |
Friends | |
class | dd_real_vector |
Double precision vector class, This class is almost same as std::vector<double>
Definition at line 9 of file DD-AVX_d_vector.hpp.
|
inline |
Definition at line 12 of file DD-AVX_d_vector.hpp.
|
inline |
create vector from std::vector<double>
Definition at line 15 of file DD-AVX_d_vector.hpp.
|
inline |
create vector, all elements is a
Definition at line 17 of file DD-AVX_d_vector.hpp.
|
inline |
create vector, all elements is a
Definition at line 19 of file DD-AVX_d_vector.hpp.
|
inline |
create vector, all elements is a
Definition at line 21 of file DD-AVX_d_vector.hpp.
|
inline |
create size n, all elements is val vector
Definition at line 24 of file DD-AVX_d_vector.hpp.
|
inline |
create size n, all elements is val vector
Definition at line 26 of file DD-AVX_d_vector.hpp.
|
inline |
return DD's hi array
Definition at line 29 of file DD-AVX_d_vector.hpp.
|
inline |
return DD's lo array (return zero vector)
Definition at line 32 of file DD-AVX_d_vector.hpp.
|
inline |
output vector elements to standard I/O
Definition at line 38 of file DD-AVX_d_vector.hpp.
|
inline |
output vector element vec[i] to standard I/O
Definition at line 44 of file DD-AVX_d_vector.hpp.
void d_real_vector::input | ( | const char * | filename | ) |
create vector from file
void d_real_vector::input_mm | ( | FILE * | file | ) |
create vector from matrix market format file
void d_real_vector::input_plane | ( | FILE * | file | ) |
create vector from plane format file
void d_real_vector::output_mm | ( | const char * | filename | ) |
outout vector to matrix market format
void d_real_vector::output_plane | ( | const char * | filename | ) |
outout vector to plane format
void d_real_vector::copy | ( | const dd_real_vector & | vec | ) |
copy from dd_real_vector
Definition at line 3 of file vector_copy.cpp.
void d_real_vector::copy | ( | const d_real_vector & | vec | ) |
copy from d_real_vector
Definition at line 8 of file vector_copy.cpp.
void d_real_vector::copy | ( | const std::vector< double > & | vec | ) |
copy from std::vector
Definition at line 13 of file vector_copy.cpp.
void d_real_vector::copy | ( | const std::vector< dd_real > & | vec | ) |
copy from std::vector (down cast)
Definition at line 18 of file vector_copy.cpp.
d_real_vector & d_real_vector::operator= | ( | const dd_real_vector & | vec | ) |
copy from dd_real_vector
Definition at line 27 of file vector_copy.cpp.
d_real_vector & d_real_vector::operator= | ( | const d_real_vector & | vec | ) |
copy from d_real_vector
Definition at line 32 of file vector_copy.cpp.
d_real_vector & d_real_vector::operator= | ( | const std::vector< double > & | vec | ) |
copy from std::vector
Definition at line 37 of file vector_copy.cpp.
d_real_vector & d_real_vector::operator= | ( | const std::vector< dd_real > & | vec | ) |
copy from std::vector (down cast)
Definition at line 42 of file vector_copy.cpp.
bool d_real_vector::operator== | ( | const dd_real_vector & | vec | ) |
comparision
Definition at line 4 of file vector_comparison.cpp.
bool d_real_vector::operator== | ( | const d_real_vector & | vec | ) |
comparision
Definition at line 12 of file vector_comparison.cpp.
bool d_real_vector::operator== | ( | const std::vector< double > & | vec | ) |
comparision
Definition at line 20 of file vector_comparison.cpp.
bool d_real_vector::operator== | ( | const std::vector< dd_real > & | vec | ) |
comparision
Definition at line 28 of file vector_comparison.cpp.
bool d_real_vector::operator!= | ( | const dd_real_vector & | vec | ) |
bool d_real_vector::operator!= | ( | const d_real_vector & | vec | ) |
comparision
Definition at line 47 of file vector_comparison.cpp.
bool d_real_vector::operator!= | ( | const std::vector< double > & | vec | ) |
comparision
Definition at line 52 of file vector_comparison.cpp.
bool d_real_vector::operator!= | ( | const std::vector< dd_real > & | vec | ) |
comparision
Definition at line 57 of file vector_comparison.cpp.
|
inline |
cast to double precision array
Definition at line 103 of file DD-AVX_d_vector.hpp.
d_real_vector::operator dd_real_vector | ( | ) |
cast to dd_real_vector
Definition at line 3 of file vector_cast.cpp.
void d_real_vector::minus | ( | ) |
sign
Definition at line 22 of file vector_minus.cpp.
d_real_vector d_real_vector::operator- | ( | ) |
sign
Definition at line 44 of file vector_minus.cpp.
void d_real_vector::add | ( | dd_real_vector & | vec1, |
dd_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 9 of file vector_add_d.cpp.
void d_real_vector::add | ( | d_real_vector & | vec1, |
dd_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 40 of file vector_add_d.cpp.
void d_real_vector::add | ( | dd_real_vector & | vec1, |
d_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 72 of file vector_add_d.cpp.
void d_real_vector::add | ( | d_real_vector & | vec1, |
d_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 77 of file vector_add_d.cpp.
d_real_vector d_real_vector::operator+ | ( | dd_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 94 of file vector_add_d.cpp.
d_real_vector d_real_vector::operator+ | ( | d_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 105 of file vector_add_d.cpp.
d_real_vector d_real_vector::operator+= | ( | dd_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 99 of file vector_add_d.cpp.
d_real_vector d_real_vector::operator+= | ( | d_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 110 of file vector_add_d.cpp.
void d_real_vector::sub | ( | dd_real_vector & | vec1, |
dd_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 9 of file vector_sub_d.cpp.
void d_real_vector::sub | ( | d_real_vector & | vec1, |
dd_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 42 of file vector_sub_d.cpp.
void d_real_vector::sub | ( | dd_real_vector & | vec1, |
d_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 76 of file vector_sub_d.cpp.
void d_real_vector::sub | ( | d_real_vector & | vec1, |
d_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 111 of file vector_sub_d.cpp.
d_real_vector d_real_vector::operator- | ( | dd_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 127 of file vector_sub_d.cpp.
d_real_vector d_real_vector::operator- | ( | d_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 138 of file vector_sub_d.cpp.
d_real_vector d_real_vector::operator-= | ( | dd_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 132 of file vector_sub_d.cpp.
d_real_vector d_real_vector::operator-= | ( | d_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 143 of file vector_sub_d.cpp.
void d_real_vector::mul | ( | dd_real_vector & | vec1, |
dd_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 9 of file vector_mul_d.cpp.
void d_real_vector::mul | ( | d_real_vector & | vec1, |
dd_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 72 of file vector_mul_d.cpp.
void d_real_vector::mul | ( | dd_real_vector & | vec1, |
d_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 40 of file vector_mul_d.cpp.
void d_real_vector::mul | ( | d_real_vector & | vec1, |
d_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 77 of file vector_mul_d.cpp.
d_real_vector d_real_vector::operator* | ( | dd_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 94 of file vector_mul_d.cpp.
d_real_vector d_real_vector::operator* | ( | d_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 105 of file vector_mul_d.cpp.
d_real_vector d_real_vector::operator*= | ( | dd_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 99 of file vector_mul_d.cpp.
d_real_vector d_real_vector::operator*= | ( | d_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 110 of file vector_mul_d.cpp.
void d_real_vector::div | ( | dd_real_vector & | vec1, |
dd_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 9 of file vector_div_d.cpp.
void d_real_vector::div | ( | d_real_vector & | vec1, |
dd_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 30 of file vector_div_d.cpp.
void d_real_vector::div | ( | dd_real_vector & | vec1, |
d_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 51 of file vector_div_d.cpp.
void d_real_vector::div | ( | d_real_vector & | vec1, |
d_real_vector & | vec2 | ||
) |
all elemetnt arithmetic function
Definition at line 72 of file vector_div_d.cpp.
d_real_vector d_real_vector::operator/ | ( | dd_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 88 of file vector_div_d.cpp.
d_real_vector d_real_vector::operator/ | ( | d_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 99 of file vector_div_d.cpp.
d_real_vector d_real_vector::operator/= | ( | dd_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 93 of file vector_div_d.cpp.
d_real_vector d_real_vector::operator/= | ( | d_real_vector & | vec | ) |
all elemetnt arithmetic function
Definition at line 104 of file vector_div_d.cpp.
|
friend |
Definition at line 10 of file DD-AVX_d_vector.hpp.