CPPLapack
 All Classes Files Functions Variables Friends Pages
Functions
_dcovector-io.hpp File Reference

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const _dcovector &vec)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const _dcovector vec 
)
inline

Definition at line 22 of file _dcovector-io.hpp.

References _dcovector::array, _dcovector::destroy(), i(), and _dcovector::l.

23 {CPPL_VERBOSE_REPORT;
24  for(CPPL_INT i=0; i<vec.l; i++){
25  s << " " << vec.array[i] << std::endl;
26  }
27 
28  vec.destroy();
29  return s;
30 }
CPPL_INT l
vector size
Definition: _dcovector.hpp:9
_dgematrix i(const _dgbmatrix &mat)
void destroy() const
double * array
1D array to store vector data
Definition: _dcovector.hpp:11