Thomas Baruchel on Sun, 15 Dec 2002 12:12:11 +0100


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

How to find the period in a vector ?


Brest, le dimanche 15 décembre

Hi, I wonder what is the best way to find the length of the period
in a vector. I suppose the vector is completely periodical, eg:
[1,2,3,1,2,3,1,2,3], though I'm not sure that the length of the vector
is divisible by the length of the period, eg: [1,2,3,1,2,3,1,2]
(without the last '3'). Is there something quick enough to do with
GP ?

-- 
Deux choses remplissent le coeur d'une admiration et d'une vénération
toujours nouvelles et toujours croissantes, à mesure que la réflexion
s'y attache et s'y applique : le ciel étoilé au-dessus de moi et la loi
morale en moi. (Emmanuel Kant)