This is the standard object for all the variable linked to expression.
the variable 'X' is associte to a prefactor and a constant term. Such
that this object can be reprensentet mathematicaly by a * X + b
|
__init__(self,
prefactor=1,
variable=' x ' ,
power=1)
[prefactor] * Variable ** [power] |
source code
|
|
|
copy(self)
provide an indenpedant copy of the object |
source code
|
|
|
simplify(self)
Define How to simplify this object. |
source code
|
|
|
expand(self)
Return a more basic representation of this variable. |
source code
|
|
|
|
|
__mul__(self,
obj)
How to multiply object together product of Variable ->
MultVariable |
source code
|
|
|
|
|
__add__(self,
obj)
How to make an addition Addition of Variable -> AddVariable |
source code
|
|
|
|
|
|
|
|
|
__rdiv__(self,
obj)
Deal division in a inverse way |
source code
|
|
|
__radd__(self,
obj)
How to make an addition Addition of Variable -> AddVariable |
source code
|
|
|
__iadd__(self,
obj)
How to make an addition Addition of Variable -> AddVariable |
source code
|
|
|
__rmul__(self,
obj)
How to multiply object together product of Variable ->
MultVariable |
source code
|
|
|
|
|
__rtruediv__(self,
obj)
Deal division in a inverse way |
source code
|
|
|
__eq__(self,
obj)
identical if the variable is the same |
source code
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|