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

rtmrawavcoef.cpp

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

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