|
IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
Vector store. Stores Vector objects for reuse.Can be used for storage fo vectors with specific dimension (default) or for torage of any non-null vectors. More...
Inheritance diagram for IG::Num::VectorStore:
Collaboration diagram for IG::Num::VectorStore:Public Member Functions | |||
| VectorStore (int length) | |||
| Constructs a new Vector store for vectors with the specified dimension. | |||
| VectorStore (int length, bool constrainDimensions) | |||
Constructs a new Vector store. If
is false then store can be used for vectors with any dimensions. | |||
Protected Member Functions | |||
| VectorStore () | |||
| Constructs a new Vector store of unspecified dimensions. | |||
| override Vector | TryGetNew () | ||
| Returns a newly created object eligible for storage, or null if such an object can not be created. This method should not throw an exception. | |||
Vector store.
Stores Vector objects for reuse.
Can be used for storage fo vectors with specific dimension (default) or for torage of any non-null vectors.
| IG::Num::VectorStore::VectorStore | ( | ) | [inline, protected] |
Constructs a new Vector store of unspecified dimensions.
| IG::Num::VectorStore::VectorStore | ( | int | length | ) | [inline] |
Constructs a new Vector store for vectors with the specified dimension.
| length | Dimension of stored vectors. |
| IG::Num::VectorStore::VectorStore | ( | int | length, |
| bool | constrainDimensions | ||
| ) | [inline] |
Constructs a new Vector store. If
| constrainDimensions |
is false then store can be used for vectors with any dimensions.
| length | Dimension of stored vectors. |
| override Vector IG::Num::VectorStore::TryGetNew | ( | ) | [inline, protected] |
Returns a newly created object eligible for storage, or null if such an object can not be created. This method should not throw an exception.