Title Computing L-2-gain of finite-horizon systems with boundary conditions