TSparseMtx::RadToDeg Method

Overload List

#SignatureDescription
1TMtxVec *RadToDeg();RadToDeg converts radians to degrees.
2TMtxVec *RadToDeg(int Index, int Len);RadToDeg converts the radians for calling object elements [Index]..[Index+Len-1] in-place to degrees.
3TMtxVec *RadToDeg(TMtxVec *X);RadToDeg converts the radians to degrees for all X object elements.
4TMtxVec *RadToDeg(TMtxVec *X, int XIndex, int Index, int Len);RadToDeg converts degrees to radians for all X object elements [XIndex]..[XIndex+Len-1].

Overload 1: TMtxVec *RadToDeg();

RadToDeg converts radians to degrees.

Returns: RadToDeg converts radians to degrees for all calling object elements in-place. The following transformation is used: Degrees = Radians/(PI*180)

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

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

RadToDeg converts the radians for calling object elements [Index]..[Index+Len-1] in-place to degrees.

#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 *RadToDeg(TMtxVec *X);

RadToDeg converts the radians to degrees for all X object elements.

#NameTypeDescription
1XTMtxVec *
Remarks:

Stores the results in the calling object. Size and TSparseMtx::Complex properties of calling object are adjusted automatically.

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

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

RadToDeg converts degrees to radians for all X object elements [XIndex]..[XIndex+Len-1].

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

Stores the results in the calling object 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