parameters: (self,x)
return_statement: return np.hstack([g(x) for g in self.equalities])
docstring: Returns the stacked vector g(x) where g(x)=0 is the equality constraint.
docstring_summary: Returns the stacked vector g(x) where g(x)=0 is the equality constraint.
docstring_tokens: Returns the stacked vector g ( x ) where g ( x ) = 0 is the equality constraint .
function: def equalityResidual(self,x):
          """Returns the stacked vector g(x) where g(x)=0 is the equality constraint."""
          if len(self.equalities) == 0: return []
          return np.hstack([g(x) for g in self.equalities])
function_tokens: def equalityResidual ( self , x ) : if len ( self . equalities ) == 0 : return [ ] return np . hstack ( [ g ( x ) for g in self . equalities ] )