You are here: Symbol Reference > MtxExprInt Namespace > Classes > VectorInt Record > public > LogicalNot Method > VectorInt.LogicalNot Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
VectorInt.LogicalNot Method ()

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

Pascal
function LogicalNot: TMtxVecInt; overload;

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

Uses MtxVecInt; procedure Example; var a: TVecInt; c: double; begin CreateIt(a); a.SetIt([1,0,1,0]); a.LogicalNot; // a = [0,1,0,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!