17 inline dcomponent(
const CPPL_INT& _i,
const CPPL_INT& _j,
const double& _v) :
i(_i),
j(_j),
v(_v){ ; }
34 s <<
"(" << c.
i <<
", " << c.
j <<
", " << c.
v <<
")" << std::flush;
std::ostream & operator<<(std::ostream &s, const dcomponent &c)
Component Class for Real Double-precision Sparse Matrix Classes.
double v
value of the component
CPPL_INT i
i index of the component
dcomponent(const CPPL_INT &_i, const CPPL_INT &_j, const double &_v)
static bool jlt(const dcomponent &, const dcomponent &)
static bool ilt(const dcomponent &, const dcomponent &)
CPPL_INT j
j index of the component
friend std::ostream & operator<<(std::ostream &, const dcomponent &)