Skip to content
fn

acos_storage

→Storage
int acos_storage(const int & s, int numel, Dtype dt, Device device)

Element-wise arccosine: returns \arccos(s).

Parameters

sconst Storage&
Input buffer with elements in [-1, 1].
numelstd::size_t
Number of elements.
dtDtype
Element dtype.
deviceDevice
Target device.

Returns

Storage

New storage holding acos(s) in radians.