casacore
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
casa
Arrays
LogiArray.h
Go to the documentation of this file.
1
//# LogiArray.h: Logical valued Arrays.
2
//# Copyright (C) 1994,1995,1999
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: aips2-request@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
//# $Id$
27
28
#ifndef CASA_LOGIARRAY_H
29
#define CASA_LOGIARRAY_H
30
31
32
#include <casacore/casa/aips.h>
33
#include <casacore/casa/Arrays/LogiArrayFwd.h>
34
#include <casacore/casa/Arrays/Array.h>
35
36
37
namespace
casacore
{
//# NAMESPACE CASACORE - BEGIN
38
39
// <summary>
40
// Logical valued Arrays.
41
// </summary>
42
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
43
//
44
// <prerequisite>
45
// <li> <linkto class=Array>Array</linkto>
46
// <li> <linkto group="LogiArrayFwd.h#LogicalArray forwards">LogicalArrayFwd</linkto>
47
// </prerequisite>
48
//
49
// <etymology>
50
// LogicalArray declares logical valued Arrays.
51
// </etymology>
52
//
53
// <synopsis>
54
// This file contains the declarations for LogicalArrays.
55
// </synopsis>
56
//
57
// <motivation>
58
// One needs to have logical valued Arrays. They are the result of
59
// logical operations on Arrays. They can also be created in other ways.
60
// They are used as masks for MaskedArrays.
61
//
62
// Array<Bool> would have served the purpose. However, it is very space
63
// inefficient. Instead, the concept has been abstracted. Currently,
64
// the implementation of LogicalArray is Array<LogicalArrayElem>, done
65
// with typedefs. The type of LogicalArrayElem can be changed at any time.
66
// Later, if desired, LogicalArray can be made to be a true class, without
67
// requiring more than a recompile of code which uses it.
68
// </motivation>
69
//
70
// <todo asof="$DATE:$>
71
// <li> Consider making these into classes.
72
// <li> Consider replacing with builtin boolean class when that
73
// makes it into the C++ compiler.
74
// </todo>
75
//
76
// <linkfrom anchor="LogicalArray" classes="Array Vector Matrix Cube MaskedArray">
77
// <here>LogicalArray</here> -- Logical valued Arrays.
78
// </linkfrom>
79
//
80
// <group name="LogicalArray">
81
82
//# This is empty. Everything is done by the include files.
83
84
// </group>
85
86
87
}
//# NAMESPACE CASACORE - END
88
89
#endif
casacore
this file contains all the compiler specific defines
Definition:
mainpage.dox:28
Generated by
1.8.11