__pos__

array.__pos__() array

Evaluates +self_i for each element of an array instance.

Parameters

self (array) – array instance. Should have a numeric data type.

Returns

out (array) – an array containing the evaluated result for each element. The returned array must have the same data type as self.

Note

Element-wise results must equal the results returned by the equivalent element-wise function positive().