American Citizen on Mon, 14 Oct 2024 18:54:42 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: question on the apply function, when the return values > 1


Bill:

This is an elegant solution.

There is shorter alternative without apply and concat.
[[x,y]|x<-130*L;y<-ellordinate(e, x)]

(beware the semi-colon in the middle).

Cheers,
Bill.

Is the pipe like the pipe in Linux? and what exactly does the semi-colon do here? I am asking because I was now aware of this type of program statement in GP-Pari

Randall