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