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#ifndef CASA_BASICMATH_H
27#define CASA_BASICMATH_H
28
29#include <casacore/casa/aips.h>
30
31#include <casacore/casa/BasicMath/ConvertScalar.h>
32#include <casacore/casa/BasicMath/Functional.h>
33#include <casacore/casa/BasicMath/Math.h>
34#include <casacore/casa/BasicMath/Random.h>
35#include <casacore/casa/BasicMath/Primes.h>
36
37namespace casacore { // # NAMESPACE CASACORE - BEGIN
38
39// <module>
40//
41// <summary> Classes and global functions for basic math use </summary>
42
43// <reviewed reviewer="" date="" demos="">
44// </reviewed>
45
46// <synopsis>
47//
48// This module is a bag of related basic math classes and
49// global functions.
50//
51// The following functionality is available:
52// <ul>
53// <li> Templated functors that can be used with <src>std::transform</src>
54// to apply functions like sin, near, sqrt, etc. to iterators on
55// sequences like Array, Block, std::vector, etc.
56// <li> Templated functions <linkto group="ConvertScalar.h#Scalar conversion">
57// ConvertScalar</linkto>
58// to convert scalars from one type to another.
59// <li> Class <linkto class=Functional:description>
60// Functional</linkto>
61// to map a domain object into a range object.
62// <li> Functions <linkto group="Math.h#Math interface for casacore>
63// Math</linkto>
64// to interface to math.h and other scalar math functions.
65// <li> Class <linkto class=Random:description>
66// Random</linkto>
67// to offer random number generators.
68// <li> <linkto class="Primes">Prime</linkto> numbers
69// </ul>
70//
71// <note role=tip> You may want to look at the individual header files
72// to see whether you might not prefer to include only the header
73// files you really need; it may be more efficient to do so.
74// </note>
75//
76// </synopsis>
77
78// # <todo asof="2005/06/08">
79// # <li>
80// # </todo>
81
82// </module>
83
84} // namespace casacore
85
86#endif
For temporary backward namespace compatibility, use casa as alias for casacore.
Definition mainpage.dox:28