Skip to content

PMVector/PMMatrix >> #dot: does not compute a dot product. #29

@emdonahue

Description

@emdonahue

Currently, #* computes the dot product:
#(1 2) asPMVector * #(2 1) asPMVector. "4"

and #dot: computes elementwise multiplication:
#(1 2) asPMVector dot: #(2 1) asPMVector. "a PMVector(2 2)"

#dot: should probably be renamed to something like #elementwiseMultiply: or maybe a shorter binary message.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions