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

rtrsdetectgt.cpp File Reference

#include <math.h>

Include dependency graph for rtrsdetectgt.cpp:

Include dependency graph

Go to the source code of this file.

Functions

void rtrsdetectgt (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 rtrsdetectgt (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 rtrsdetectgt (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 rtrsdetectgt (const int &Msize, const int &mmax, const int &mrastep, const int *mracoef, const int *mracoefrs, const int *thresh, int *hit)
void rtrsdetectgt (const int &Msize, const int &mmax, const int &mrastep, const double *mracoef, const double *mracoefrs, const double *thresh, int *hit)
void rtrsdetectgt (const int &Msize, const int &mmax, const int &mrastep, const float *mracoef, const float *mracoefrs, const float *thresh, int *hit)


Function Documentation

void rtrsdetectgt 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 rtrsdetectgt.cpp.

References iartrsdetectgt_().

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

00186 {
00187 #ifdef STORM_USEF
00188    iartrsdetectgt_(
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 rtrsdetectgt 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 rtrsdetectgt.cpp.

00155 {
00156 #ifdef STORM_USEF
00157    dartrsdetectgt_(
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 rtrsdetectgt 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 113 of file rtrsdetectgt.cpp.

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

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

Definition at line 83 of file rtrsdetectgt.cpp.

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

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

Definition at line 53 of file rtrsdetectgt.cpp.

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

void rtrsdetectgt 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 rtrsdetectgt.cpp.

00033 { 
00034 #ifdef STORM_USEF
00035    rtrsdetectgt_( 
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       else { 
00046          hit[m] = 0; 
00047       }
00048    }
00049 #endif
00050 }


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