Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals

rtrsdetectge.h File Reference

Go to the source code of this file.

Functions

void rtrsdetectge (const int &Asize, const int &Msize, const int &amax, const int &mmax, const int &mrastep, const int *mracoef, const int *mracoefrs, const int *thresh, int *hit)
void rtrsdetectge (const int &Asize, const int &Msize, const int &amax, const int &mmax, const int &mrastep, const double *mracoef, const double *mracoefrs, const double *thresh, int *hit)
void rtrsdetectge (const int &Asize, const int &Msize, const int &amax, const int &mmax, const int &mrastep, const float *mracoef, const float *mracoefrs, const float *thresh, int *hit)
void rtrsdetectge (const int &Msize, const int &mmax, const int &mrastep, const int *mracoef, const int *mracoefrs, const int *thresh, int *hit)
void rtrsdetectge (const int &Msize, const int &mmax, const int &mrastep, const double *mracoef, const double *mracoefrs, const double *thresh, int *hit)
void rtrsdetectge (const int &Msize, const int &mmax, const int &mrastep, const float *mracoef, const float *mracoefrs, const float *thresh, int *hit)


Function Documentation

void rtrsdetectge const int Asize,
const int Msize,
const int amax,
const int mmax,
const int mrastep,
const int mracoef,
const int mracoefrs,
const int thresh,
int hit
 

Definition at line 175 of file rtrsdetectge.cpp.

References iartrsdetectge_().

Referenced by Rtrsmra< Data_t, scalar >.detectge(), and Rtrsmra< Data_t, array >.detectge().

00186 {
00187 #ifdef STORM_USEF
00188    iartrsdetectge_(
00189      &Asize, &Msize,
00190      &amax, &mmax,
00191      &mrastep, mracoef, mracoefrs,
00192      thresh, hit
00193    );
00194 #else
00195    for( int m = 0; m <= mmax; m++ ) {
00196       hit[m] = 0;
00197       for( int a = 0; a <= amax; a++ ) {
00198          if ( abs( mracoef[ Msize*2*a + 2*m + 1 ]
00199            + mracoefrs[ Msize*2*a + 2*m + 1 ] ) >= thresh[m] ) { hit[m]++; }
00200       }
00201    }
00202 #endif
00203 }

void rtrsdetectge const int Asize,
const int Msize,
const int amax,
const int mmax,
const int mrastep,
const double *  mracoef,
const double *  mracoefrs,
const double *  thresh,
int hit
 

Definition at line 144 of file rtrsdetectge.cpp.

References dartrsdetectge_().

00155 {
00156 #ifdef STORM_USEF
00157    dartrsdetectge_(
00158      &Asize, &Msize,
00159      &amax, &mmax,
00160      &mrastep, mracoef, mracoefrs,
00161      thresh, hit
00162    );
00163 #else
00164    for( int m = 0; m <= mmax; m++ ) {
00165       hit[m] = 0;
00166       for( int a = 0; a <= amax; a++ ) {
00167          if ( abs( mracoef[ Msize*2*a + 2*m + 1 ]
00168            + mracoefrs[ Msize*2*a + 2*m + 1 ] ) >= thresh[m] ) { hit[m]++; }
00169       }
00170    }
00171 #endif
00172 }

void rtrsdetectge const int Asize,
const int Msize,
const int amax,
const int mmax,
const int mrastep,
const float *  mracoef,
const float *  mracoefrs,
const float *  thresh,
int hit
 

Definition at line 114 of file rtrsdetectge.cpp.

References artrsdetectge_().

00125 {
00126 #ifdef STORM_USEF
00127    artrsdetectge_(
00128      &Asize, &Msize,
00129      &amax, &mmax,
00130      &mrastep, mracoef, mracoefrs,
00131      thresh, hit
00132    );
00133 #else
00134    for( int m = 0; m <= mmax; m++ ) {
00135       hit[m] = 0;
00136       for( int a = 0; a <= amax; a++ ) {
00137          if ( abs( mracoef[ Msize*2*a + 2*m +1 ]
00138            + mracoefrs[ Msize*2*a + 2*m + 1 ] ) >= thresh[m] ) { hit[m]++; }
00139       }
00140    }
00141 #endif
00142 }

void rtrsdetectge const int Msize,
const int mmax,
const int mrastep,
const int mracoef,
const int mracoefrs,
const int thresh,
int hit
 

Definition at line 84 of file rtrsdetectge.cpp.

References irtrsdetectge_().

00093 { 
00094 #ifdef STORM_USEF
00095    irtrsdetectge_( 
00096      &Msize, 
00097      &mmax, 
00098      &mrastep, mracoef, mracoefrs,
00099      thresh, hit
00100    );
00101 #else
00102    for( int m = 0; m <= mmax; m++ ) {
00103       if ( abs( mracoef[ 2*m + 1 ] + mracoefrs[ 2*m + 1 ] ) >= thresh[m] ) { 
00104          hit[m]=1; 
00105       }
00106       else {
00107          hit[m]=0; 
00108       }
00109    }
00110 #endif
00111 } 

void rtrsdetectge const int Msize,
const int mmax,
const int mrastep,
const double *  mracoef,
const double *  mracoefrs,
const double *  thresh,
int hit
 

Definition at line 54 of file rtrsdetectge.cpp.

References drtrsdetectge_().

00063 { 
00064 #ifdef STORM_USEF
00065    drtrsdetectge_( 
00066      &Msize, 
00067      &mmax, 
00068      &mrastep, mracoef, mracoefrs,
00069      thresh, hit
00070    );
00071 #else
00072    for( int m = 0; m <= mmax; m++ ) {
00073       if ( abs( mracoef[ 2*m + 1 ] + mracoefrs[ 2*m + 1 ] ) >= thresh[m] ) { 
00074          hit[m]=1; 
00075       }
00076       else {
00077          hit[m]=0; 
00078       }
00079    }
00080 #endif
00081 } 

void rtrsdetectge const int Msize,
const int mmax,
const int mrastep,
const float *  mracoef,
const float *  mracoefrs,
const float *  thresh,
int hit
 

Definition at line 24 of file rtrsdetectge.cpp.

References rtrsdetectge_().

00033 { 
00034 #ifdef STORM_USEF
00035    rtrsdetectge_( 
00036      &Msize, 
00037      &mmax, 
00038      &mrastep, mracoef, mracoefrs,
00039      thresh, hit
00040    );
00041 #else
00042    for( int m = 0; m <= mmax; m++ ) {
00043       if ( abs( mracoef[ 2*m + 1 ] + mracoefrs[ 2*m + 1 ] ) >= thresh[m] ) { 
00044          hit[m]=1; 
00045       }
00046       else { 
00047          hit[m]=0; 
00048       }
00049    }
00050 #endif
00051 }


Generated on Mon May 31 21:40:33 2004 for SR2k4 Assembler by doxygen 1.3.6