EMAN2
Functions
steepest.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void Utilit1 (double *, double *, int)
void Utilit2 (double *X, double *X1, double *Y, double *D, double *dd, double xk, int l, float(*my_func)(EMData *, EMData *, EMData *, float, float, float), EMData *image, EMData *refim, EMData *mask)
void Derivatives (double *X, double *D, double *Y, double *dd, double xk, int l, float(*my_func)(EMData *, EMData *, EMData *, float, float, float), EMData *, EMData *, EMData *)
void Steepda (double *X, double xk, double e, int l, int m, int *n, float(*my_func)(EMData *, EMData *, EMData *, float, float, float), EMData *, EMData *, EMData *)
void Utilit2_G (double *X, double *X1, double *Y, double *D, double *dd, double xk, int l, float(*my_func)(EMData *, EMData *, EMData *, Util::KaiserBessel &, float, float, float), EMData *image, EMData *refim, EMData *mask, Util::KaiserBessel &kb)
void Derivatives_G (double *X, double *D, double *Y, double *dd, double xk, int l, float(*my_func)(EMData *, EMData *, EMData *, Util::KaiserBessel &, float, float, float), EMData *image, EMData *refim, EMData *mask, Util::KaiserBessel &kb)
void Steepda_G (double *X, double xk, double e, int l, int m, int *n, float(*my_func)(EMData *, EMData *, EMData *, Util::KaiserBessel &, float, float, float), EMData *image, EMData *refim, EMData *mask, Util::KaiserBessel &kb)

Function Documentation

void Derivatives ( double *  X,
double *  D,
double *  Y,
double *  dd,
double  xk,
int  l,
float(*)(EMData *, EMData *, EMData *, float, float, float)  my_func,
EMData *  ,
EMData *  ,
EMData *   
)
void Derivatives_G ( double *  X,
double *  D,
double *  Y,
double *  dd,
double  xk,
int  l,
float(*)(EMData *, EMData *, EMData *, Util::KaiserBessel &, float, float, float)  my_func,
EMData *  image,
EMData *  refim,
EMData *  mask,
Util::KaiserBessel &  kb 
)
void Steepda ( double *  X,
double  xk,
double  e,
int  l,
int  m,
int *  n,
float(*)(EMData *, EMData *, EMData *, float, float, float)  my_func,
EMData *  ,
EMData *  ,
EMData *   
)
void Steepda_G ( double *  X,
double  xk,
double  e,
int  l,
int  m,
int *  n,
float(*)(EMData *, EMData *, EMData *, Util::KaiserBessel &, float, float, float)  my_func,
EMData *  image,
EMData *  refim,
EMData *  mask,
Util::KaiserBessel &  kb 
)
void Utilit1 ( double *  ,
double *  ,
int   
)

Definition at line 57 of file steepest.cpp.

References sqrt().

Referenced by Derivatives(), Derivatives_G(), Steepda(), and Steepda_G().

                                             {
    int i;
    // Find the magnitude of the gradient
    *dd=0.0;
    for (i=1; i<l+1; i++) *dd += D[i]*D[i];
    *dd=sqrt(*dd);
  }
void Utilit2 ( double *  X,
double *  X1,
double *  Y,
double *  D,
double *  dd,
double  xk,
int  l,
float(*)(EMData *, EMData *, EMData *, float, float, float)  my_func,
EMData *  image,
EMData *  refim,
EMData *  mask 
)
void Utilit2_G ( double *  X,
double *  X1,
double *  Y,
double *  D,
double *  dd,
double  xk,
int  l,
float(*)(EMData *, EMData *, EMData *, Util::KaiserBessel &, float, float, float)  my_func,
EMData *  image,
EMData *  refim,
EMData *  mask,
Util::KaiserBessel &  kb 
)