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.
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.