parameters: (self, dpp: bool = False)
return_statement: return all(arg.is_affine() for arg in self.args)
docstring: An exponential constraint is DCP if each argument is affine.
docstring_summary: An exponential constraint is DCP if each argument is affine.
docstring_tokens: An exponential constraint is DCP if each argument is affine .
function: def is_dcp(self, dpp: bool = False) -> bool:
          """An exponential constraint is DCP if each argument is affine.
          """
          if dpp:
              with scopes.dpp_scope():
                  return all(arg.is_affine() for arg in self.args)
          return all(arg.is_affine() for arg in self.args)
function_tokens: def is_dcp ( self , dpp : bool = False ) -> bool : if dpp : with scopes . dpp_scope ( ) : return all ( arg . is_affine ( ) for arg in self . args ) return all ( arg . is_affine ( ) for arg in self . args )