CPPLapack
 All Classes Files Functions Variables Friends
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.

{VERBOSE_REPORT;
  s << "(" << c.i << ", " << c.j << ",  " << c.v << ")" << std::flush;
  return s;
}
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.

Referenced by dssmatrix::reorder().

{VERBOSE_REPORT;
  return a.i < b.i;
}
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.

Referenced by dssmatrix::reorder().

{VERBOSE_REPORT;
  return a.j < b.j;
}
 All Classes Files Functions Variables Friends