#include <SparseMat.h>
Public Members | |||
![]() | ![]() | TSparseMat () | |
![]() | ![]() | TSparseMat (Int rows, Int cols) | |
![]() | ![]() | TSparseMat (Int rows, Int cols, ZeroOrOne k) | |
![]() | ![]() | TSparseMat (Int rows, Int cols, Block k) | |
![]() | ![]() | TSparseMat (const TSparseMat &m) | |
![]() | ![]() | TSparseMat (const TSubSMat &m) | |
![]() | ![]() | TSparseMat (const TMat &m) | |
![]() | ![]() | ~TSparseMat () | |
![]() | ![]() | Int | Rows () const |
![]() | ![]() | Int | Cols () const |
![]() | ![]() | TMSparseVec& | operator[] (Int i) |
![]() | ![]() | const TMSparseVec& | operator[] (Int i) const |
![]() | ![]() | TMSparseVec* | Ref () const |
![]() | ![]() | TSparseMat& | operator= (const TSparseMat &m) |
![]() | ![]() | TSparseMat& | operator= (const TSubSMat &m) |
![]() | ![]() | TSparseMat& | operator= (const TMat &m) |
![]() | ![]() | TSparseMat& | operator= (ZeroOrOne k) |
![]() | ![]() | TSparseMat& | operator= (Block k) |
![]() | ![]() | Void | SetSize (Int m, Int n) |
![]() | ![]() | Bool | IsSquare () const |
![]() | ![]() | Void | MakeZero () |
![]() | ![]() | Void | MakeDiag (TMReal k = vl_one) |
![]() | ![]() | Void | MakeBlock (TMReal k = vl_one) |
Protected Members | |||
![]() | ![]() | TMSparseVec* | row |
![]() | ![]() | Int | rows |
![]() | ![]() | Int | cols |
Definition at line 24 of file SparseMat.h.
TSparseMat::TSparseMat () |
Definition at line 26 of file SparseMat.cc.
TSparseMat::TSparseMat (Int nrows, Int ncols) |
Definition at line 30 of file SparseMat.cc.
TSparseMat::TSparseMat (Int rows, Int cols, ZeroOrOne k) |
Definition at line 36 of file SparseMat.cc.
TSparseMat::TSparseMat (Int rows, Int cols, Block k) |
Definition at line 42 of file SparseMat.cc.
TSparseMat::TSparseMat (const TSparseMat & m) |
Definition at line 48 of file SparseMat.cc.
TSparseMat::TSparseMat (const TSubSMat & m) |
Definition at line 60 of file SparseMat.cc.
TSparseMat::TSparseMat (const TMat & m) |
Definition at line 65 of file SparseMat.cc.
TSparseMat::~TSparseMat () |
Definition at line 75 of file SparseMat.cc.
Int TSparseMat::Cols () const [inline]
|
Definition at line 43 of file SparseMat.h.
Bool TSparseMat::IsSquare () const [inline]
|
Definition at line 60 of file SparseMat.h.
Void TSparseMat::MakeBlock (TMReal k = vl_one) |
Definition at line 158 of file SparseMat.cc.
Void TSparseMat::MakeDiag (TMReal k = vl_one) |
Definition at line 150 of file SparseMat.cc.
Void TSparseMat::MakeZero () |
Definition at line 142 of file SparseMat.cc.
TMSparseVec * TSparseMat::Ref () const [inline]
|
Definition at line 133 of file SparseMat.h.
Int TSparseMat::Rows () const [inline]
|
Definition at line 42 of file SparseMat.h.
Void TSparseMat::SetSize (Int m, Int n) |
Definition at line 80 of file SparseMat.cc.
TSparseMat & TSparseMat::operator= (Block k) [inline]
|
Definition at line 144 of file SparseMat.h.
TSparseMat & TSparseMat::operator= (ZeroOrOne k) [inline]
|
Definition at line 138 of file SparseMat.h.
TSparseMat & TSparseMat::operator= (const TMat & m) |
Definition at line 118 of file SparseMat.cc.
TSparseMat & TSparseMat::operator= (const TSubSMat & m) |
Definition at line 130 of file SparseMat.cc.
TSparseMat & TSparseMat::operator= (const TSparseMat & m) |
Definition at line 102 of file SparseMat.cc.
const TMSparseVec & TSparseMat::operator[] (Int i) const [inline]
|
Definition at line 126 of file SparseMat.h.
TMSparseVec & TSparseMat::operator[] (Int i) [inline]
|
Definition at line 119 of file SparseMat.h.
Int TSparseMat::cols [protected]
|
Definition at line 72 of file SparseMat.h.
TMSparseVec * TSparseMat::row [protected]
|
Definition at line 70 of file SparseMat.h.
Int TSparseMat::rows [protected]
|
Definition at line 71 of file SparseMat.h.