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