TMtx::Sign Method

Overload List

#SignatureDescription
1TMtxVec *Sign();Changes elements sign.
2TMtxVec *Sign(int Index, int Len);Change calling object elements [Index]..[Index+Len-1] sign in-place.
3TMtxVec *Sign(TMtxVec *X);Change all X object elements sign.
4TMtxVec *Sign(TMtxVec *X, int XIndex, int Index, int Len);Change X object elements [XIndex]..[XIndex+Len-1] sign.

Overload 1: TMtxVec *Sign();

Changes elements sign.

Remarks:

Changes all calling object elements sign (v -> -v) in-place.

See Also: TMtx::Mul
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 2: TMtxVec *Sign(int Index, int Len);

Change calling object elements [Index]..[Index+Len-1] sign in-place.

#NameTypeDescription
1Indexint
2Lenint
Remarks:

An exception is raised if array borders are overrun or underrun.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 3: TMtxVec *Sign(TMtxVec *X);

Change all X object elements sign.

#NameTypeDescription
1XTMtxVec *
Remarks:

Store the results in calling object. Size and TMtx::Complex properties of calling object are adjusted automatically.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 4: TMtxVec *Sign(TMtxVec *X, int XIndex, int Index, int Len);

Change X object elements [XIndex]..[XIndex+Len-1] sign.

#NameTypeDescription
1XTMtxVec *
2XIndexint
3Indexint
4Lenint
Remarks:

Store the results in callingobject elements [Index]..[Index+Len-1]. An exception is raised if array borders are overrun or underrun.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler