A direct solution method for pricing options in regime‐switching models. (14th July 2019)