Define logarithmic power for NumPy
You can use ** for exponentiation: np.log(x/y) ** 2
I am trying to define ln2(x/y) in Python, within NumPy.
I can define ln(x) as np.log(x) but how I can define ln2(x/y)?
ln2(x/y); natural logarithm to the power of 2