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

rtrsmrawavcoef.cpp

Go to the documentation of this file.
00001 // rtrsmrawavcoef.cpp
00002 //////////////////////////////////////////////////////////////////////
00003 //          (c) Copyright 2000-2002 Brown Deer Technology, LLC.
00004 //                        All rights reserved.
00005 //////////////////////////////////////////////////////////////////////
00006 
00007 #ifdef STORM_USEF
00008 #include "rtrsmrawavcoef_.h"
00009 #include "drtrsmrawavcoef_.h"
00010 #include "irtrsmrawavcoef_.h"
00011 #include "artrsmrawavcoef1_.h"
00012 #include "dartrsmrawavcoef1_.h"
00013 #include "iartrsmrawavcoef1_.h"
00014 #endif
00015 
00016 void rtrsmrawavcoef( 
00017           const int& Msize,
00018           const int& mmax,
00019           const int& mrastep,
00020           const float* mracoef,
00021           const float* mracoefrs,
00022           const int& m,
00023                 float& wavcoef
00024 ) 
00025 { 
00026 #ifdef STORM_USEF
00027    rtrsmrawavcoef_( 
00028      &Msize, 
00029      &mmax, 
00030      &mrastep, mracoef, mracoefrs,
00031      &m, &wavcoef
00032    );
00033 #else
00034 //   if ( ( m >= 0 ) && ( m <= mmax ) ) { 
00035       wavcoef = mracoef[ 2*m + 1 ]; 
00036 //   } else { 
00037 //      wavcoef = 1.0/0; 
00038 //   }
00039 #endif
00040 } 
00041 
00042 
00043 void rtrsmrawavcoef( 
00044           const int& Msize,
00045           const int& mmax,
00046           const int& mrastep,
00047           const double* mracoef,
00048           const double* mracoefrs,
00049           const int& m,
00050                 double& wavcoef
00051 ) 
00052 { 
00053 #ifdef STORM_USEF
00054    drtrsmrawavcoef_( 
00055      &Msize, 
00056      &mmax, 
00057      &mrastep, mracoef, mracoefrs,
00058      &m, &wavcoef
00059    );
00060 #else
00061 //   if ( ( m >= 0 ) && ( m <= mmax ) ) { 
00062       wavcoef = mracoef[ 2*m + 1 ]; 
00063 //   } else { 
00064 //      wavcoef = 1.0/0; 
00065 //   }
00066 #endif
00067 }
00068 
00069 
00070 void rtrsmrawavcoef( 
00071           const int& Msize,
00072           const int& mmax,
00073           const int& mrastep,
00074           const int* mracoef,
00075           const int* mracoefrs,
00076           const int& m,
00077                 int& wavcoef
00078 ) 
00079 { 
00080 #ifdef STORM_USEF
00081    irtrsmrawavcoef_( 
00082      &Msize, 
00083      &mmax, 
00084      &mrastep, mracoef, mracoefrs,
00085      &m, &wavcoef
00086    );
00087 #else
00088 //   if ( ( m >= 0 ) && ( m <= mmax ) ) { 
00089       wavcoef = mracoef[ 2*m + 1 ]; 
00090 //   } else { 
00091 //      wavcoef = 1/0; 
00092 //   }
00093 #endif
00094 }
00095 
00096 
00097 void rtrsmrawavcoef(
00098           const int& Asize,
00099           const int& Msize,
00100           const int& amax,
00101           const int& mmax,
00102           const int& mrastep,
00103           const float* mracoef,
00104           const float* mracoefrs,
00105           const int& a,
00106           const int& m,
00107                 float& wavcoef
00108 )
00109 {
00110 #ifdef STORM_USEF
00111    artrsmrawavcoef1_(
00112      &Asize, &Msize,
00113      &amax, &mmax,
00114      &mrastep, mracoef, mracoefrs,
00115      &a, &m, &wavcoef
00116    );
00117 #else
00118 //   if ( ( a >= 0 ) && ( a <= amax ) && ( m >= 0 ) && ( m <= mmax ) ) {
00119       wavcoef = mracoef[ Msize*2*a + 2*m + 1 ];
00120 //   } else {
00121 //      wavcoef = 1.0/0;
00122 //   }
00123 #endif
00124 }
00125 
00126 
00127 void rtrsmrawavcoef(
00128           const int& Asize,
00129           const int& Msize,
00130           const int& amax,
00131           const int& mmax,
00132           const int& mrastep,
00133           const double* mracoef,
00134           const double* mracoefrs,
00135           const int& a,
00136           const int& m,
00137                 double& wavcoef
00138 )
00139 {
00140 #ifdef STORM_USEF
00141    dartrsmrawavcoef1_(
00142      &Asize, &Msize,
00143      &amax, &mmax,
00144      &mrastep, mracoef, mracoefrs,
00145      &a, &m, &wavcoef
00146    );
00147 #else
00148 //   if ( ( a >= 0 ) && ( a <= amax ) && ( m >= 0 ) && ( m <= mmax ) ) {
00149       wavcoef = mracoef[ Msize*2*a + 2*m +1 ];
00150 //   } else {
00151 //      wavcoef = 1.0/0;
00152 //   }
00153 #endif
00154 }
00155  
00156 
00157 void rtrsmrawavcoef(
00158           const int& Asize,
00159           const int& Msize,
00160           const int& amax,
00161           const int& mmax,
00162           const int& mrastep,
00163           const int* mracoef,
00164           const int* mracoefrs,
00165           const int& a,
00166           const int& m,
00167                 int& wavcoef
00168 )
00169 {
00170 #ifdef STORM_USEF
00171    iartrsmrawavcoef1_(
00172      &Asize, &Msize,
00173      &amax, &mmax,
00174      &mrastep, mracoef, mracoefrs,
00175      &a, &m, &wavcoef
00176    );
00177 #else
00178 //   if ( ( a >= 0 ) && ( a <= amax ) && ( m >= 0 ) && ( m <= mmax ) ) {
00179       wavcoef = mracoef[ Msize*2*a + 2*m +1 ];
00180 //   } else {
00181 //      wavcoef = 1/0;
00182 //   }
00183 #endif
00184 }
00185  

Generated on Mon May 31 21:38:53 2004 for SR2k4 Assembler by doxygen 1.3.6