#include <IntBLAS.h>
Inheritance diagram for intblas::IntervalVectorT< d >:

Public Member Functions | |
| IntervalVectorT (const IntervalVector &v) | |
| IntervalVectorT (const IntervalVectorT &v) | |
| void | operator= (IntervalVector &v) |
| Copies the values of the vector b into this vector, with strong type checking. | |
This classes allows you to typedef a vector you commonly use. For example, say you use a lot of 100 dimensional vectors. For every declaration you could:
IntervalVector v( 100 ), w( 100 ), x( 100 );
That would get old. Instead you can typedef using this class which eliminates the need for an explicit constructor call. To continue our example, you could do the following instead.
typedef IntervalVector<100> IVector100;
. . .
IVector100 v, w, x;<br>
Further this class also adds strong type checking during assignemnt. This means that you cannot assign a 3 dimensional vector to a 2 dimensional vector. This is legal if you used the IntervalVector class.
|
||||||||||
|
Copies the values of the vector b into this vector, with strong type checking. This operation can be expensive. This is especially the case if this vectors is not empty or b has a different size.
|
1.4.4