diff --git a/LCS/Common/include/Common/Makefile.am b/LCS/Common/include/Common/Makefile.am index 4a89e5aa3fe0dbf19a0c5e41948eaeecade81c13..91bf4578e4f1ab9881c1cf4d7cd3ad63f70c19d3 100644 --- a/LCS/Common/include/Common/Makefile.am +++ b/LCS/Common/include/Common/Makefile.am @@ -30,6 +30,7 @@ pkginclude_HEADERS = \ LofarLogCout.h \ LofarLogger.h \ lofar_map.h \ + lofar_math.h \ lofar_set.h \ lofar_sstream.h \ lofar_stack.h \ diff --git a/LCS/Common/include/Common/lofar_math.h b/LCS/Common/include/Common/lofar_math.h new file mode 100644 index 0000000000000000000000000000000000000000..1d36f4561f1ce5db0a6c3b20f9bd8cece2f42e8c --- /dev/null +++ b/LCS/Common/include/Common/lofar_math.h @@ -0,0 +1,56 @@ +//# lofar_math.h: +//# +//# Copyright (C) 2002 +//# ASTRON (Netherlands Foundation for Research in Astronomy) +//# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands, seg@astron.nl +//# +//# This program is free software; you can redistribute it and/or modify +//# it under the terms of the GNU General Public License as published by +//# the Free Software Foundation; either version 2 of the License, or +//# (at your option) any later version. +//# +//# This program is distributed in the hope that it will be useful, +//# but WITHOUT ANY WARRANTY; without even the implied warranty of +//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//# GNU General Public License for more details. +//# +//# You should have received a copy of the GNU General Public License +//# along with this program; if not, write to the Free Software +//# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +//# +//# $Id$ + +#ifndef LOFAR_COMMON_MATH_H +#define LOFAR_COMMON_MATH_H + +// \file + +#include <cmath> + +namespace LOFAR +{ + using std::acos; + using std::asin; + using std::atan; + using std::atan2; + using std::ceil; + using std::cos; + using std::cosh; + using std::exp; + using std::fabs; + using std::floor; + using std::fmod; + using std::frexp; + using std::ldexp; + using std::log; + using std::log10; + using std::modf; + using std::pow; + using std::sin; + using std::sinh; + using std::sqrt; + using std::tan; + using std::tanh; +} + +#endif