SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
sfa.cpp File Reference

Go to the source code of this file.

Macros

#define delta   1e-10

Functions

void Thomas (double *zMax, double *z0, double *Av, int nn)
void Rose (double *zMax, double *z0, double *Av, int nn)
int supportSet (double *x, double *v, double *z, double *g, int *S, double lambda, int nn)
void dualityGap (double *gap, double *z, double *g, double *s, double *Av, double lambda, int nn)
void dualityGap2 (double *gap, double *z, double *g, double *s, double *Av, double lambda, int nn)
int generateSolution (double *x, double *z, double *gap, double *v, double *Av, double *g, double *s, int *S, double lambda, int nn)
void restartMapping (double *g, double *z, double *v, double lambda, int nn)
int sfa (double *x, double *gap, int *activeS, double *z, double *z0, double *v, double *Av, double lambda, int nn, int maxStep, double *s, double *g, double tol, int tau, int flag)
int sfa_special (double *x, double *gap, int *activeS, double *z, double *v, double *Av, double lambda, int nn, int maxStep, double *s, double *g, double tol, int tau)
int sfa_one (double *x, double *gap, int *activeS, double *z, double *v, double *Av, double lambda, int nn, int maxStep, double *s, double *g, double tol, int tau)

Macro Definition Documentation

#define delta   1e-10

Definition at line 23 of file sfa.cpp.

Function Documentation

void dualityGap ( double *  gap,
double *  z,
double *  g,
double *  s,
double *  Av,
double  lambda,
int  nn 
)

Definition at line 414 of file sfa.cpp.

void dualityGap2 ( double *  gap,
double *  z,
double *  g,
double *  s,
double *  Av,
double  lambda,
int  nn 
)

Definition at line 458 of file sfa.cpp.

int generateSolution ( double *  x,
double *  z,
double *  gap,
double *  v,
double *  Av,
double *  g,
double *  s,
int *  S,
double  lambda,
int  nn 
)

Definition at line 506 of file sfa.cpp.

void restartMapping ( double *  g,
double *  z,
double *  v,
double  lambda,
int  nn 
)

Definition at line 628 of file sfa.cpp.

void Rose ( double *  zMax,
double *  z0,
double *  Av,
int  nn 
)

Definition at line 223 of file sfa.cpp.

int sfa ( double *  x,
double *  gap,
int *  activeS,
double *  z,
double *  z0,
double *  v,
double *  Av,
double  lambda,
int  nn,
int  maxStep,
double *  s,
double *  g,
double  tol,
int  tau,
int  flag 
)

Definition at line 846 of file sfa.cpp.

int sfa_one ( double *  x,
double *  gap,
int *  activeS,
double *  z,
double *  v,
double *  Av,
double  lambda,
int  nn,
int  maxStep,
double *  s,
double *  g,
double  tol,
int  tau 
)

Definition at line 1608 of file sfa.cpp.

int sfa_special ( double *  x,
double *  gap,
int *  activeS,
double *  z,
double *  v,
double *  Av,
double  lambda,
int  nn,
int  maxStep,
double *  s,
double *  g,
double  tol,
int  tau 
)

Definition at line 1498 of file sfa.cpp.

int supportSet ( double *  x,
double *  v,
double *  z,
double *  g,
int *  S,
double  lambda,
int  nn 
)

Definition at line 306 of file sfa.cpp.

void Thomas ( double *  zMax,
double *  z0,
double *  Av,
int  nn 
)

Definition at line 152 of file sfa.cpp.


SHOGUN Machine Learning Toolbox - Documentation