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

Go to the source code of this file.

Functions

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

Function Documentation

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

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

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

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