6 std::cerr <<
"# [MARK] _zcovector::operator()(const long&) const"
12 std::cerr <<
"[ERROR] _zcovector::operator()(const long&) const"
14 <<
"The required component is out of the vector size."
16 <<
"Your input was (" << i <<
")." << std::endl;
29 inline std::ostream& operator<<(std::ostream& s,
const _zcovector& vec)
32 std::cerr <<
"# [MARK] operator<<(std::ostream&, const _zcovector&)"
36 for(
long i=0; i<vec.
L; i++){
37 s <<
" " << vec.
Array[i] << std::endl;
49 inline void _zcovector::write(
const char* filename)
const
52 std::cerr <<
"# [MARK] _zcovector::write(const char*) const"
56 std::ofstream s(filename, std::ios::trunc);
58 s <<
"zcovector" <<
" " <<
L << std::endl;
59 for(
long i=0; i<
L; i++){
void destroy() const
Definition: _zcovector-misc.hpp:3
std::complex< double > * Array
1D Array to store vector data
Definition: _zcovector.hpp:8
std::complex< double > & operator()(const long &) const
Definition: _zcovector-io.hpp:3
(DO NOT USE) Smart-temporary Complex Double-precision Column Vector Class
Definition: _zcovector.hpp:3
long L
vector size
Definition: _zcovector.hpp:7