It doesn't look like there is. DeferredVector just works by creating
Symbol('x[0]'). I think for the use-case it was designed for, this is fine.
You probably want to be using Indexed and IndexedBase instead.Aaron Meurer On Wed, Aug 19, 2015 at 6:07 AM, Nico <[email protected]> wrote: > After defining a vector `x` and one of its components, say `x0`, > ``` > import sympy > x = sympy.DeferredVector('x') > x0 = x[0] > ``` > is there any way to relate `x0` back to `x`? I.e., I'm looking for a > Boolean function that returns `True` for the question "Is x0 a component of > x?" > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/906550a7-f11d-4ccd-a097-0f47f1fff0a0%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/906550a7-f11d-4ccd-a097-0f47f1fff0a0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6Lw%3D5K%3DpG0pijtff1wv-%3DW3cS650PN3pN%2BPQ_EQtaPR4w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
