Skip to content

Figure 2.6, Violation of Closure in A #3

@psl-schaefer

Description

@psl-schaefer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions