Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Definition of Vector multiplication is vague #133

Open
pavel-zhigulin opened this issue Aug 15, 2021 · 2 comments
Open

Definition of Vector multiplication is vague #133

pavel-zhigulin opened this issue Aug 15, 2021 · 2 comments

Comments

@pavel-zhigulin
Copy link

Here is your definition of Vector multiplication (equation 3, here )

Vector Multiplication.  Vector multiplication is one of the few vector operations that has no real geometric equivalent. To multiply a direction by another, or multiplying a position by another position, does not really make sense. That does not mean that the numerical equivalent is not useful, though.

Multiplying two vectors numerically is simply component-wise multiplication, much like vector addition.

What you described is actually called Hadamard product

Basically when "Vector multiplication" is said it is implied to be Cross product , which is completely different thing.

@pavel-zhigulin pavel-zhigulin changed the title Definition of Vector multiplication is totally incorrect Definition of Vector multiplication is vague Aug 15, 2021
@paroj
Copy link
Owner

paroj commented Aug 15, 2021

Basically when "Vector multiplication" is said it is implied to be Cross product , which is completely different thing.

why not dot product?

@pavel-zhigulin
Copy link
Author

why not dot product?

Because dot product produces scalar and, usually, is used in different context. I wouldn't even notice this if you wouldn't claim that the book is for begginers. Okay, "Vector multiplication" is quite fine, but I would prefer to see some kind of note, like:

Multiplying two vectors can have different definitions in math, depends on context we use it. In computer graphics we usually will be interested in so called "Hadamard product", which is simply component-wise multiplication, much like vector addition.

<formula>

In chapter 9 we'll cross with other definition, which is called "dot Product", which could be helpful in context of calculation angles between vectors, but we'll discuss it later.

(I'm not a native speaker so stylistically my example could be not good enough, I just hope you got the idea).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants