Bill Allombert on Mon, 13 Nov 2017 21:45:14 +0100


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

Re: ellheight tutorial


On Mon, Nov 13, 2017 at 09:30:41PM +0100, g hillartin wrote:
> Hi,
> 
> Since the rewriting of the ellheight0() function, the example at end of
> p.27 of the Tutorial has become inadequate.
> 
> It should (at least) read:
> 
> hv = ellheightmatrix(e, v)
> ...
> perm = vecsort(vector(#v,i,i), (a,b) -> hv[a,a]>hv[b,b]);

rather
perm = vecsort(vector(#v,i,i), (a,b) -> hv[a,a]-hv[b,b]);
I think.

Cheers,
Bill.