Bill Allombert on Mon, 20 May 2013 17:08:36 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
extremal case of component extraction |
Dear PARI developers, In PARI 2.6.0 we have: ? [1,2][2..-2] *** at top-level: [1,2][2..-2] *** ^------------ *** _[_.._]: inconsistent dimensions in _[..]. ? [1,2][2..1] *** at top-level: [1,2][2..1] *** ^----------- *** _[_.._]: inconsistent dimensions in _[..]. I think a case could be made to return [] in both case. On the other hand ? [1,2][3..1] should probably fail. Cheers, Bill.