SNAP Library 4.0, Developer Reference
2017-07-27 13:18:06
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 |
|
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 |
int TSparseColMatrix::ColN |
Definition at line 58 of file linalg.h.
Referenced by Load(), PGetCols(), PMultiply(), PMultiplyT(), and Save().
TVec<TIntFltKdV> TSparseColMatrix::ColSpVV |
Definition at line 60 of file linalg.h.
Referenced by Load(), MotifCluster::NFiedlerVector(), PMultiply(), PMultiplyT(), Save(), and Sweep().
int TSparseColMatrix::RowN |
Definition at line 58 of file linalg.h.
Referenced by Load(), PGetRows(), PMultiply(), PMultiplyT(), and Save().