conatus.expert.Y¶
- conatus.expert.Y = y¶
Symbol class is used to create symbolic variables.
- Parameters:
- AtomicExpr: variable name
- Boolean: Assumption with a boolean value(True or False)
Examples
>>> from sympy import Symbol >>> x = Symbol("x", positive=True) >>> x.is_positive True >>> x.is_negative False
passing in greek letters:
>>> from sympy import Symbol >>> alpha = Symbol('alpha') >>> alpha α
Trailing digits are automatically treated like subscripts of what precedes them in the name. General format to add subscript to a symbol :
<var_name> = Symbol('<symbol_name>_<subscript>')>>> from sympy import Symbol >>> alpha_i = Symbol('alpha_i') >>> alpha_i αᵢ