casa
$Rev:20696$
|
00001 //# BasicMath.h: Basic math related classes. 00002 //# Copyright (C) 2005 00003 //# Associated Universities, Inc. Washington DC, USA. 00004 //# 00005 //# This library is free software; you can redistribute it and/or modify it 00006 //# under the terms of the GNU Library General Public License as published by 00007 //# the Free Software Foundation; either version 2 of the License, or (at your 00008 //# option) any later version. 00009 //# 00010 //# This library is distributed in the hope that it will be useful, but WITHOUT 00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00012 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00013 //# License for more details. 00014 //# 00015 //# You should have received a copy of the GNU Library General Public License 00016 //# along with this library; if not, write to the Free Software Foundation, 00017 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA. 00018 //# 00019 //# Correspondence concerning AIPS++ should be addressed as follows: 00020 //# Internet email: aips2-request@nrao.edu. 00021 //# Postal address: AIPS++ Project Office 00022 //# National Radio Astronomy Observatory 00023 //# 520 Edgemont Road 00024 //# Charlottesville, VA 22903-2475 USA 00025 //# 00026 //# $Id: BasicMath.h 20652 2009-07-06 05:04:32Z Malte.Marquarding $ 00027 00028 00029 #ifndef CASA_BASICMATH_H 00030 #define CASA_BASICMATH_H 00031 00032 #include <casa/BasicMath/ConvertScalar.h> 00033 #include <casa/BasicMath/Functional.h> 00034 #include <casa/BasicMath/Math.h> 00035 #include <casa/BasicMath/Random.h> 00036 #include <casa/BasicMath/Primes.h> 00037 00038 namespace casa { //# NAMESPACE CASA - BEGIN 00039 00040 // <module> 00041 // 00042 // <summary> Classes and global functions for basic math use </summary> 00043 00044 // <reviewed reviewer="" date="" demos=""> 00045 // </reviewed> 00046 00047 // <synopsis> 00048 // 00049 // This module is a bag of related basic math classes and 00050 // global functions. 00051 // 00052 // The following functionality is available: 00053 // <ul> 00054 // <li> Templated functors that can be used with <src>std::transform</src> 00055 // to apply functions like sin, near, sqrt, etc. to iterators on 00056 // sequences like Array, Block, std::vector, etc. 00057 // <li> Templated functions <linkto group="ConvertScalar.h#Scalar conversion"> 00058 // ConvertScalar</linkto> 00059 // to convert scalars from one type to another. 00060 // <li> Class <linkto class=Functional:description> 00061 // Functional</linkto> 00062 // to map a domain object into a range object. 00063 // <li> Functions <linkto group="Math.h#Math interface for casacore> 00064 // Math</linkto> 00065 // to interface to math.h and other scalar math functions. 00066 // <li> Class <linkto class=Random:description> 00067 // Random</linkto> 00068 // to offer random number generators. 00069 // <li> <linkto class="Primes">Prime</linkto> numbers 00070 // </ul> 00071 // 00072 // <note role=tip> You may want to look at the individual header files 00073 // to see whether you might not prefer to include only the header 00074 // files you really need; it may be more efficient to do so. 00075 // </note> 00076 // 00077 // </synopsis> 00078 00079 //# <todo asof="2005/06/08"> 00080 //# <li> 00081 //# </todo> 00082 00083 // </module> 00084 00085 00086 } //# NAMESPACE CASA - END 00087 00088 #endif 00089