SNAP Library 2.3, Developer Reference
2014-06-16 11:58:46
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, TLAMisc::LoadMatlabTFltVV(), and RowN.
|
inline |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
protectedvirtual |
Implements TMatrix.
Definition at line 147 of file linalg.cpp.
References TLinAlg::AddVec(), Assert, ColN, ColV, TVVec< TVal >::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 >::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 |
int TFullColMatrix::ColN |
Definition at line 129 of file linalg.h.
Referenced by PGetCols(), PMultiply(), PMultiplyT(), and TFullColMatrix().
Definition at line 131 of file linalg.h.
Referenced by Load(), PMultiply(), PMultiplyT(), Save(), and TFullColMatrix().
int TFullColMatrix::RowN |
Definition at line 129 of file linalg.h.
Referenced by PGetRows(), PMultiply(), PMultiplyT(), and TFullColMatrix().