6 std::cerr <<
"# [MARK] _dcovector::operator()(const long&) const"
12 std::cerr <<
"[ERROR] _dcovector::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 _dcovector& vec)
32 std::cerr <<
"# [MARK] operator<<(std::ostream&, const _dcovector&)"
36 for(
long i=0; i<vec.
L; i++){
37 s <<
" " << vec.
Array[i] << std::endl;
49 inline void _dcovector::write(
const char *filename)
const
52 std::cerr <<
"# [MARK] _dcovector::write(const char*) const"
56 std::ofstream s(filename, std::ios::trunc);
58 s <<
"dcovector" <<
" " <<
L << std::endl;
59 for(
long i=0; i<
L; i++){
double & operator()(const long &) const
Definition: _dcovector-io.hpp:3
double * Array
1D Array to store vector data
Definition: _dcovector.hpp:8
long L
vector size
Definition: _dcovector.hpp:7
void destroy() const
Definition: _dcovector-misc.hpp:3
(DO NOT USE) Smart-temporary Real Double-precision Column Vector Class
Definition: _dcovector.hpp:3