Changeset 1154 in Sophya for trunk/SigPredictor/abscalctool.h


Ignore:
Timestamp:
Aug 29, 2000, 4:14:25 PM (25 years ago)
Author:
ansari
Message:

portage Cxx
D.Y.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SigPredictor/abscalctool.h

    r1149 r1154  
    22#define AbsCalTool_H
    33
    4 #include <ostream>
     4#include <fstream>
    55#include "unitvector.h"
    66#include "pixelmap.h"
     
    5757         // Computation tools       
    5858    // Math tools !!!!!!!-------------------------------------------------------
    59         inline double max(double a, double b)const;
    60         inline double min(double a, double b)const;
     59        inline double max(double a, double b)const
     60        {       if(a>b) return a;
     61                else return b;
     62        }
     63        inline double min(double a, double b)const
     64        {       if(a<b) return a;
     65                else return b;
     66        }
    6167            //compute solid angle between cones of aperture angles ang1 and ang2
    6268 
    63         virtual inline double diffSolidAng(double ang1,double ang2) const;
     69        virtual double diffSolidAng(double ang1,double ang2) const;
    6470
    6571};
Note: See TracChangeset for help on using the changeset viewer.