Post Reply 
What do you think about this idea ?
12-06-2015, 05:34 PM
Post: #5
RE: What do you think about this idea ?
(12-05-2015 02:42 PM)dg1969 Wrote:  F2(X) : X^{2*{1:2,0.5}} => 3 curves X^2; X^(2*1.5); X^(2*2)

This could already be handled with the seq and mat2list commands
F2(X) : X^{2*mat2list(seq(K,K,1,2,0.5))}

It's too bad seq() doesn't just return a list instead of a vector.

Quote:F4(X) : [1,2]*X^2+[2,3]*X => 4 curves (1,2); (1,3); (2,2); (2,3)

This could get quickly out of hand.
F4(X) : [1,5]*X^2+[1,5]*X+[1,5]
would generate 125 curves. Typically, a user would want few enough curves to just use the other syntax.
F4(X) : {1,1,2,2}*X^2+{2,3,2,3}*X => 4 curves (1,2); (1,3); (2,2); (2,3)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: What do you think about this idea ? - Wes Loewer - 12-06-2015 05:34 PM



User(s) browsing this thread: 1 Guest(s)