SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <linalg.h>
Public Member Functions | |
TSparseColMatrix () | |
TSparseColMatrix (TVec< TIntFltKdV > _ColSpVV) | |
TSparseColMatrix (TVec< TIntFltKdV > _ColSpVV, const int &_RowN, const int &_ColN) | |
void | Save (TSOut &SOut) |
void | Load (TSIn &SIn) |
Public Member Functions inherited from TMatrix | |
TMatrix () | |
virtual | ~TMatrix () |
void | Multiply (const TFltVV &B, int ColId, TFltV &Result) const |
void | Multiply (const TFltV &Vec, TFltV &Result) const |
void | MultiplyT (const TFltVV &B, int ColId, TFltV &Result) const |
void | MultiplyT (const TFltV &Vec, TFltV &Result) const |
int | GetRows () const |
int | GetCols () const |
void | Transpose () |
Public Attributes | |
int | RowN |
int | ColN |
TVec< TIntFltKdV > | ColSpVV |
Protected Member Functions | |
virtual void | PMultiply (const TFltVV &B, int ColId, TFltV &Result) const |
virtual void | PMultiply (const TFltV &Vec, TFltV &Result) const |
virtual void | PMultiplyT (const TFltVV &B, int ColId, TFltV &Result) const |
virtual void | PMultiplyT (const TFltV &Vec, TFltV &Result) const |
int | PGetRows () const |
int | PGetCols () const |
|
inline |
|
inline |
|
inline |
Definition at line 83 of file linalg.h.
References TSIn::Load().
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
protectedvirtual |
Implements TMatrix.
Definition at line 3 of file linalg.cpp.
References Assert, TVec< TVal, TSizeTy >::BegI(), ColN, ColSpVV, TVVec< TVal, TSizeTy >::GetRows(), TVec< TVal, TSizeTy >::Len(), and RowN.
Implements TMatrix.
Definition at line 15 of file linalg.cpp.
References Assert, TVec< TVal, TSizeTy >::BegI(), ColN, ColSpVV, TVec< TVal, TSizeTy >::Len(), and RowN.
|
protectedvirtual |
Implements TMatrix.
Definition at line 27 of file linalg.cpp.
References Assert, TVec< TVal, TSizeTy >::BegI(), ColN, ColSpVV, TVVec< TVal, TSizeTy >::GetRows(), TVec< TVal, TSizeTy >::Len(), and RowN.
Implements TMatrix.
Definition at line 39 of file linalg.cpp.
References Assert, TVec< TVal, TSizeTy >::BegI(), ColN, ColSpVV, TVec< TVal, TSizeTy >::Len(), and RowN.
|
inline |
Definition at line 81 of file linalg.h.
References TSOut::Save(), and TVec< TVal, TSizeTy >::Save().
int TSparseColMatrix::ColN |
Definition at line 58 of file linalg.h.
Referenced by PGetCols(), PMultiply(), and PMultiplyT().
TVec<TIntFltKdV> TSparseColMatrix::ColSpVV |
Definition at line 60 of file linalg.h.
Referenced by MotifCluster::NFiedlerVector(), PMultiply(), PMultiplyT(), and Sweep().
int TSparseColMatrix::RowN |
Definition at line 58 of file linalg.h.
Referenced by PGetRows(), PMultiply(), and PMultiplyT().