Skip to content
fn

arccos_inplace_op

→TensorImplPtr
int arccos_inplace_op(const int & a)

In-place inverse cosine: writes arccos⁡x\arccos x back into a.

Math

ai←arccos⁡(ai)a_i \leftarrow \arccos(a_i)

See Also

arccos_op — out-of-place counterpart.

Parameters

aTensorImplPtr
Tensor to arccos in place. Must be non-null. Values outside [−1,1][-1, 1] follow the backend's NaN convention.

Returns

TensorImplPtr

The same pointer as a.