casacore
Loading...
Searching...
No Matches
BasicMath.h
Go to the documentation of this file.
1//# BasicMath.h: Basic math related classes.
2//# Copyright (C) 2005
3//# Associated Universities, Inc. Washington DC, USA.
4//#
5//# This library is free software; you can redistribute it and/or modify it
6//# under the terms of the GNU Library General Public License as published by
7//# the Free Software Foundation; either version 2 of the License, or (at your
8//# option) any later version.
9//#
10//# This library is distributed in the hope that it will be useful, but WITHOUT
11//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13//# License for more details.
14//#
15//# You should have received a copy of the GNU Library General Public License
16//# along with this library; if not, write to the Free Software Foundation,
17//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18//#
19//# Correspondence concerning AIPS++ should be addressed as follows:
20//# Internet email: casa-feedback@nrao.edu.
21//# Postal address: AIPS++ Project Office
22//# National Radio Astronomy Observatory
23//# 520 Edgemont Road
24//# Charlottesville, VA 22903-2475 USA
25
26
27#ifndef CASA_BASICMATH_H
28#define CASA_BASICMATH_H
29
30#include <casacore/casa/aips.h>
31
32#include <casacore/casa/BasicMath/ConvertScalar.h>
33#include <casacore/casa/BasicMath/Functional.h>
34#include <casacore/casa/BasicMath/Math.h>
35#include <casacore/casa/BasicMath/Random.h>
36#include <casacore/casa/BasicMath/Primes.h>
37
38namespace casacore { //# NAMESPACE CASACORE - BEGIN
39
40// <module>
41//
42// <summary> Classes and global functions for basic math use </summary>
43
44// <reviewed reviewer="" date="" demos="">
45// </reviewed>
46
47// <synopsis>
48//
49// This module is a bag of related basic math classes and
50// global functions.
51//
52// The following functionality is available:
53// <ul>
54// <li> Templated functors that can be used with <src>std::transform</src>
55// to apply functions like sin, near, sqrt, etc. to iterators on
56// sequences like Array, Block, std::vector, etc.
57// <li> Templated functions <linkto group="ConvertScalar.h#Scalar conversion">
58// ConvertScalar</linkto>
59// to convert scalars from one type to another.
60// <li> Class <linkto class=Functional:description>
61// Functional</linkto>
62// to map a domain object into a range object.
63// <li> Functions <linkto group="Math.h#Math interface for casacore>
64// Math</linkto>
65// to interface to math.h and other scalar math functions.
66// <li> Class <linkto class=Random:description>
67// Random</linkto>
68// to offer random number generators.
69// <li> <linkto class="Primes">Prime</linkto> numbers
70// </ul>
71//
72// <note role=tip> You may want to look at the individual header files
73// to see whether you might not prefer to include only the header
74// files you really need; it may be more efficient to do so.
75// </note>
76//
77// </synopsis>
78
79//# <todo asof="2005/06/08">
80//# <li>
81//# </todo>
82
83// </module>
84
85
86} //# NAMESPACE CASACORE - END
87
88#endif
89
this file contains all the compiler specific defines
Definition mainpage.dox:28