One-period martingale deflator (source code)

= One-period martingale deflator

For price vectors $P_0,P_1$, a one-period martingale deflator is a pair $Y_0>0$, $Y_1>0$ satisfying $\mathbb E[Y_1P_1]=Y_0P_0$ componentwise.