model.model.Variable

Package model :: Module model :: Class Variable |
[hide private]
[frames] | no frames]

# Class Variable

source code

Define a new variable with : x = Variable('x') Then x(k) returns the value with lag k Internally x(-k) is a symbol with name x_bk

Nested Classes | [hide private]
Inherited from `sympy.core.basic.Basic`: `__metaclass__`

Instance Methods | [hide private]
__call__(self, lag) | source code
__init__(self, name) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code
tostr(self, level=0) | source code
Inherited from `sympy.core.symbol.Symbol`: `__new_stage2__`, `_sage_`, `as_dummy`, `torepr` Inherited from `sympy.core.symbol.Symbol` (private): `_eval_defined_integral`, `_eval_expand_complex`, `_eval_integral`, `_hashable_content` Inherited from `sympy.core.basic.Atom`: `as_numer_denom`, `count_ops`, `doit`, `nseries`, `pattern_match` Inherited from `sympy.core.basic.Atom` (private): `_calc_splitter`, `_eval_as_leading_term`, `_eval_derivative`, `_eval_is_polynomial`, `_eval_oseries` Inherited from `sympy.core.basic.Basic`: `__contains__`, `__eq__`, `__float__`, `__getattr__`, `__hash__`, `__ne__`, `__nonzero__`, `__repr__`, `__str__`, `as_base_exp`, `as_basic`, `as_coeff_exponent`, `as_coeff_factors`, `as_coeff_terms`, `as_coefficient`, `as_expr_orders`, `as_indep_terms`, `as_independent`, `as_leading_term`, `as_poly`, `as_polynomial`, `as_powers_dict`, `as_real_imag`, `atoms`, `compare`, `conjugate`, `diff`, `evalf`, `expand`, `fdiff`, `has`, `has_all_symbols`, `has_any_symbols`, `integral`, `is_fraction`, `is_hypergeometric`, `is_polynomial`, `ldegree`, `leadterm`, `limit`, `match`, `matches`, `normal`, `oseries`, `removeO`, `rewrite`, `series`, `solve4linearsymbol`, `splitter`, `subs` Inherited from `sympy.core.basic.Basic` (private): `_calc_apply_positive`, `_calc_apply_real`, `_compute_oseries`, `_eval_apply_evalf`, `_eval_conjugate`, `_eval_eq_nonzero`, `_eval_evalf`, `_eval_expand_basic`, `_eval_expand_func`, `_eval_expand_power`, `_eval_expand_trig`, `_eval_fapply`, `_eval_fpower`, `_eval_power`, `_eval_rewrite`, `_eval_subs`, `_seq_eval_evalf`, `_seq_subs`, `_subs_dict`, `_subs_list`, `_subs_old_new` Inherited from `sympy.core.assumptions.AssumeMeths`: `__getstate__`, `__setstate__`, `assume` Inherited from `sympy.core.assumptions.AssumeMeths` (private): `_assume_hashable_content`, `_change_assumption`, `_eval_is_nonnegative`, `_get_assumption` Inherited from `sympy.core.methods.RelMeths`: `__ge__`, `__gt__`, `__le__`, `__lt__` Inherited from `sympy.core.methods.ArithMeths`: `__abs__`, `__add__`, `__div__`, `__mul__`, `__neg__`, `__pos__`, `__pow__`, `__radd__`, `__rdiv__`, `__rmul__`, `__rpow__`, `__rsub__`, `__rtruediv__`, `__sub__`, `__truediv__` Inherited from `object`: `__delattr__`, `__getattribute__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Class Methods | [hide private]
Inherited from `sympy.core.basic.Basic` (private): `_eval_apply_subs`

Static Methods | [hide private]
Inherited from `sympy.core.symbol.Symbol`: `__new__`, `__xnew__` Inherited from `sympy.core.basic.Basic`: `set_precision`, `set_repr_level`

Class Variables | [hide private]
| basename = `None`
| end_value = `None`
| init_value = `None`
| name = `None`
Inherited from `sympy.core.symbol.Symbol`: `default_assumptions`, `is_Symbol`, `is_comparable` Inherited from `sympy.core.basic.Atom`: `is_Atom`, `precedence` Inherited from `sympy.core.basic.Basic`: `Add_precedence`, `Apply_precedence`, `Atom_precedence`, `Item_precedence`, `Lambda_precedence`, `Mul_precedence`, `Pow_precedence`, `is_Add`, `is_Function`, `is_Integer`, `is_Mul`, `is_Number`, `is_NumberSymbol`, `is_Order`, `is_Pow`, `is_Rational`, `is_Real` Inherited from `sympy.core.assumptions.AssumeMeths`: `k`, `v` Inherited from `sympy.core.assumptions.AssumeMeths` (private): `_assume_aliases`, `_assume_defined`, `_assume_impl`, `_assume_inegs`, `_assume_negs`, `_assume_rels`, `_properties`, `_real_cmp0_table`, `_real_ordering`

Properties | [hide private]
Inherited from `sympy.core.symbol.Symbol`: `is_number` Inherited from `sympy.core.basic.Basic`: `args`, `func` Inherited from `sympy.core.basic.Basic` (private): `_args`, `_mhash` Inherited from `sympy.core.assumptions.AssumeMeths` (private): `_assumptions` Inherited from `object`: `__class__`

Method Details | [hide private]

### __call__(self, lag) (Call operator) | source code
Overrides: sympy.core.basic.Basic.__call__

### __init__(self, name) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__ (inherited documentation)

### tostr(self, level=0) | source code
Overrides: sympy.core.basic.Basic.tostr