samesign

lstchain.mc.sensitivity.samesign(a, b)

Check if two numbers have the same sign Parameters ———- a: float b: float

Returns:
a * b > 0: bool True if a and b have the same sign