Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Projection with dot product

Projection with dot product

p=x⟨x,y⟩∣∣x∣∣2 {p} = {x} \frac{\langle {x}, {y} \rangle}{||{x}||^{2}}

array([[0., 0.], [2., 4.]])
array([[0.02173913, 0.04347826, 0.08695652, 0.10869565], [0.04347826, 0.08695652, 0.17391304, 0.2173913 ], [0.08695652, 0.17391304, 0.34782609, 0.43478261], [0.10869565, 0.2173913 , 0.43478261, 0.54347826]])
<Figure size 288x288 with 1 Axes>