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

Tangens.

Pascal
function Tan: TMtxVec; overload;

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

var a: TVec; begin CreateIt(a); try a.SetIt(True,[1,-2,3,4]); a.Tan; // Computes complex tangens 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!