abs

Syntax

y = abs(x)

Operator implementation

The operator has support for both convex models where linear graph representations are used, and nonconvex scenarios where linear mixed-integer representations are required.

For complex-valued arguments, norm(x) is returned.