TVec.DisableSubrange Method

void DisableSubrange

Prevents calls to Dew.Math.TMtxVecBase.SetSubRange.

Result: stored in self (calling object)

Remarks:

Prevents calls to Dew.Math.TMtxVecBase.SetSubRange method. This can be usefull guard when an object is already working on a subrange and the user would like to further subrange an already subranged object.

Examples
Vector a;
Vector b;
a.SetIt(false, new double[] {1,2,3,4,5,6,7,8,9});
a.SetSubRange(0,2);  //a = new double[] {1,2}
a.DisableSubrange;
a.SetSubRange(2,2); //exception raised here

b.SetSubRange(a,2,2); //but this will work
a.SetFullRange; //b is !changed, it still points to new double[] {4,5}