- #1

ddr

assumes |x|*|z|<>0

xonz=(scalar_product(z,x)/(|x|*|z|))*z;

y=x-xonz;

assumes |x|<>0

result=cos(alpha)*x+sin(aplha)*(|y|/|x|)*y;

- Thread starter ddr
- Start date

- #1

ddr

assumes |x|*|z|<>0

xonz=(scalar_product(z,x)/(|x|*|z|))*z;

y=x-xonz;

assumes |x|<>0

result=cos(alpha)*x+sin(aplha)*(|y|/|x|)*y;

- #2

ddr

actually y=croos_vector(z,(x-xonz))/|x-xonz|^2

- #3

- 508

- 0

Not quite. I should say:

answer = x_{onz} + y cos [alpha] + z/|z| X y sin [alpha].

Where X means vector product. And y = x - x_{onz}.

Note: There should be a simpler form to this. Try yourself, please!

answer = x

Where X means vector product. And y = x - x

Note: There should be a simpler form to this. Try yourself, please!

Last edited:

- Last Post

- Replies
- 7

- Views
- 2K

- Last Post

- Replies
- 6

- Views
- 3K

- Last Post

- Replies
- 1

- Views
- 3K

- Last Post

- Replies
- 10

- Views
- 2K

- Replies
- 3

- Views
- 13K

- Replies
- 2

- Views
- 3K

- Replies
- 9

- Views
- 2K

- Last Post

- Replies
- 6

- Views
- 26K

- Last Post

- Replies
- 4

- Views
- 1K

- Last Post

- Replies
- 2

- Views
- 2K