You are here: Symbol Reference > clMtxExpr Namespace > Classes > clMatrix Record > public > Cos Method > clMatrix.Cos Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
clMatrix.Cos Method ()

Cosine.

Pascal
function Cos: TOpenCLMtxVec; overload;

Calculate the cosine of all caling object elements in-place.

var a: clMatrix; begin a.CopyFromArray(2,2,TSingleArray.Create(1,-2,3,4)); a.Cos; // Computes complex sine end;
Examples on GitHub
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!