Suppose we have a numerical scheme
for some matrix
and if
Inhomogeneous case
The above works for zero boundary conditions. If that was not the case, we would have something like:
where
we can approximate this by:
Then for example use (integral) trapezoidal rule to find:
and then use the splitting.