You are here: Symbol Reference > MtxExprInt Namespace > Classes > VectorInt Record > public > BinaryNot Method > VectorInt.BinaryNot Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
VectorInt.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: TMtxVecInt; c: double; 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-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!