CPPLapack
 All Classes Files Functions Variables Friends Pages
Classes | Functions
zcomponent.hpp File Reference

Go to the source code of this file.

Classes

class  zcomponent
 Component Class for Complex Double-precision Sparse Matrix Classes. More...
 

Functions

std::ostream & operator<< (std::ostream &s, const zcomponent &c)
 
bool ilt (const zcomponent &a, const zcomponent &b)
 
bool jlt (const zcomponent &a, const zcomponent &b)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const zcomponent c 
)
inline

Definition at line 30 of file zcomponent.hpp.

References zcomponent::i, zcomponent::j, and zcomponent::v.

31 {CPPL_VERBOSE_REPORT;
32  s << "(" << c.i << ", " << c.j << ", " << c.v << ")" << std::flush;
33  return s;
34 }
comple v
value of the component
Definition: zcomponent.hpp:11
CPPL_INT j
j index of the component
Definition: zcomponent.hpp:10
CPPL_INT i
i index of the component
Definition: zcomponent.hpp:9
bool ilt ( const zcomponent a,
const zcomponent b 
)
inline

lessthan function for i of zcomponent

Definition at line 42 of file zcomponent.hpp.

References zcomponent::i.

43 {CPPL_VERBOSE_REPORT;
44  return a.i < b.i;
45 }
CPPL_INT i
i index of the component
Definition: zcomponent.hpp:9
bool jlt ( const zcomponent a,
const zcomponent b 
)
inline

lessthan function for j of zcomponent

Definition at line 49 of file zcomponent.hpp.

References zcomponent::j.

50 {CPPL_VERBOSE_REPORT;
51  return a.j < b.j;
52 }
CPPL_INT j
j index of the component
Definition: zcomponent.hpp:10