CPPLapack
 All Classes Files Functions Variables Friends Pages
Public Member Functions | Public Attributes | Friends | List of all members
zcomponent Class Reference

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

#include <zcomponent.hpp>

Public Member Functions

 zcomponent ()
 
 zcomponent (const CPPL_INT &_i, const CPPL_INT &_j, const comple &_v)
 

Public Attributes

CPPL_INT i
 i index of the component More...
 
CPPL_INT j
 j index of the component More...
 
comple v
 value of the component More...
 

Friends

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

Detailed Description

Component Class for Complex Double-precision Sparse Matrix Classes.

Definition at line 3 of file zcomponent.hpp.

Constructor & Destructor Documentation

zcomponent::zcomponent ( )
inline

Definition at line 16 of file zcomponent.hpp.

16 { ; }
zcomponent::zcomponent ( const CPPL_INT &  _i,
const CPPL_INT &  _j,
const comple &  _v 
)
inline

Definition at line 17 of file zcomponent.hpp.

17 :i(_i), j(_j), v(_v){ ; }
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

Friends And Related Function Documentation

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

Definition at line 30 of file zcomponent.hpp.

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

Member Data Documentation

CPPL_INT zcomponent::i

i index of the component

Definition at line 9 of file zcomponent.hpp.

Referenced by ilt(), operator*(), operator+(), operator-(), operator<<(), and zgsmatrix::to_zgematrix().

CPPL_INT zcomponent::j

j index of the component

Definition at line 10 of file zcomponent.hpp.

Referenced by jlt(), operator*(), operator+(), operator-(), operator<<(), and zgsmatrix::to_zgematrix().

comple zcomponent::v

value of the component

Definition at line 11 of file zcomponent.hpp.

Referenced by operator*(), operator+(), operator-(), operator<<(), and zgsmatrix::to_zgematrix().


The documentation for this class was generated from the following file: