You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > SinCos Method > TOpenCLMtxVec.SinCos Method (TOpenCLMtxVec, TOpenCLMtxVec, integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.SinCos Method (TOpenCLMtxVec, TOpenCLMtxVec, integer, integer, integer, integer)

Calculates the sine and cosine for calling object elements [Index]..[Index+Len-1].

Pascal
procedure SinCos(const SinX: TOpenCLMtxVec; const CosX: TOpenCLMtxVec; SinXIndex: integer; CosXIndex: integer; Index: integer; Len: integer); overload;

stores the sines to SinX elemets [SinXIndex]..[SinXIndex+Len-1] and cosines to CosX elements [CosXIndex]..[CosXIndex+Len-1] elements. Size and TOpenCLBase.ComplexComplexproperty of SinX and CosX objects are not set automatically. An exception is raised if array borders are overrun/underun.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!