SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TLinAlg Class Reference

List of all members.

Public Types

enum  TLinAlgGemmTranspose { GEMM_NO_T = 0, GEMM_A_T = 1, GEMM_B_T = 2, GEMM_C_T = 4 }
enum  TLinAlgInverseType { DECOMP_SVD }

Static Public Member Functions

static double DotProduct (const TFltV &x, const TFltV &y)
static double DotProduct (const TFltVV &X, int ColIdX, const TFltVV &Y, int ColIdY)
static double DotProduct (const TFltVV &X, int ColId, const TFltV &Vec)
static double DotProduct (const TIntFltKdV &x, const TIntFltKdV &y)
static double DotProduct (const TFltV &x, const TIntFltKdV &y)
static double DotProduct (const TFltVV &X, int ColId, const TIntFltKdV &y)
static void LinComb (const double &p, const TFltV &x, const double &q, const TFltV &y, TFltV &z)
static void ConvexComb (const double &p, const TFltV &x, const TFltV &y, TFltV &z)
static void AddVec (const double &k, const TFltV &x, const TFltV &y, TFltV &z)
static void AddVec (const double &k, const TIntFltKdV &x, const TFltV &y, TFltV &z)
static void AddVec (const double &k, const TIntFltKdV &x, TFltV &y)
static void AddVec (double k, const TFltVV &X, int ColIdX, TFltVV &Y, int ColIdY)
static void AddVec (double k, const TFltVV &X, int ColId, TFltV &Result)
static void AddVec (const TIntFltKdV &x, const TIntFltKdV &y, TIntFltKdV &z)
static double SumVec (const TFltV &x)
static double SumVec (double k, const TFltV &x, const TFltV &y)
static double EuclDist2 (const TFltV &x, const TFltV &y)
static double EuclDist (const TFltV &x, const TFltV &y)
static double Norm2 (const TFltV &x)
static double Norm (const TFltV &x)
static void Normalize (TFltV &x)
static double Norm2 (const TIntFltKdV &x)
static double Norm (const TIntFltKdV &x)
static void Normalize (TIntFltKdV &x)
static double Norm2 (const TFltVV &X, int ColId)
static double Norm (const TFltVV &X, int ColId)
static double NormL1 (const TFltV &x)
static double NormL1 (double k, const TFltV &x, const TFltV &y)
static double NormL1 (const TIntFltKdV &x)
static void NormalizeL1 (TFltV &x)
static void NormalizeL1 (TIntFltKdV &x)
static double NormLinf (const TFltV &x)
static double NormLinf (const TIntFltKdV &x)
static void NormalizeLinf (TFltV &x)
static void NormalizeLinf (TIntFltKdV &x)
static void MultiplyScalar (const double &k, const TFltV &x, TFltV &y)
static void MultiplyScalar (const double &k, const TIntFltKdV &x, TIntFltKdV &y)
static void Multiply (const TFltVV &A, const TFltV &x, TFltV &y)
static void Multiply (const TFltVV &A, const TFltV &x, TFltVV &C, int ColId)
static void Multiply (const TFltVV &A, const TFltVV &B, int ColId, TFltV &y)
static void Multiply (const TFltVV &A, const TFltVV &B, int ColIdB, TFltVV &C, int ColIdC)
static void MultiplyT (const TFltVV &A, const TFltV &x, TFltV &y)
static void Multiply (const TFltVV &A, const TFltVV &B, TFltVV &C)
static void Gemm (const double &Alpha, const TFltVV &A, const TFltVV &B, const double &Beta, const TFltVV &C, TFltVV &D, const int &TransposeFlags)
static void Inverse (const TFltVV &A, TFltVV &B, const TLinAlgInverseType &DecompType)
static void InverseSVD (const TFltVV &A, TFltVV &B)
static void Transpose (const TFltVV &A, TFltVV &B)
static void GS (TVec< TFltV > &Q)
static void GS (TFltVV &Q)
static void Rotate (const double &OldX, const double &OldY, const double &Angle, double &NewX, double &NewY)
static void AssertOrtogonality (const TVec< TFltV > &Vecs, const double &Threshold)
static void AssertOrtogonality (const TFltVV &Vecs, const double &Threshold)

Member Enumeration Documentation

Enumerator:
GEMM_NO_T 
GEMM_A_T 
GEMM_B_T 
GEMM_C_T 
Enumerator:
DECOMP_SVD 

Member Function Documentation

void TLinAlg::AddVec ( const double &  k,
const TFltV x,
const TFltV y,
TFltV z 
) [static]
void TLinAlg::AddVec ( const double &  k,
const TIntFltKdV x,
const TFltV y,
TFltV z 
) [static]
void TLinAlg::AddVec ( const double &  k,
const TIntFltKdV x,
TFltV y 
) [static]
void TLinAlg::AddVec ( double  k,
const TFltVV X,
int  ColIdX,
TFltVV Y,
int  ColIdY 
) [static]
void TLinAlg::AddVec ( double  k,
const TFltVV X,
int  ColId,
TFltV Result 
) [static]
void TLinAlg::AddVec ( const TIntFltKdV x,
const TIntFltKdV y,
TIntFltKdV z 
) [static]
void TLinAlg::AssertOrtogonality ( const TVec< TFltV > &  Vecs,
const double &  Threshold 
) [static]
void TLinAlg::AssertOrtogonality ( const TFltVV Vecs,
const double &  Threshold 
) [static]
void TLinAlg::ConvexComb ( const double &  p,
const TFltV x,
const TFltV y,
TFltV z 
) [static]
double TLinAlg::DotProduct ( const TFltV x,
const TFltV y 
) [static]
double TLinAlg::DotProduct ( const TFltVV X,
int  ColIdX,
const TFltVV Y,
int  ColIdY 
) [static]
double TLinAlg::DotProduct ( const TFltVV X,
int  ColId,
const TFltV Vec 
) [static]
double TLinAlg::DotProduct ( const TIntFltKdV x,
const TIntFltKdV y 
) [static]
double TLinAlg::DotProduct ( const TFltV x,
const TIntFltKdV y 
) [static]
double TLinAlg::DotProduct ( const TFltVV X,
int  ColId,
const TIntFltKdV y 
) [static]
double TLinAlg::EuclDist ( const TFltV x,
const TFltV y 
) [static]
double TLinAlg::EuclDist2 ( const TFltV x,
const TFltV y 
) [static]
void TLinAlg::Gemm ( const double &  Alpha,
const TFltVV A,
const TFltVV B,
const double &  Beta,
const TFltVV C,
TFltVV D,
const int &  TransposeFlags 
) [static]
void TLinAlg::GS ( TVec< TFltV > &  Q) [static]
void TLinAlg::GS ( TFltVV Q) [static]
void TLinAlg::Inverse ( const TFltVV A,
TFltVV B,
const TLinAlgInverseType DecompType 
) [static]
void TLinAlg::InverseSVD ( const TFltVV A,
TFltVV B 
) [static]
void TLinAlg::LinComb ( const double &  p,
const TFltV x,
const double &  q,
const TFltV y,
TFltV z 
) [static]
void TLinAlg::Multiply ( const TFltVV A,
const TFltV x,
TFltV y 
) [static]
void TLinAlg::Multiply ( const TFltVV A,
const TFltV x,
TFltVV C,
int  ColId 
) [static]
void TLinAlg::Multiply ( const TFltVV A,
const TFltVV B,
int  ColId,
TFltV y 
) [static]
void TLinAlg::Multiply ( const TFltVV A,
const TFltVV B,
int  ColIdB,
TFltVV C,
int  ColIdC 
) [static]
void TLinAlg::Multiply ( const TFltVV A,
const TFltVV B,
TFltVV C 
) [static]
void TLinAlg::MultiplyScalar ( const double &  k,
const TFltV x,
TFltV y 
) [static]
void TLinAlg::MultiplyScalar ( const double &  k,
const TIntFltKdV x,
TIntFltKdV y 
) [static]
void TLinAlg::MultiplyT ( const TFltVV A,
const TFltV x,
TFltV y 
) [static]
double TLinAlg::Norm ( const TFltV x) [static]
double TLinAlg::Norm ( const TIntFltKdV x) [static]
double TLinAlg::Norm ( const TFltVV X,
int  ColId 
) [static]
double TLinAlg::Norm2 ( const TFltV x) [static]
double TLinAlg::Norm2 ( const TIntFltKdV x) [static]
double TLinAlg::Norm2 ( const TFltVV X,
int  ColId 
) [static]
void TLinAlg::Normalize ( TFltV x) [static]
void TLinAlg::Normalize ( TIntFltKdV x) [static]
void TLinAlg::NormalizeL1 ( TFltV x) [static]
void TLinAlg::NormalizeL1 ( TIntFltKdV x) [static]
void TLinAlg::NormalizeLinf ( TFltV x) [static]
void TLinAlg::NormalizeLinf ( TIntFltKdV x) [static]
double TLinAlg::NormL1 ( const TFltV x) [static]
double TLinAlg::NormL1 ( double  k,
const TFltV x,
const TFltV y 
) [static]
double TLinAlg::NormL1 ( const TIntFltKdV x) [static]
double TLinAlg::NormLinf ( const TFltV x) [static]
double TLinAlg::NormLinf ( const TIntFltKdV x) [static]
void TLinAlg::Rotate ( const double &  OldX,
const double &  OldY,
const double &  Angle,
double &  NewX,
double &  NewY 
) [static]
double TLinAlg::SumVec ( const TFltV x) [static]
double TLinAlg::SumVec ( double  k,
const TFltV x,
const TFltV y 
) [static]
void TLinAlg::Transpose ( const TFltVV A,
TFltVV B 
) [static]

The documentation for this class was generated from the following files: