You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clMatrix Structure > clMatrix Methods > clMatrix.DisableSelect Method
Dew Math for .NET
ContentsIndexHome
Example
using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TOpenCLVector a,b; MtxVec.CreateIt(out a, out b); try { a.SetIt(false, new double[] {1,2,3,4,5,6,7,8,9}); a.Select(0,2); //a = [1,2] a.DisableSelect(); a.Select(2,2); //exception raised here b.Select(a,2,2); //but this will work a.SelectAll(); //b is not changed, it still points to [4,5] } finally { MtxVec.FreeIt(ref a, ref b); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.