|
SNAP Library 4.1, Developer Reference
2018-07-26 16:30:42
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <linalg.h>
Static Public Member Functions | |
| static void | SaveCsvTFltV (const TFltV &Vec, TSOut &SOut) |
| static void | SaveMatlabTFltIntKdV (const TIntFltKdV &SpV, const int &ColN, TSOut &SOut) |
| static void | SaveMatlabTFltV (const TFltV &m, const TStr &FName) |
| static void | SaveMatlabTIntV (const TIntV &m, const TStr &FName) |
| static void | SaveMatlabTFltVVCol (const TFltVV &m, int ColId, const TStr &FName) |
| static void | SaveMatlabTFltVV (const TFltVV &m, const TStr &FName) |
| static void | SaveMatlabTFltVVMjrSubMtrx (const TFltVV &m, int rowN, int colN, const TStr &FName) |
| static void | LoadMatlabTFltVV (const TStr &FNm, TVec< TFltV > &ColV) |
| static void | LoadMatlabTFltVV (const TStr &FNm, TFltVV &MatrixVV) |
| static void | PrintTFltV (const TFltV &Vec, const TStr &VecNm) |
| static void | PrintTFltVV (const TFltVV &A, const TStr &MatrixNm) |
| static void | PrintTIntV (const TIntV &Vec, const TStr &VecNm) |
| static void | FillRnd (TFltV &Vec) |
| static void | FillRnd (TFltV &Vec, TRnd &Rnd) |
| static void | Fill (TFltVV &M, const double &Val) |
| static void | FillZero (TFltV &Vec) |
| static void | FillZero (TFltVV &M) |
| static void | FillIdentity (TFltVV &M) |
| static void | FillIdentity (TFltVV &M, const double &Elt) |
| static int | SumVec (const TIntV &Vec) |
| static double | SumVec (const TFltV &Vec) |
| static void | ToSpVec (const TFltV &Vec, TIntFltKdV &SpVec, const double &CutWordWgtSumPrc=0.0) |
| static void | ToVec (const TIntFltKdV &SpVec, TFltV &Vec, const int &VecLen) |
|
static |
|
static |
Definition at line 1751 of file linalg.cpp.
References TVVec< TVal, TSizeTy >::GetCols(), TVVec< TVal, TSizeTy >::GetRows(), and IAssert.
Referenced by TSparseSVD::SimpleLanczos().


|
static |
Definition at line 1760 of file linalg.cpp.
References TVVec< TVal, TSizeTy >::GetCols(), TVVec< TVal, TSizeTy >::GetRows(), and IAssert.

|
inlinestatic |
Definition at line 1745 of file linalg.cpp.
References TRnd::GetNrmDev(), and TVec< TVal, TSizeTy >::Len().

|
inlinestatic |
Definition at line 526 of file linalg.h.
References TVec< TVal, TSizeTy >::PutAll().

|
inlinestatic |
Definition at line 1670 of file linalg.cpp.
References TVec< TVal, TSizeTy >::Add(), TVec< TVal, TSizeTy >::Clr(), Fail, TILx::Flt, TILx::GetSym(), TVec< TFlt >::GetV(), IAssert, iloExcept, iloRetEoln, iloSigNum, TVec< TVal, TSizeTy >::Len(), TFIn::New(), syEof, syEoln, syFlt, and TILx::Sym.
Referenced by LoadMatlabTFltVV(), and TFullColMatrix::TFullColMatrix().


Definition at line 1701 of file linalg.cpp.
References TVVec< TVal, TSizeTy >::Clr(), TVec< TVal, TSizeTy >::Empty(), TVVec< TVal, TSizeTy >::Gen(), TVec< TVal, TSizeTy >::Len(), and LoadMatlabTFltVV().

Definition at line 1714 of file linalg.cpp.
References TStr::CStr(), and TVec< TVal, TSizeTy >::Len().

Definition at line 1724 of file linalg.cpp.
References TVVec< TVal, TSizeTy >::At(), TStr::CStr(), TVVec< TVal, TSizeTy >::GetCols(), TVVec< TVal, TSizeTy >::GetRows(), and TFlt::Val.

Definition at line 1735 of file linalg.cpp.
References TStr::CStr(), and TVec< TVal, TSizeTy >::Len().

Definition at line 1598 of file linalg.cpp.
References TVec< TVal, TSizeTy >::Len(), TSOut::PutCh(), TSOut::PutFlt(), and TSOut::PutLn().

|
static |
Definition at line 1605 of file linalg.cpp.
References TStr::Fmt(), TVec< TVal, TSizeTy >::Len(), and TSOut::PutStrLn().

Definition at line 1612 of file linalg.cpp.
References TSOut::Flush(), TFlt::GetStr(), TVec< TVal, TSizeTy >::Len(), TFOut::New(), TSOut::PutCh(), and TSOut::PutStr().

Definition at line 1643 of file linalg.cpp.
References TSOut::Flush(), TVVec< TVal, TSizeTy >::GetCols(), TVVec< TVal, TSizeTy >::GetRows(), TFlt::GetStr(), TFOut::New(), TSOut::PutCh(), and TSOut::PutStr().

Definition at line 1632 of file linalg.cpp.
References TSOut::Flush(), TVVec< TVal, TSizeTy >::GetRows(), TFlt::GetStr(), TFOut::New(), TSOut::PutCh(), and TSOut::PutStr().

|
static |
Definition at line 1657 of file linalg.cpp.
References TSOut::Flush(), TFlt::GetStr(), TFOut::New(), TSOut::PutCh(), and TSOut::PutStr().

Definition at line 1622 of file linalg.cpp.
References TSOut::Flush(), TVec< TVal, TSizeTy >::Len(), TFOut::New(), TSOut::PutCh(), and TSOut::PutInt().

|
static |
Definition at line 1769 of file linalg.cpp.
References TVec< TVal, TSizeTy >::Len().

|
static |
Definition at line 1777 of file linalg.cpp.
References TVec< TVal, TSizeTy >::Len().

|
static |
Definition at line 1785 of file linalg.cpp.
References TFlt::Abs(), TVec< TVal, TSizeTy >::Add(), TVec< TVal, TSizeTy >::Clr(), IAssert, TVec< TVal, TSizeTy >::Len(), and TVec< TVal, TSizeTy >::Pack().

|
static |
Definition at line 1805 of file linalg.cpp.
References TVec< TVal, TSizeTy >::Gen(), TVec< TVal, TSizeTy >::Len(), and TVec< TVal, TSizeTy >::PutAll().
