Overview of the main functions in this folder:

Ham_extHess: computes the K-symplectic transformation to K-Hamiltonian extended Hessenberg form;

Hess_as: computes the K-symplectic transformation to K-Hamiltonian extended Hessenberg form, with a central ascending sequence of rotations;
Hess_ds: computes the K-symplectic transformation to K-Hamiltonian extended Hessenberg form, with a central descending sequence of rotations;

as/ds_Vshape_zero_left/right: zeros a sequence of rotations on the left or the right of a V-shape pyramid of rotations (as/ds stands for ascending or descending sequence);

Gen_ci: generates the counteridentical matrix;

Ksym_cpart: generates the K-symplectic counterpart JGJ of the rotation G;

seq_inverse: computes the inverse of a sequence of rotations;
rot_inverse: computes the inverse of a V-shape pyramid of rotations;

VshapeQR/RQ: computes a QR/RQ factorization where Q is given by a V-shape pyramid of rotations;

Vtop: finds the column index corresponding to the pyramid top (necessary only in the descending sequence case).


