Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/structcasa_1_1IPosition__global__functions__IPosition__Arithmetic.html
Дата изменения: Unknown
Дата индексирования: Tue Feb 15 00:44:55 2011
Кодировка:

Поисковые слова: viking 2
casacore: casa::IPosition_global_functions_IPosition_Arithmetic Struct Reference
Public Member Functions

casa::IPosition_global_functions_IPosition_Arithmetic Struct Reference
[Arrays_module]

Arithmetic Operations for IPosition's Element by element arithmetic on IPositions. More...

#include <IPosition.h>

List of all members.

Public Member Functions

IPosition operator+ (const IPosition &left, const IPosition &right)
 Each operation is done on corresponding elements of the IPositions.
IPosition operator- (const IPosition &left, const IPosition &right)
IPosition operator* (const IPosition &left, const IPosition &right)
IPosition operator/ (const IPosition &left, const IPosition &right)
IPosition operator+ (const IPosition &left, ssize_t val)
 Each operation is done by appliying the integer argument to all elements of the IPosition argument.
IPosition operator- (const IPosition &left, ssize_t val)
IPosition operator* (const IPosition &left, ssize_t val)
IPosition operator/ (const IPosition &left, ssize_t val)
IPosition operator+ (ssize_t val, const IPosition &right)
 Same functions as above but with with the Int argument on the left side.
IPosition operator- (ssize_t val, const IPosition &right)
IPosition operator* (ssize_t val, const IPosition &right)
IPosition operator/ (ssize_t val, const IPosition &right)
IPosition max (const IPosition &left, const IPosition &right)
 Returns the element by element minimum or maximum.
IPosition min (const IPosition &left, const IPosition &right)

Detailed Description

Arithmetic Operations for IPosition's Element by element arithmetic on IPositions.

Definition at line 354 of file IPosition.h.


Member Function Documentation

IPosition casa::IPosition_global_functions_IPosition_Arithmetic::max ( const IPosition left,
const IPosition right 
)

Returns the element by element minimum or maximum.

IPosition casa::IPosition_global_functions_IPosition_Arithmetic::min ( const IPosition left,
const IPosition right 
)
IPosition casa::IPosition_global_functions_IPosition_Arithmetic::operator* ( ssize_t  val,
const IPosition right 
)
IPosition casa::IPosition_global_functions_IPosition_Arithmetic::operator* ( const IPosition left,
ssize_t  val 
)
IPosition casa::IPosition_global_functions_IPosition_Arithmetic::operator* ( const IPosition left,
const IPosition right 
)
IPosition casa::IPosition_global_functions_IPosition_Arithmetic::operator+ ( ssize_t  val,
const IPosition right 
)

Same functions as above but with with the Int argument on the left side.

IPosition casa::IPosition_global_functions_IPosition_Arithmetic::operator+ ( const IPosition left,
ssize_t  val 
)

Each operation is done by appliying the integer argument to all elements of the IPosition argument.

IPosition casa::IPosition_global_functions_IPosition_Arithmetic::operator+ ( const IPosition left,
const IPosition right 
)

Each operation is done on corresponding elements of the IPositions.

The two IPositions must have the same number of elements otherwise an exception (ArrayConformanceError) will be thrown.

IPosition casa::IPosition_global_functions_IPosition_Arithmetic::operator- ( const IPosition left,
ssize_t  val 
)
IPosition casa::IPosition_global_functions_IPosition_Arithmetic::operator- ( ssize_t  val,
const IPosition right 
)
IPosition casa::IPosition_global_functions_IPosition_Arithmetic::operator- ( const IPosition left,
const IPosition right 
)
IPosition casa::IPosition_global_functions_IPosition_Arithmetic::operator/ ( const IPosition left,
const IPosition right 
)
IPosition casa::IPosition_global_functions_IPosition_Arithmetic::operator/ ( ssize_t  val,
const IPosition right 
)
IPosition casa::IPosition_global_functions_IPosition_Arithmetic::operator/ ( const IPosition left,
ssize_t  val 
)

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines