Re: [sympy] Can SymPy's existing set implementation handle parameterized curves?

2019-10-01 Thread Oscar Benjamin
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

[sympy] Can SymPy's existing set implementation handle parameterized curves?

2019-10-01 Thread EKW
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