You are here:
Symbol Reference >
Dew Namespace
>
Dew.Math Namespace
>
Classes
>
clVector Structure
>
clVector Methods
>
SinCos Method
>
clVector.SinCos Method (TOpenCLMtxVec, TOpenCLMtxVec)
Dew Math for .NET
Example
clVector.SinCos Method (TOpenCLMtxVec, TOpenCLMtxVec)
var a:
clVector
; s,c:
clVector
; begin a.CopyFromArray(TSingleArray.Create(0,PiDiv2,PI)); a.SinCos(s,c);
// s=[0,1,0], c =[1,0,-1]
end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
Contents
|
Index
|
Home