To study the effect of boundary conditions on the state transition matrices and , it is convenient to write the terminated transition matrix as the sum of of the ``left-clamped'' case (for which ) plus a series of one or more rank-one perturbations. For example, introducing a right termination with reflectance can be written
In general, when is odd, adding to corresponds to a connection from left-going waves to right-going waves, or vice versa (see Fig. 3). When is odd and is even, the connection flows from the right-going to the left-going signal path, thus providing a termination (or partial termination) on the right. Left terminations flow from the bottom to the top rail in Fig. 3, and in such connections is even and is odd. The spatial sample numbers involved in the connection are and , where denotes the greatest integer less than or equal to .
The rank-one perturbation of the DW transition matrix Eq. (40) corresponds to the following rank-one perturbation of the FDTD transition matrix :