You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVecInt Class > TMtxVecInt Methods > LogicalNot Method > TMtxVecInt.LogicalNot Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVecInt.LogicalNot Method ()

Applies logical "not" operation to elements stored in the object.

Syntax
C#
Visual Basic
public TMtxVecInt LogicalNot();

Calculate the logical "not" value of all calling object elemets in-place.

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TVecInt a; MtxVecInt.CreateIt(out a); try { a.SetIt(new int[] {1,0,1,0}); a.LogicalNot(); // a = [0,1,0,1] } finally { MtxVec.FreeIt(ref a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!