You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > VectorInt Structure > VectorInt Methods > BinaryNot Method > VectorInt.BinaryNot Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
VectorInt.BinaryNot Method ()

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

Syntax
C#
Visual Basic
public TMtxVecInt BinaryNot();

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

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