`vecper.gp`

This is some functions for Pari/GP manipulating periodic or eventually periodic vectors. Such a vector has some fixed initial elements, then an infinitely repeating periodic part. Functions include

- State-based creation and mapping.
- Digits of a fraction 0 <= f <= 1.

`vecper.gp`

is
free software (free
as in freedom), published under the terms of the
GNU
General Public License (v3 or higher). Download version
2 here,

`vecper.gp`

(20k, and sig)

`vecper-2.tar.gz`

(82k, and sig)

Just `vecper.gp`

is enough to run. Comments at the start are an
introduction and overview, then each function has an `addhelp()`

.
The `tar`

file includes some example scripts, self-tests, and a few
work-in-progress extras. The extras might work but may change wildly. The
sig files are Gnu PG ascii armoured
signatures generated from my key.

In version 1, `vecper_normalize()`

had a bug rotating the periodic
part to cover some of the fixed part.

This page Copyright 2019, 2022, 2023 Kevin Ryde, except for the GPLv3 logo which is Copyright Free Software Foundation and used here in accordance with its terms.

(Back to the sitemap, or the Pari/GP section there).