casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
casacore::LogiArray_global_functions_LogicalArray Struct Reference

Logical valued Arrays. More...

#include <LogiArray.h>

Detailed Description

Logical valued Arrays.

Review Status

Reviewed By:
Date Reviewed:



LogicalArray declares logical valued Arrays.


This file contains the declarations for LogicalArrays.


One needs to have logical valued Arrays. They are the result of logical operations on Arrays. They can also be created in other ways. They are used as masks for MaskedArrays.

Array<Bool> would have served the purpose. However, it is very space inefficient. Instead, the concept has been abstracted. Currently, the implementation of LogicalArray is Array<LogicalArrayElem>, done with typedefs. The type of LogicalArrayElem can be changed at any time. Later, if desired, LogicalArray can be made to be a true class, without requiring more than a recompile of code which uses it.

To Do

Definition at line 81 of file LogiArray.h.

The documentation for this struct was generated from the following file: