MML-Companion
MML-Companion copied to clipboard
Figure 2.6, Violation of Closure in A
Referring to "02_linear_algebra.ipynb", Figure 2.6 A:
Of course the closure property is violated in A, but I was wondering why you used vec1*vec2 to show that, since element wise multiplication is not defined for vectors (only addition "inner operation" and scaling "outer operation")
plt.quiver(*origin, *np.array(vec1*vec2), scale = scale,color = "gold") # operation on vec 1 with vec 2