Dew MtxVec NET
TVec.SetSubRange Methods

Class
TVec

Declaration
Procedure SetSubRange(Src: TMtxVec; Index: integer; Len: integer = MtxVecEOA);

Description
Define a subvector of the Src vector starting at Index and ending at Index+Len-1.
Declaration
Procedure SetSubRange(Src: TMtxVec);

Description
Defines the calling vector to have the view of the same memory as Src. Src vector's Length property may not change while any other object has it's own view of it.

a.SetSubRange(b,..);

This SetSubRange method must be handled with great care. Namely:


All this can lead to hard to find bugs.
 See Also 
SetSubRange 
SetFullRange 

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