Skip to contents

Returns the DCP curvature of an expression as a string.

Usage

curvature(x)

Arguments

x

A CVXR expression.

Value

Character: "CONSTANT", "AFFINE", "CONVEX", "CONCAVE", or "UNKNOWN".