Collocation method with transition matrices

 

We generalize the program for any model in terms of x:

 

but

for the first group of period of time

 

for the second group of period of time

.

.

.

 for the ns-th group of period of time

 

together with the common sets of parameters that are unchanged at all.

 

Although we can set the same sets of parameters repeatedly in the program in 1206,

 

We here program it using a single set of parameters, para.