Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void SinCos(TMtxVec *SinX, TMtxVec *CosX) const; | Sine and cosine. |
| 2 | void SinCos(TMtxVec *SinX, TMtxVec *CosX, int SinXIndex, int CosXIndex, int Index, int Len) const; | Calculates the sine and cosine for calling object elements [Index]..[Index+Len-1]. |
Overload 1: void SinCos(TMtxVec *SinX, TMtxVec *CosX) const;
Sine and cosine.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SinX | TMtxVec * | |
| 2 | CosX | TMtxVec * |
Remarks:
Calculates the sine and cosine for all calling object elements and stores the sines to SinX and cosines to CosX. Size and Vector::Complex property of SinX and CosX are adjusted automatically.
Note
Use this method if you require both sine and cosine.
See Also: Vector::Sin, Vector::Cos
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler
Overload 2: void SinCos(TMtxVec *SinX, TMtxVec *CosX, int SinXIndex, int CosXIndex, int Index, int Len) const;
Calculates the sine and cosine for calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SinX | TMtxVec * | |
| 2 | CosX | TMtxVec * | |
| 3 | SinXIndex | int | |
| 4 | CosXIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
Remarks:
Stores the sines to SinX elemets [SinXIndex]..[SinXIndex+Len-1] and cosines to CosX elements [CosXIndex]..[CosXIndex+Len-1] elements. Size and Vector::Complex property of SinX and CosX objects are not set automatically. An exception is raised if Vector::ConditionCheck and array borders are overrun/underun.
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler