|
MeVisLab Toolbox Reference
|
ML integer image vector class to be specialized for different purposes. More...
#include <mlIntegerVector.h>
Public Types | |
| enum | { NumberOfDimensions = ParentClass::NumberOfDimensions } |
| Enumerator defining the dimension of this class. More... | |
| typedef TVectorBase::ComponentType | ComponentType |
| Integer type used by this vector. | |
| typedef TVectorBase | ParentClass |
| Parent class of this class. | |
Public Member Functions | |
| std::string | print (const std::string &openStr="", const std::string &sepStr=" ", const std::string &termStr="", const int numDigits=-1) const |
| Returns the string openStr + v.array[0] + sepStr + ... + v.array[NumberOfDimensions-2] + sepStr + v.array[NumberOfDimensions-1] + termStr. | |
Initialization | |
| TVector () | |
| Constructor. All components are initialized to 0. | |
| TVector (const ComponentType i) | |
| Constructor that initializes all components to i. | |
| TVector (const TVector< TVectorBase > &v2) | |
| TVector< TVectorBase > & | operator= (const TVector< TVectorBase > &v2) |
| template<typename TVectorBase2 > | |
| TVector (const TVector< TVectorBase2 > &v2) | |
| Copy constructor from another TVector of same or other integer type, values are cast. | |
| TVector (const ComponentType xp, const TVector &p) | |
| Constructor that assigns X to x and copies other elements from p. | |
| TVector (const MLint num, const ComponentType *const arr, const ComponentType deflt) | |
| Constructor that initializes the vector components by copying them from arr[0] ,..., arr[num-1]. | |
| void | copy (const MLint num, ComponentType *const arr) const |
Copies the first num elements from internal array into arr, starting with array[0] to arr[0] to array[num-1] to arr[num-1], respectively. | |
| void | set (const ComponentType v=0) |
| Sets all components to v or - if v is not specified - to 0. | |
| void | set (const TVector &v) |
| Like assignment operator. | |
Functions and operators. | |
| TVector< TVectorBase > | operator+ (const TVector &b) const |
Adds the corresponding component from b to each component. | |
| TVector< TVectorBase > & | operator+= (const TVector< TVectorBase > &b) |
Adds the corresponding component from b to each component. | |
| TVector< TVectorBase > | operator- (const TVector< TVectorBase > &b) const |
Calculates and returns *this - b. | |
| TVector< TVectorBase > & | operator-= (const TVector< TVectorBase > &b) |
Subtracts the corresponding component from b from each component. | |
| TVector< TVectorBase > | operator* (const TVector< TVectorBase > &b) const |
Calculates and returns the multiplication of each component of this with its corresponding component from b. | |
| TVector< TVectorBase > & | operator*= (const TVector< TVectorBase > &b) |
Multiplies each component with its corresponding components from b. | |
| TVector< TVectorBase > | operator+ (const ComponentType b) const |
Calculates and returns the addition of each component of *this with scalar b. | |
| TVector< TVectorBase > | operator- (const ComponentType b) const |
Subtracts the scalar b from all components. | |
| TVector< TVectorBase > | operator* (const ComponentType b) const |
Multiplies all components with scalar b. | |
| TVector< TVectorBase > | operator/ (const TVector< TVectorBase > &b) const |
Calculates and returns the division of each component of *this by its corresponding component from b. | |
| TVector< TVectorBase > & | operator/= (const TVector< TVectorBase > &b) |
Divides each component by its corresponding component from b. | |
| bool | operator== (const TVector< TVectorBase > &b) const |
Equality operator: Returns whether each component of this is equal to its corresponding component of b. | |
| bool | operator!= (const TVector< TVectorBase > &b) const |
Inequality operator: Returns whether any component differs from its corresponding component of b. | |
| bool | operator< (const TVector< TVectorBase > &b) const |
| 'Less than' comparison operator, returns whether the 'less than' relation is valid for all components. | |
| bool | operator<= (const TVector< TVectorBase > &b) const |
| 'Less than or equal' comparison operator, returns whether the 'Less than or equal' relation is valid for all components. | |
| bool | operator> (const TVector< TVectorBase > &b) const |
| 'Greater' comparison operator, returns whether the 'greater' relation is valid for all components. | |
| bool | operator>= (const TVector< TVectorBase > &b) const |
| 'Greater or Equal' comparison operator, returns whether the 'greater or equal' relation is valid for all components. | |
| TVector< TVectorBase > | operator& (const TVector< TVectorBase > &b) const |
| Performs a binary 'And' of all components with the corresponding components of another vector. | |
| TVector< TVectorBase > | operator| (const TVector< TVectorBase > &b) const |
| Performs a binary 'Or' of all components with the corresponding components of another vector. | |
| TVector< TVectorBase > | operator^ (const TVector< TVectorBase > &b) const |
| Performs a binary 'Xor' of all components with the corresponding components of another vector. | |
| TVector< TVectorBase > & | operator&= (const TVector< TVectorBase > &b) |
| Performs a binary 'And' of all components with the corresponding components of another vector. | |
| TVector< TVectorBase > & | operator|= (const TVector< TVectorBase > &b) |
| Performs a binary 'Or' of all components with the corresponding components of another vector. | |
| TVector< TVectorBase > & | operator^= (const TVector< TVectorBase > &b) |
| Performs a binary 'Xor' of all components with the corresponding components of another vector. | |
| TVector< TVectorBase > | operator& (const ComponentType b) const |
| Performs a binary 'And' of all components with an integer. | |
| TVector< TVectorBase > | operator| (const ComponentType b) const |
| Performs a binary 'Or' of all components with an integer. | |
| TVector< TVectorBase > | operator^ (const ComponentType b) const |
| Performs a binary 'Xor' of all components with an integer. | |
| TVector< TVectorBase > & | operator&= (const ComponentType b) |
| Performs a binary 'And' of all components with an integer. | |
| TVector< TVectorBase > & | operator|= (const ComponentType b) |
| Performs a binary 'Or' of all components with an integer. | |
| TVector< TVectorBase > & | operator^= (const ComponentType b) |
| Performs a binary 'Xor' of all components with an integer. | |
| TVector< TVectorBase > | operator>> (const int b) const |
| Performs a binary right shift '>>' on each vector component. | |
| TVector< TVectorBase > | operator<< (const int b) const |
| Performs a binary left shift '<<' on each vector component. | |
| TVector< TVectorBase > & | operator>>= (const int b) |
| Performs a binary right shift unary '>>=' on each vector component. | |
| TVector< TVectorBase > & | operator<<= (const int b) |
| Performs a binary left shift unary '<<=' on each vector component. | |
| TVector< TVectorBase > | operator- () const |
| Performs an unary '-' on each vector component. | |
| ComponentType | operator[] (const size_t i) const |
| Constant indexing operator permits read access to array[0], ..., array[NumberOfDimensions-1] via indexes 0,1, ..., NumberOfDimensions-1, respectively. | |
| ComponentType & | operator[] (const size_t i) |
| Indexing operator permits read and write access to array[0], ..., array[NumberOfDimensions-1] via indexes 0,1, ..., NumberOfDimensions-1, respectively. | |
| MLint | getMaxIdx () const |
| Searches the maximum component and returns the index of its first occurrence. | |
| ComponentType | getMax () const |
| Returns the maximum component value. | |
| MLint | getMinIdx () const |
| Searches the minimum component and returns the index of its first occurrence. | |
| ComponentType | getMin () const |
| Returns the minimum component value. | |
| TVector< TVectorBase > | getStrides (const ComponentType offset=1) const |
| Interprets the vector as image extension and returns a stride vector. | |
| TVector< TVectorBase > | getVectorPosition (ComponentType offsetPos) const |
| Interprets the vector as a stride vector of an image and returns the offset position offsetPos from the image origin to the coordinate specified by the vector. | |
| MLint | getExtDimension () const |
| Returns the index to the highest vector component that is not 1. | |
| bool | hasNegativeComp () const |
| Returns whether any component is negative. | |
| bool | allBiggerZero () const |
| Returns whether all components > 0. | |
| bool | sanityCheckNumberOfVoxels () const |
| Returns whether the product of all components is in range of integer type. | |
Arithmetics as static and member functions | |
| TVector< TVectorBase > | divCeil (const TVector< TVectorBase > &b) const |
Returns the component-wise division of the vector this by vector b with rounding up. | |
| TVector< TVectorBase > | compMin (const TVector< TVectorBase > &b) const |
Returns the component-wise minimum of components of this and b. | |
| TVector< TVectorBase > | compMax (const TVector< TVectorBase > &b) const |
Returns the component-wise maximum of components of this and b. | |
| TVector< TVectorBase > | compMod (const TVector< TVectorBase > &b) const |
Returns the rest of the division of this by b component-wise. | |
| TVector< TVectorBase > | compAbs () const |
| Returns a vector with all components of this replaced by their absolute values. | |
| ComponentType | compMul () const |
| Returns the product of all components. There is no check for integer overflow. | |
| ComponentType | compSum () const |
| Returns the sum of all components. There is no check for integer overflow. | |
| ComponentType | dot (const TVector< TVectorBase > &b) const |
Returns the scalar product of vectors this and b. There is no check for integer overflow. | |
| void | fillSmallerComps (const ComponentType threshold=0, const ComponentType fillVal=0) |
Sets the components that are smaller than threshold to fillVal. | |
| void | fillGreaterComps (const ComponentType threshold=0, const ComponentType fillVal=0) |
Sets the components that are greater than threshold to fillVal. | |
| void | fillEqualComps (const ComponentType threshold=0, const ComponentType fillVal=0) |
Sets the components that are equal to threshold to fillVal. | |
| static TVector< TVectorBase > | divCeil (const TVector< TVectorBase > &a, const TVector< TVectorBase > &b) |
Static version: Returns the component-wise division of the vector a by vector b with rounding up. | |
| static TVector< TVectorBase > | compMin (const TVector< TVectorBase > &a, const TVector< TVectorBase > &b) |
Static version: Returns the component-wise minimum of vectors a and b. | |
| static TVector< TVectorBase > | compMax (const TVector< TVectorBase > &a, const TVector< TVectorBase > &b) |
Static version: Returns the component-wise maximum of vectors a and b. | |
| static TVector< TVectorBase > | compMod (const TVector< TVectorBase > &a, const TVector< TVectorBase > &b) |
Static version: Returns the rest dividing vector a by b component-wise. | |
| static TVector< TVectorBase > | compAbs (const TVector< TVectorBase > &a) |
Static version: Returns a vector with all components of a replaced by their absolute values. | |
| static ComponentType | compMul (const TVector< TVectorBase > &a) |
| Static version: Returns the product of all components without checking for integer overflow. | |
| static ComponentType | compSum (const TVector< TVectorBase > &a) |
| Static version: Returns the sum of all components without checking for integer overflow. | |
| static ComponentType | dot (const TVector< TVectorBase > &a, const TVector< TVectorBase > &b) |
Static version: Returns the scalar product of vectors a and b without checking for integer overflow. | |
ML integer image vector class to be specialized for different purposes.
It is a template to handle and calculate with n dimensional cardinal coordinates and vectors.
It represents a vector to address coordinates and offsets into images. The methods provide elementary arithmetic vector operations and support the stride concept for efficient image addressing.
The members of this class define an ND vector of type integer, which is normally specialized to the ImageVector class. It has the MLMaxImageDimension (defined in mlImageVector.h) with MLint as the component type.
This class can also be instantiated with higher NumberOfDimensions arguments or other CompIntType arguments to compile arbitrary dimensional vectors with an arbitrary integer base type.
Examples for vector initialization:
Notes:
| TVectorBase | should be TVector6DBase for 6D ML image vector types or TVectorNDBase for other dimensional vectors. |
Definition at line 109 of file mlIntegerVector.h.
| typedef TVectorBase::ComponentType ml::TVector< TVectorBase >::ComponentType |
Integer type used by this vector.
Definition at line 113 of file mlIntegerVector.h.
| typedef TVectorBase ml::TVector< TVectorBase >::ParentClass |
Parent class of this class.
Definition at line 116 of file mlIntegerVector.h.
Enumerator defining the dimension of this class.
| Enumerator | |
|---|---|
| NumberOfDimensions | |
Definition at line 119 of file mlIntegerVector.h.
|
inline |
Constructor. All components are initialized to 0.
Definition at line 129 of file mlIntegerVector.h.
References mlrange_cast().
|
inlineexplicit |
Constructor that initializes all components to i.
Definition at line 136 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Definition at line 146 of file mlIntegerVector.h.
|
inlineexplicit |
Copy constructor from another TVector of same or other integer type, values are cast.
Only valid elements are copied if vectors have different lengths.
Definition at line 162 of file mlIntegerVector.h.
References mlrange_cast(), and ml::TVector< TVectorBase >::NumberOfDimensions.
|
inlineexplicit |
Constructor that assigns X to x and copies other elements from p.
Definition at line 179 of file mlIntegerVector.h.
References mlrange_cast().
|
explicit |
Constructor that initializes the vector components by copying them from arr[0] ,..., arr[num-1].
All other elements are initialized to the value deflt.
Definition at line 756 of file mlIntegerVector.h.
References ML_CHECK_THROW, mlrange_cast(), and ml::TVector< TVectorBase >::NumberOfDimensions.
|
inline |
Returns whether all components > 0.
Definition at line 567 of file mlIntegerVector.h.
|
inline |
Returns a vector with all components of this replaced by their absolute values.
Definition at line 617 of file mlIntegerVector.h.
|
static |
Static version: Returns a vector with all components of a replaced by their absolute values.
Definition at line 881 of file mlIntegerVector.h.
|
static |
Static version: Returns the component-wise maximum of vectors a and b.
Definition at line 855 of file mlIntegerVector.h.
|
inline |
Returns the component-wise maximum of components of this and b.
Definition at line 606 of file mlIntegerVector.h.
|
static |
Static version: Returns the component-wise minimum of vectors a and b.
Definition at line 842 of file mlIntegerVector.h.
|
inline |
Returns the component-wise minimum of components of this and b.
Definition at line 601 of file mlIntegerVector.h.
|
static |
Static version: Returns the rest dividing vector a by b component-wise.
Division by zero caused by zero components of b must be avoided by caller.
Definition at line 870 of file mlIntegerVector.h.
References ML_CHECK_THROW.
|
inline |
Returns the rest of the division of this by b component-wise.
Division by zero caused by zero components of b must be avoided by caller.
Definition at line 612 of file mlIntegerVector.h.
|
inline |
Returns the product of all components. There is no check for integer overflow.
Definition at line 623 of file mlIntegerVector.h.
|
inlinestatic |
Static version: Returns the product of all components without checking for integer overflow.
Definition at line 653 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Returns the sum of all components. There is no check for integer overflow.
Definition at line 628 of file mlIntegerVector.h.
|
inlinestatic |
Static version: Returns the sum of all components without checking for integer overflow.
Definition at line 662 of file mlIntegerVector.h.
References mlrange_cast().
| void ml::TVector< TVectorBase >::copy | ( | const MLint | num, |
| ComponentType *const | arr ) const |
Copies the first num elements from internal array into arr, starting with array[0] to arr[0] to array[num-1] to arr[num-1], respectively.
All other components are left unchanged. arr must have at least num entries and at most NumberOfDimensions elements are copied.
Definition at line 769 of file mlIntegerVector.h.
References ML_CHECK_THROW, and mlrange_cast().
|
static |
Static version: Returns the component-wise division of the vector a by vector b with rounding up.
Division by zero caused by zero components of b must be avoided by caller.
Definition at line 829 of file mlIntegerVector.h.
References ceil(), and ML_CHECK_THROW.
|
inline |
Returns the component-wise division of the vector this by vector b with rounding up.
Division by zero caused by zero components of b must be avoided by caller.
Definition at line 596 of file mlIntegerVector.h.
|
inlinestatic |
Static version: Returns the scalar product of vectors a and b without checking for integer overflow.
Definition at line 673 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Returns the scalar product of vectors this and b. There is no check for integer overflow.
Definition at line 634 of file mlIntegerVector.h.
|
inline |
Sets the components that are equal to threshold to fillVal.
Definition at line 703 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Sets the components that are greater than threshold to fillVal.
Definition at line 693 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Sets the components that are smaller than threshold to fillVal.
Definition at line 683 of file mlIntegerVector.h.
References mlrange_cast().
| MLint ml::TVector< TVectorBase >::getExtDimension | ( | ) | const |
Returns the index to the highest vector component that is not 1.
This is useful to get the real dimensional extent of an image.
Definition at line 814 of file mlIntegerVector.h.
References mlrange_cast().
Referenced by ml::MLITKObjectFactory::createObject().
|
inline |
Returns the maximum component value.
Definition at line 511 of file mlIntegerVector.h.
|
inline |
Searches the maximum component and returns the index of its first occurrence.
Definition at line 497 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Returns the minimum component value.
Definition at line 531 of file mlIntegerVector.h.
|
inline |
Searches the minimum component and returns the index of its first occurrence.
Definition at line 517 of file mlIntegerVector.h.
References mlrange_cast().
| TVector< TVectorBase > ml::TVector< TVectorBase >::getStrides | ( | const ComponentType | offset = 1 | ) | const |
Interprets the vector as image extension and returns a stride vector.
The smallest stride (the x stride) is set to offset, i.e., an image voxel is assumed to have size = offset. This way, stride[0] = offset, stride[1] = offset*array[0], stride[2] = offset*array[0]*array[1], ..., etc.
Definition at line 784 of file mlIntegerVector.h.
Referenced by ml::TSubImage< DATATYPE >::copySubImageReorderColorPlanesToInterleaved().
| TVector< TVectorBase > ml::TVector< TVectorBase >::getVectorPosition | ( | ComponentType | offsetPos | ) | const |
Interprets the vector as a stride vector of an image and returns the offset position offsetPos from the image origin to the coordinate specified by the vector.
For offsetPos, an image with extents given by *this and the return value rv then holds:
)
Definition at line 799 of file mlIntegerVector.h.
References ML_CHECK_THROW, and mlrange_cast().
Referenced by ml::TSubImage< DATATYPE >::convertPointerToSubImagePosition().
|
inline |
Returns whether any component is negative.
Definition at line 556 of file mlIntegerVector.h.
|
inline |
Inequality operator: Returns whether any component differs from its corresponding component of b.
Definition at line 314 of file mlIntegerVector.h.
|
inline |
Performs a binary 'And' of all components with an integer.
Definition at line 400 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Performs a binary 'And' of all components with the corresponding components of another vector.
Definition at line 359 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Performs a binary 'And' of all components with an integer.
Definition at line 416 of file mlIntegerVector.h.
|
inline |
Performs a binary 'And' of all components with the corresponding components of another vector.
Definition at line 375 of file mlIntegerVector.h.
|
inline |
Multiplies all components with scalar b.
Definition at line 280 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Calculates and returns the multiplication of each component of this with its corresponding component from b.
Definition at line 249 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Multiplies each component with its corresponding components from b.
Definition at line 254 of file mlIntegerVector.h.
|
inline |
Calculates and returns the addition of each component of *this with scalar b.
Definition at line 262 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Adds the corresponding component from b to each component.
Definition at line 223 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Adds the corresponding component from b to each component.
Definition at line 228 of file mlIntegerVector.h.
|
inline |
Performs an unary '-' on each vector component.
Definition at line 469 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Subtracts the scalar b from all components.
Definition at line 271 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Calculates and returns *this - b.
Definition at line 236 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Subtracts the corresponding component from b from each component.
Definition at line 241 of file mlIntegerVector.h.
|
inline |
Calculates and returns the division of each component of *this by its corresponding component from b.
Definition at line 289 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Divides each component by its corresponding component from b.
Definition at line 294 of file mlIntegerVector.h.
References ML_CHECK_THROW.
|
inline |
'Less than' comparison operator, returns whether the 'less than' relation is valid for all components.
Definition at line 320 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Performs a binary left shift '<<' on each vector component.
Definition at line 441 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Performs a binary left shift unary '<<=' on each vector component.
Definition at line 452 of file mlIntegerVector.h.
|
inline |
'Less than or equal' comparison operator, returns whether the 'Less than or equal' relation is valid for all components.
Definition at line 330 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Definition at line 152 of file mlIntegerVector.h.
|
inline |
Equality operator: Returns whether each component of this is equal to its corresponding component of b.
Definition at line 304 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
'Greater' comparison operator, returns whether the 'greater' relation is valid for all components.
Definition at line 339 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
'Greater or Equal' comparison operator, returns whether the 'greater or equal' relation is valid for all components.
Definition at line 349 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Performs a binary right shift '>>' on each vector component.
Definition at line 441 of file mlIntegerVector.h.
|
inline |
Performs a binary right shift unary '>>=' on each vector component.
Definition at line 452 of file mlIntegerVector.h.
|
inline |
Indexing operator permits read and write access to array[0], ..., array[NumberOfDimensions-1] via indexes 0,1, ..., NumberOfDimensions-1, respectively.
The caller must guarantee that i is within [0,...,NumberOfDimensions-1].
Definition at line 491 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Constant indexing operator permits read access to array[0], ..., array[NumberOfDimensions-1] via indexes 0,1, ..., NumberOfDimensions-1, respectively.
The caller must guarantee that i is within [0,...,NumberOfDimensions-1].
Definition at line 482 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Performs a binary 'Xor' of all components with an integer.
Definition at line 410 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Performs a binary 'Xor' of all components with the corresponding components of another vector.
Definition at line 369 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Performs a binary 'Xor' of all components with an integer.
Definition at line 432 of file mlIntegerVector.h.
|
inline |
Performs a binary 'Xor' of all components with the corresponding components of another vector.
Definition at line 391 of file mlIntegerVector.h.
|
inline |
Performs a binary 'Or' of all components with an integer.
Definition at line 405 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Performs a binary 'Or' of all components with the corresponding components of another vector.
Definition at line 364 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Performs a binary 'Or' of all components with an integer.
Definition at line 424 of file mlIntegerVector.h.
|
inline |
Performs a binary 'Or' of all components with the corresponding components of another vector.
Definition at line 383 of file mlIntegerVector.h.
| std::string ml::TVector< TVectorBase >::print | ( | const std::string & | openStr = "", |
| const std::string & | sepStr = " ", | ||
| const std::string & | termStr = "", | ||
| const int | numDigits = -1 ) const |
Returns the string openStr + v.array[0] + sepStr + ... + v.array[NumberOfDimensions-2] + sepStr + v.array[NumberOfDimensions-1] + termStr.
numDigits is the number of digits to be used as print parameter. If numDigits is <=0, then no space specification is used.
Definition at line 896 of file mlIntegerVector.h.
References mlrange_cast().
Referenced by ml::TKernel< KDATATYPE >::getKernel().
|
inline |
Returns whether the product of all components is in range of integer type.
Definition at line 578 of file mlIntegerVector.h.
References mlrange_cast().
|
inline |
Sets all components to v or - if v is not specified - to 0.
Definition at line 200 of file mlIntegerVector.h.
|
inline |
Like assignment operator.
Definition at line 208 of file mlIntegerVector.h.