parameters: (self)
return_statement: return curvature_str
docstring: str : The curvature of the expression.
docstring_summary: str : The curvature of the expression.
docstring_tokens: str : The curvature of the expression .
function: def curvature(self) -> str:
          """str : The curvature of the expression.
          """
          if self.is_constant():
              curvature_str = s.CONSTANT
          elif self.is_affine():
              curvature_str = s.AFFINE
          elif self.is_convex():
              curvature_str = s.CONVEX
          elif self.is_concave():
              curvature_str = s.CONCAVE
          elif self.is_log_log_affine():
              curvature_str = s.LOG_LOG_AFFINE
          elif self.is_log_log_convex():
              curvature_str = s.LOG_LOG_CONVEX
          elif self.is_log_log_concave():
              curvature_str = s.LOG_LOG_CONCAVE
          elif self.is_quasilinear():
              curvature_str = s.QUASILINEAR
          elif self.is_quasiconvex():
              curvature_str = s.QUASICONVEX
          elif self.is_quasiconcave():
              curvature_str = s.QUASICONCAVE
          else:
              curvature_str = s.UNKNOWN
          return curvature_str
function_tokens: def curvature ( self ) -> str : if self . is_constant ( ) : curvature_str = s . CONSTANT elif self . is_affine ( ) : curvature_str = s . AFFINE elif self . is_convex ( ) : curvature_str = s . CONVEX elif self . is_concave ( ) : curvature_str = s . CONCAVE elif self . is_log_log_affine ( ) : curvature_str = s . LOG_LOG_AFFINE elif self . is_log_log_convex ( ) : curvature_str = s . LOG_LOG_CONVEX elif self . is_log_log_concave ( ) : curvature_str = s . LOG_LOG_CONCAVE elif self . is_quasilinear ( ) : curvature_str = s . QUASILINEAR elif self . is_quasiconvex ( ) : curvature_str = s . QUASICONVEX elif self . is_quasiconcave ( ) : curvature_str = s . QUASICONCAVE else : curvature_str = s . UNKNOWN return curvature_str