Yes, you can do that with ImageSet:

In [11]: ImageSet(Lambda(t, (t, t)), Interval(0, 1))
Out[11]: {(t, t) | t ∊ [0, 1]}

In [14]: ImageSet(Lambda(t, (t**2, t, 1-t)), Interval(0, 1))
Out[14]:
⎧⎛ 2          ⎞             ⎫
⎨⎝t , t, 1 - t⎠ | t ∊ [0, 1]⎬
⎩                           ⎭

On Tue, 1 Oct 2019 at 22:58, EKW <etk...@gmail.com> wrote:
>
> For example if I wanted to represent the line segment from (0,0) to (1,1) 
> (f(t) = (t, t) for t in (0, 1))- can this be done with an image set? How? Or 
> a curve in 3d space (for example, f(t) = (t^2, t, 1 - t) for t in (0, 1)).
>
> --
> 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 sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/8d96f817-802e-412e-948f-a3fc18361419%40googlegroups.com.

-- 
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 sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAHVvXxSqefKtjfLa-NpVpSQ4NXvBPCKp81kanUkQSrdwU03Nzg%40mail.gmail.com.

Reply via email to