Example #1
0
 protected bool Equals(Greeks other)
 {
     return(Gamma.AlmostEqual(other.Gamma, 4) &&
            Delta.AlmostEqual(other.Delta, 4) &&
            Theta.AlmostEqual(other.Theta, 4) &&
            Vega.AlmostEqual(other.Vega, 4) &&
            Rho.AlmostEqual(other.Rho, 4) &&
            RhoFx.AlmostEqual(other.RhoFx, 4) &&
            Sigma.AlmostEqual(other.Sigma, 4));
 }