iarray.negative#

iarray.negative(iarr: IArray, /)#

Numerical negative, element-wise.

Parameters

iarr (IArray container) – Input array. Should have a numeric data type.

Returns

out – A lazy expression that must be evaluated via out.eval(), which will compute \(out = -iarr\).

Return type

iarray.Expr

References

np.negative