CPPLapack
Public Member Functions | Static Public Member Functions | Public Attributes | Friends
dcomponent Class Reference

Component Class for Real Double-precision Sparse Matrix Classes. More...

#include <dcomponent.hpp>

List of all members.

Public Member Functions

 dcomponent ()
 dcomponent (const uint32_t &_i, const uint32_t &_j, const double &_v)

Static Public Member Functions

static bool ilt (const dcomponent &, const dcomponent &)
static bool jlt (const dcomponent &, const dcomponent &)

Public Attributes

uint32_t i
 i index of the component
uint32_t j
 j index of the component
double v
 value of the component

Friends

std::ostream & operator<< (std::ostream &, const dcomponent &)

Detailed Description

Component Class for Real Double-precision Sparse Matrix Classes.

Definition at line 3 of file dcomponent.hpp.


Constructor & Destructor Documentation

dcomponent::dcomponent ( ) [inline]

Definition at line 16 of file dcomponent.hpp.

{ ; }
dcomponent::dcomponent ( const uint32_t &  _i,
const uint32_t &  _j,
const double &  _v 
) [inline]

Definition at line 17 of file dcomponent.hpp.

:i(_i), j(_j), v(_v){ ; }

Member Function Documentation

bool dcomponent::ilt ( const dcomponent a,
const dcomponent b 
) [inline, static]

lessthan function for i of dcomponent

Definition at line 40 of file dcomponent.hpp.

References i.

{VERBOSE_REPORT;
  return a.i < b.i;
}
bool dcomponent::jlt ( const dcomponent a,
const dcomponent b 
) [inline, static]

lessthan function for j of dcomponent

Definition at line 47 of file dcomponent.hpp.

References j.

{VERBOSE_REPORT;
  return a.j < b.j;
}

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const dcomponent c 
) [friend]

Definition at line 32 of file dcomponent.hpp.

{VERBOSE_REPORT;
  s << "(" << c.i << ", " << c.j << ",  " << c.v << ")" << std::flush;
  return s;
}

Member Data Documentation

uint32_t dcomponent::i

i index of the component

Definition at line 9 of file dcomponent.hpp.

Referenced by ilt(), and operator<<().

uint32_t dcomponent::j

j index of the component

Definition at line 10 of file dcomponent.hpp.

Referenced by jlt(), and operator<<().

double dcomponent::v

value of the component

Definition at line 11 of file dcomponent.hpp.

Referenced by operator<<().


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Friends