Dew MtxVec NET
TMtxVec.Length Property
Summary
Defines the length in number of samples.

Class
TMtxVec

Declaration
Property Length: integer read fLength write SetLength stored false;
Description
Defines the number of samples that the object can store. The length property does not map directly to memory reallocation when it is changed. Until the amount of preallocated memory is not exceed, there is no reallocation going on.

Changing the Length property will preserve the existing values, but only if the new property value is smaller than the amount of preallocated memory. To properly resize the memory allocated use the Resize method.

It is recommended that vector sizes do not exceed the size of preallocated memory to increase overall performance. The size of preallocated memory can be controlled via the Controller global variable.

Copyright 2008 Dew Research
http://www.dewresearch.com