Skip to main content

sign

Overloads

NameDescription
sign(const ComplexArray arr) -> ComplexArrayComputes the sign (-1, 0, or 1) of the ComplexArray arr element-wise.
sign(const RealArray arr) -> RealArrayComputes the sign (-1, 0, or 1) of the RealArray arr element-wise.
sign(const IntegerArray arr) -> IntegerArrayComputes the sign (-1, 0, or 1) of the IntegerArray arr element-wise.

sign(const ComplexArray arr) -> ComplexArray

Computes the sign (-1, 0, or 1) of the ComplexArray arr element-wise.

Parameters

sign(const RealArray arr) -> RealArray

Computes the sign (-1, 0, or 1) of the RealArray arr element-wise.

Parameters

sign(const IntegerArray arr) -> IntegerArray

Computes the sign (-1, 0, or 1) of the IntegerArray arr element-wise.

Parameters