The concept of alternate curves s0ounds quite appealing. Simply using x and y is of course obvious .. I just felt that my entire kluge was very ungainly and I hoped that somebody could suggest a method of flexing the curve in a similar fashion but with a more elegant function.
For instance the very idea of needing to start with 10+i.25 riles me somehow .. just not clean. David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Raul Miller Sent: Tuesday, October 02, 2007 14:18 To: Programming forum Subject: Re: [Jprogramming] Adjustable Progression On 10/2/07, David Vincent-Jones <[EMAIL PROTECTED]> wrote: > Some ideas would be appreciated. Are you looking to rephrase it so it's a function, or are you looking for alternative curves (for example, a discussion of splines??) If the former, the first thing you would need to decide is: "what parameters do you want, and what should be left alone?" For example, let's say that Series should remain fixed, and that Toe and Heel should be parameters. Then you could simply make Toe be x and Heel be y. For example: 13 :'>.100%~(Series%x)^y' [: >. 100 %~ ] ^~ (10+i.25) % [ Or, maybe you would prefer to have all these arguments passed as a single list (with the current values as the default). In other words something like (watch out for line wrap): 13 :'>.100%~(((+i.)/2 3{t)%0{t)^1{t=.y,(#y)}.7.15 6.5 10 25' [: ([: >. 100 %~ (([: (+ i.)/ 2 3 { ]) % 0 { ]) ^ 1 { ]) ] , 7.1500000000000004 6.5 10 25 }.~ # That's getting a bit long though, so perhaps instead you would like a conjunction where the Series parameters are the conjunction arguments, and the Toe/Heel parameters are the left and right parameters for the resulting verb?. 2 :'>.100%~((m+i.n)%x)^y' 2 : '>.100%~((m+i.n)%x)^y' Using this last approach, here's the verb which serves the same role as the first one in this message: 10 (2 :'>.100%~((m+i.n)%x)^y') 25 (10) (2 : '>.100%~((m+i.n)%x)^y') 25 Or perhaps you are looking for something very different? -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm __________ NOD32 2565 (20071002) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
