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