TVecByte::LogicalNot Method

Overload List

#SignatureDescription
1TMtxVecInt *LogicalNot();Applies logical "not" operation to elements stored in the object.
2TMtxVecInt *LogicalNot(int Index, int Len);Apply logical "not" to elements stored in Self (this).
3TMtxVecInt *LogicalNot(TMtxVecInt *Src);Apply logical "not" to Src elements and store the result in Self (this).
4TMtxVecInt *LogicalNot(TMtxVecInt *Src, int SrcIndex, int Index, int Len);Apply logical "not" to Src elements and store the result in Self (this).

Overload 1: TMtxVecInt *LogicalNot();

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

Remarks:

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

Examples
#include "Units.MtxVec.h"
#include "Units.MtxVecInt.h"

using namespace Dew;
using namespace Dew::Math;
using namespace Dew::Math::Units::MtxVec;
using namespace Dew::Math::Units::MtxVecInt;

void Example()
{
    TVecInt* a;
    CreateIt(a);
    a->SetIt(DewArray<int>{1,0,1,0});
    a->LogicalNot(); // a = [0,1,0,1]
    FreeIt(a);
}
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 2: TMtxVecInt *LogicalNot(int Index, int Len);

Apply logical "not" to elements stored in Self (this).

#NameTypeDescription
1Indexint
2Lenint

Returns: the result of logical "not" of values stored in Self (this).

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 3: TMtxVecInt *LogicalNot(TMtxVecInt *Src);

Apply logical "not" to Src elements and store the result in Self (this).

#NameTypeDescription
1SrcTMtxVecInt *

Returns: the result of logical "not" of Src values stored in Self (this).

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 4: TMtxVecInt *LogicalNot(TMtxVecInt *Src, int SrcIndex, int Index, int Len);

Apply logical "not" to Src elements and store the result in Self (this).

#NameTypeDescription
1SrcTMtxVecInt *
2SrcIndexint
3Indexint
4Lenint

Returns: the result of logical "not" of Src values [SrcIndex]..[SrcIndex+Len-1] stored in Self (this) values [Index]..[Index+Len-1].

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler