Andreas Enge on Mon, 11 May 2020 17:45:04 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Length of a vector |
Hello, On Mon, May 11, 2020 at 04:38:05PM +0100, Tiago Mendes wrote: > I have the following vector , GEN vec = mkvecn(0). I will add numbers to this > vector and in the end i need to know the size of this vector. you can try "???length" in GP to get all help topics related to this word. In particular, it shows you that there is a function "length"; to get more precise documentation, type "??length". This will also show you the library syntax for PARI, which turns out to be "glength". Enjoy! Andreas