I'm wondering if there's a more "numpy"ish approach to the following:
T = np.array([[0.9, 0.44], [0.6, 0.8]])
L = np.array([[0.83, 0.55], [0.2, 0.98]])
x = np.array([[1, 2], [3, 4], [6, 7]])
transformed = [np.dot(T, k) for k in x]
This works, but it seems like something that might be built into numpy, in pandas there's transform/apply for similar operations. What's the recommended approach with numpy?