You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > MatrixInt Structure > MatrixInt Methods > MatrixInt.DisableSubrange Method
Dew Math for .NET
ContentsIndexHome
Example
var a: MatrixInt; b: VectorInt; begin a.SetIt(3,3, [1,2,3,4,5,6,7,8,9]); a.SetSubRange(0,2); //a = [1,2] a.DisableSubrange; a.SetSubRange(2,2); //exception raised here b.SetSubRange(a,2,2); //but this will work a.SetFullRange; //b is not changed, it still points to [4,5] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.