Skip to main content

ClikaRT::ops::neg_

function

neg_()

Tensor& neg_(Tensor& self)

In-place neg: writes the result through self; same formula, arguments, and error conditions as neg(). A view input writes through its base storage. Returns self under the value surface, Result<void> under the Result surface; CLIKART_CHECK is the mode-stable spelling.

Declared in ClikaRT/compute/ops.h, line 5089