|
void | throwContainerSizes (const char *name, size_t l1, size_t l2) |
| Throw an exception that two container sizes mismatch. More...
|
|
template<typename CONTAINER > |
void | checkContainerSizes (const CONTAINER &left, const CONTAINER &right, const char *name) |
| Check if the sizes of both containers are the same. More...
|
|
template<typename CONTAINER > |
CONTAINER | reversedCasaContainer (const CONTAINER &in) |
| Reverse a Casacore container like IPosition, Block, or Vector. More...
|
|
template<class T > |
std::vector< T > | operator+ (const std::vector< T > &left, const std::vector< T > &right) |
| Add two std::vector objects. More...
|
|
template<class T > |
std::vector< T > | operator/ (const std::vector< T > &left, const T &right) |
| Divide a vector by a scalar. More...
|
|
Math operations on STL-like containers.
Intended use:
Public interface
Review Status
- Reviewed By:
- Paul Shannon
- Date Reviewed:
- 1995/02/21
Prerequisite
Synopsis
This file defines a few functions with a math operation on a vector. Others can be added later.
Definition at line 58 of file STLMath.h.