import numpy as np
# Define X and Y arrays
X = np.array([1, 2, 3])
Y = np.array([4, 5, 6])
# Compute the Cauchy matrix using np.subtract.outer() and np.divide()
Cauchy = np.divide(1, np.subtract.outer(X, Y))
print("Cauchy matrix:")
print(Cauchy)