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 | |
TFullColMatrix () | |
TFullColMatrix (const TStr &MatlabMatrixFNm) | |
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< TFltV > | ColV |
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 |
TFullColMatrix::TFullColMatrix | ( | const TStr & | MatlabMatrixFNm | ) |
Definition at line 125 of file linalg.cpp.
References ColN, ColV, TStr::Fmt(), IAssertR, TVec< TVal, TSizeTy >::Len(), TLAMisc::LoadMatlabTFltVV(), and RowN.
|
inline |
Definition at line 151 of file linalg.h.
References TVec< TVal, TSizeTy >::Load().
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
protectedvirtual |
Implements TMatrix.
Definition at line 147 of file linalg.cpp.
References TLinAlg::AddVec(), Assert, ColN, ColV, TVVec< TVal, TSizeTy >::GetRows(), TVec< TVal, TSizeTy >::Len(), and RowN.
Implements TMatrix.
Definition at line 155 of file linalg.cpp.
References TLinAlg::AddVec(), Assert, ColN, ColV, TVec< TVal, TSizeTy >::Len(), and RowN.
|
protectedvirtual |
Implements TMatrix.
Definition at line 133 of file linalg.cpp.
References Assert, ColN, ColV, TLinAlg::DotProduct(), TVVec< TVal, TSizeTy >::GetRows(), TVec< TVal, TSizeTy >::Len(), and RowN.
Implements TMatrix.
Definition at line 140 of file linalg.cpp.
References Assert, ColN, ColV, TLinAlg::DotProduct(), TVec< TVal, TSizeTy >::Len(), and RowN.
|
inline |
Definition at line 150 of file linalg.h.
References TVec< TVal, TSizeTy >::Save().
int TFullColMatrix::ColN |
Definition at line 129 of file linalg.h.
Referenced by PGetCols(), PMultiply(), PMultiplyT(), SymeigsSmallest(), and TFullColMatrix().
Definition at line 131 of file linalg.h.
Referenced by MotifCluster::NFiedlerVector(), PMultiply(), PMultiplyT(), SymeigsSmallest(), and TFullColMatrix().
int TFullColMatrix::RowN |
Definition at line 129 of file linalg.h.
Referenced by PGetRows(), PMultiply(), PMultiplyT(), SymeigsSmallest(), and TFullColMatrix().