You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clValue Structure > clValue Methods > clValue.SinCos Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clValue.SinCos Method

Sine and cosine.

Syntax
C#
Visual Basic
public void SinCos(TOpenCLValue SinX, TOpenCLValue CosX);

Calculates the sine and cosine for calling object value and stores the sine to SinX and cosine to CosX. 

Note Use this method if you require both sine and cosine.

var a, s,c: clValue; begin a.Copy(0); a.SinCos(s,c); // s=[0], c =[1] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!