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

rtrsdetectlt.cpp File Reference

#include <math.h>

Include dependency graph for rtrsdetectlt.cpp:

Include dependency graph

Go to the source code of this file.

Functions

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


Function Documentation

void rtrsdetectlt 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 176 of file rtrsdetectlt.cpp.

References iartrsdetectlt_().

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

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

void rtrsdetectlt 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 145 of file rtrsdetectlt.cpp.

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

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

00125 {
00126 #ifdef STORM_USEF
00127    artrsdetectlt_(
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 rtrsdetectlt 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 rtrsdetectlt.cpp.

00093 { 
00094 #ifdef STORM_USEF
00095    irtrsdetectlt_( 
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 rtrsdetectlt 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 rtrsdetectlt.cpp.

00063 { 
00064 #ifdef STORM_USEF
00065    drtrsdetectlt_( 
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 rtrsdetectlt 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 rtrsdetectlt.cpp.

00033 { 
00034 #ifdef STORM_USEF
00035    rtrsdetectlt_( 
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:34 2004 for SR2k4 Assembler by doxygen 1.3.6