This means lastZ and z are structures.
> lastZ = z; // tdis initialization
I believe this make the structure lastZ point to the structure z. This
is different than using:
lastZ.r = z.r;
lastZ.i = z.i;
which moves the contents of z to lastZ, but leaves the pointers pointing
to separate structures.
typedef struct complexStruct
{
double r;
double i;
} complex;