You are here: Symbol Reference > AbstractMtxVecInt Namespace > Classes > TMtxVecInt Class > public > BinaryNot Method > TMtxVecInt.BinaryNot Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVecInt.BinaryNot Method ()

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

Pascal
function BinaryNot: TMtxVecInt; overload;

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

Uses MtxVecInt; procedure Example; var a: TVecInt; begin CreateIt(a); a.SetIt([1,0,1,0]); a.BinaryNot; // a = [-2,-1,-2,-1] FreeIt(a); end;
Examples on GitHub
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!