Dot Products

This is a discussion on Dot Products within the C Programming forums, part of the General Programming Boards category; hey there - this is just a basic maths question. I've implemented a dot product calculation and I'm sure its ...

  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    24

    Dot Products

    hey there -

    this is just a basic maths question. I've implemented a dot product calculation and I'm sure its wrong.

    I'm multiplying the two x co-ords the two y co-ords and the two z co-ords of the two vectors and adding them up. Is the calculation this easy or have I done something wrong?

    Thanks for any help, told you it was basic,

    HH

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    http://mathworld.wolfram.com/DotProduct.html

    Yes dot product is just that easy

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Multiplying arrays (dot vectors)
    By Matter711 in forum C Programming
    Replies: 3
    Last Post: 05-09-2008, 10:30 PM
  2. Red Dot in the middle of screen?
    By kennny2004 in forum C++ Programming
    Replies: 8
    Last Post: 10-20-2006, 03:15 PM
  3. need help making a dot bounce up and down y axis in this prog
    By redwing26 in forum Game Programming
    Replies: 10
    Last Post: 08-05-2006, 01:48 PM
  4. #define with a dot?
    By chunlee in forum C Programming
    Replies: 6
    Last Post: 11-08-2004, 10:49 AM
  5. Simple program i cant get (dot moving)
    By Lupusk9 in forum C++ Programming
    Replies: 4
    Last Post: 09-14-2004, 09:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21