Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

abstract_real_parameter.cc

Go to the documentation of this file.
00001 // abstract_real_parameter.cc
00002 // SuperMix version 1.0  C++ source file
00003 //
00004 // Copyright (c) 1999 California Institute of Technology.
00005 // All rights reserved.
00006 //
00007 // Redistribution and use in source and binary forms for noncommercial
00008 // purposes are permitted provided that the above copyright notice and
00009 // this paragraph are duplicated in all such forms and that any
00010 // documentation and other materials related to such distribution and
00011 // use acknowledge that the software was developed by California
00012 // Institute of Technology. Redistribution and/or use in source or
00013 // binary forms is not permitted for any commercial purpose. Use of
00014 // this software does not include a permitted use of the Institute's
00015 // name or trademark for any purpose.
00016 //
00017 // DISCLAIMER:
00018 // THIS SOFTWARE AND/OR RELATED MATERIALS ARE PROVIDED "AS-IS" WITHOUT
00019 // WARRANTY OF ANY KIND INCLUDING ANY WARRANTIES OF PERFORMANCE OR
00020 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE OR PURPOSE (AS SET
00021 // FORTH IN UCC 23212-2313) OR FOR ANY PURPOSE WHATSOEVER, FOR THE
00022 // LICENSED PRODUCT, HOWEVER USED.  IN NO EVENT SHALL CALTECH/JPL BE
00023 // LIABLE FOR ANY DAMAGES AND/OR COSTS, INCLUDING BUT NOT LIMITED TO
00024 // INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND, INCLUDING ECONOMIC
00025 // DAMAGE OR INJURY TO PROPERTY AND LOST PROFITS, REGARDLESS OF
00026 // WHETHER CALTECH/JPL SHALL BE ADVISED, HAVE REASON TO KNOW, OR IN
00027 // FACT SHALL KNOW OF THE POSSIBILITY.  THE USER BEARS ALL RISK
00028 // RELATING TO QUALITY AND PERFORMANCE OF THE SOFTWARE AND/OR RELATED
00029 // MATERIALS.
00030 
00031 #include "parameter/abstract_real_parameter.h"
00032 
00033 //  double operator +(const abstract_real_parameter& p1, const abstract_real_parameter& p2)
00034 //  {
00035 //    return(p1.get() + p2.get());
00036 //  }
00037 
00038 //  double operator +(const abstract_real_parameter& p, const double& d)
00039 //  {
00040 //    return(p.get() + d);
00041 //  }
00042 
00043 //  double operator +(const double& d, const abstract_real_parameter& p)
00044 //  {
00045 //    return(p.get() + d);
00046 //  }
00047 
00048 //  double operator +(const abstract_real_parameter& p, const int& i)
00049 //  {
00050 //    return(p.get() + i);
00051 //  }
00052 
00053 //  double operator +(const int& i, const abstract_real_parameter& p)
00054 //  {
00055 //    return(p.get() + i);
00056 //  }
00057  
00058 //  Complex operator +(const abstract_real_parameter& p, const Complex& c)
00059 //  {
00060 //    return(c + p.get());
00061 //  }
00062 
00063 //  Complex operator +(const Complex& c, const abstract_real_parameter& p)
00064 //  {
00065 //    return(c + p.get());
00066 //  }
00067 
00068 //  double operator -(const abstract_real_parameter& p1, const abstract_real_parameter& p2)
00069 //  {
00070 //    return(p1.get() - p2.get());
00071 //  }
00072 
00073 //  double operator -(const abstract_real_parameter& p, const double& d)
00074 //  {
00075 //    return(p.get() - d);
00076 //  }
00077 
00078 //  double operator -(const double& d, const abstract_real_parameter& p)
00079 //  {
00080 //    return(d - p.get());
00081 //  }
00082 
00083 //  double operator -(const abstract_real_parameter& p, const int& i)
00084 //  {
00085 //    return(p.get() - i);
00086 //  }
00087 
00088 //  double operator -(const int& i, const abstract_real_parameter& p)
00089 //  {
00090 //    return(i - p.get());
00091 //  }
00092  
00093 //  Complex operator -(const abstract_real_parameter& p, const Complex& c)
00094 //  {
00095 //    return(p.get() - c);
00096 //  }
00097 
00098 //  Complex operator -(const Complex& c, const abstract_real_parameter& p)
00099 //  {
00100 //    return(c - p.get());
00101 //  }
00102 
00103 //  double operator *(const abstract_real_parameter& p1, const abstract_real_parameter& p2)
00104 //  {
00105 //    return(p1.get() * p2.get());
00106 //  }
00107 
00108 //  double operator *(const abstract_real_parameter& p, const double& d)
00109 //  {
00110 //    return(p.get() * d);
00111 //  }
00112 
00113 //  double operator *(const double& d, const abstract_real_parameter& p)
00114 //  {
00115 //    return(p.get() * d);
00116 //  }
00117 
00118 //  double operator *(const abstract_real_parameter& p, const int& i)
00119 //  {
00120 //    return(p.get() * i);
00121 //  }
00122 
00123 //  double operator *(const int& i, const abstract_real_parameter& p)
00124 //  {
00125 //    return(p.get() * i);
00126 //  }
00127  
00128 //  Complex operator *(const abstract_real_parameter& p, const Complex& c)
00129 //  {
00130 //    return(c * p.get());
00131 //  }
00132 
00133 //  Complex operator *(const Complex& c, const abstract_real_parameter& p)
00134 //  {
00135 //    return(c * p.get());
00136 //  }
00137 
00138 //  double operator /(const abstract_real_parameter& p1, const abstract_real_parameter& p2)
00139 //  {
00140 //    return(p1.get() / p2.get());
00141 //  }
00142 
00143 //  double operator /(const abstract_real_parameter& p, const double& d)
00144 //  {
00145 //    return(p.get() / d);
00146 //  }
00147 
00148 //  double operator /(const double& d, const abstract_real_parameter& p)
00149 //  {
00150 //    return(d / p.get());
00151 //  }
00152 
00153 //  double operator /(const abstract_real_parameter& p, const int& i)
00154 //  {
00155 //    return(p.get() / double(i));
00156 //  }
00157 
00158 //  double operator /(const int& i, const abstract_real_parameter& p)
00159 //  {
00160 //    return(double(i) / p.get());
00161 //  }
00162  
00163 //  Complex operator /(const abstract_real_parameter& p, const Complex& c)
00164 //  {
00165 //    return(p.get() / c);
00166 //  }
00167 
00168 //  Complex operator /(const Complex& c, const abstract_real_parameter& p)
00169 //  {
00170 //    return(c / p.get());
00171 //  }
00172 
00173 //  double operator -(const abstract_real_parameter& p)
00174 //  {
00175 //    return -p.get();
00176 //  }
00177 
00178 //  double operator +(const abstract_real_parameter& p)
00179 //  {
00180 //    return p.get() ;
00181 //  }
00182 
00183 //  int operator ==(const abstract_real_parameter& p1, const abstract_real_parameter& p2)
00184 //  {
00185 //    return(p1.get() == p2.get());
00186 //  }
00187 
00188 //  int operator !=(const abstract_real_parameter& p1, const abstract_real_parameter& p2)
00189 //  {
00190 //    return(p1.get() != p2.get());
00191 //  }
00192  
00193 //  int operator ==(const abstract_real_parameter& p, const double& d)
00194 //  {
00195 //    return(p.get() == d);
00196 //  }
00197 
00198 //  int operator !=(const abstract_real_parameter& p, const double& d)
00199 //  {
00200 //    return(p.get() != d);
00201 //  }
00202  
00203 //  int operator ==(const double& d, const abstract_real_parameter& p)
00204 //  {
00205 //    return(p.get() == d);
00206 //  }
00207 
00208 //  int operator !=(const double& d, const abstract_real_parameter& p)
00209 //  {
00210 //    return(p.get() != d);
00211 //  }
00212  
00213 //  int operator ==(const abstract_real_parameter& p, const int& i)
00214 //  {
00215 //    return(p.get() == i);
00216 //  }
00217 
00218 //  int operator !=(const abstract_real_parameter& p, const int& i)
00219 //  {
00220 //    return(p.get() != i);
00221 //  }
00222  
00223 //  int operator ==(const int& i, const abstract_real_parameter& p)
00224 //  {
00225 //    return(p.get() == i);
00226 //  }
00227 
00228 //  int operator !=(const int& i, const abstract_real_parameter& p)
00229 //  {
00230 //    return(p.get() != i);
00231 //  }
00232  
00233 //  ostream &operator <<(ostream & out_file, const abstract_real_parameter & p)
00234 //  {
00235 //    out_file << p.get();
00236 //    return out_file;
00237 //  }

Please direct comments and corrections to supermix@submm.caltech.edu
Go to the supermix home page
Generated by doxygen1.2.7