'_coefficients',
'_constant',
'_symbols',
- '_dimension'
+ '_dimension',
)
def __new__(cls, coefficients=None, constant=0):
class Symbol(Expression):
+ __slots__ = Expression.__slots__ + (
+ '_name',
+ )
+
def __new__(cls, name):
if isinstance(name, Symbol):
name = name.name
'_equalities',
'_inequalities',
'_constraints',
- '_symbols'
+ '_symbols',
)
def __new__(cls, equalities=None, inequalities=None):