curvature | R Documentation |
The curvature of an expression.
The curvature of an expression.
curvature(object)
## S4 method for signature 'Expression'
curvature(object)
object |
An Expression object. |
A string indicating the curvature of the expression, either "CONSTANT", "AFFINE", "CONVEX, "CONCAVE", or "UNKNOWN".
A string indicating the curvature of the expression, either "CONSTANT", "AFFINE", "CONVEX", "CONCAVE", or "UNKNOWN".
x <- Variable()
c <- Constant(5)
curvature(c)
curvature(x)
curvature(x^2)
curvature(sqrt(x))
curvature(log(x^3) + sqrt(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.