EMAN2
Typedefs | Functions
emdata_transform.cpp File Reference
#include "emdata.h"
#include "emfft.h"
#include <cstring>
#include <cstdio>
#include "gsl_sf_result.h"
#include "gsl_sf_bessel.h"
#include <iostream>
#include <algorithm>
#include <vector>
#include <utility>
#include <cmath>
#include "util.h"
Include dependency graph for emdata_transform.cpp:

Go to the source code of this file.

Typedefs

typedef vector< pair< float,
int > > 
vp

Functions

float calc_bessel (const int n, const float &x)

Typedef Documentation

typedef vector< pair<float,int> > vp

Definition at line 57 of file emdata_transform.cpp.


Function Documentation

float calc_bessel ( const int  n,
const float &  x 
)

Definition at line 1033 of file emdata_transform.cpp.

Referenced by EMAN::EMData::bispecRotTransInvN().

                                               {
        gsl_sf_result result;
//      int success =
        gsl_sf_bessel_Jn_e(n,(double)x, &result);
        return (float)result.val;
}