You are here: Symbol Reference > AbstractMtxVec Namespace > Classes > TMtxVec Class > public > Cos Method > TMtxVec.Cos Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVec.Cos Method ()

Cosine.

Pascal
function Cos: TMtxVec; overload;

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

var a: TVec; begin CreateIt(a); try a.SetIt(True,[1,-2,3,4]); a.Cos; // Computes complex sine finally FreeIt(a); end; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!