You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > ArcCos Method > TOpenCLMtxVec.ArcCos Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.ArcCos Method ()

The inverse cosine.

Pascal
function ArcCos: TOpenCLMtxVec; overload;

Calculate the inverse cosine of all calling object elements in-place. Values must be between -1 and 1. The return values will be in the range [0,Math387.PI], in radians.

var a: TOpenCLVector; begin CreateIt(a); a.CopyCplxFromArray(TSingleArray.Create(1,-0.5,0.11,0.9)); a.ArcCos; FreeIt(a); end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!