Learn R Programming

CVXR (version 1.9.1)

curvature: Get Expression Curvature

Description

Returns the DCP curvature of an expression as a string.

Usage

curvature(x)

Value

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

Arguments

x

A CVXR expression.

See Also

is_convex(), is_concave(), is_affine(), is_constant()