Results 1 to 3 of 3

Math Help - Algorithm

  1. #1
    Newbie
    Joined
    Mar 2009
    Posts
    5

    Algorithm

    Need some help..

    Recall an algorithm for computing the inner product of two vectors represented as one dimensional arrays.Suppose that this algorithm is implemented as a function that input arrays V1,V2 and their dimension k, and outputs their inner product. Write a pseudocode of an algorithm that input two matrices A[1..n,1..m] and B[1..m;1..p] and outputs their product. Your algorithm should call the function for computing the inner product.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by epi1988 View Post
    Need some help..

    Recall an algorithm for computing the inner product of two vectors represented as one dimensional arrays.Suppose that this algorithm is implemented as a function that input arrays V1,V2 and their dimension k, and outputs their inner product. Write a pseudocode of an algorithm that input two matrices A[1..n,1..m] and B[1..m;1..p] and outputs their product. Your algorithm should call the function for computing the inner product.
    You should know that the i,j-th element of a matrix product is the inner product of the i-th row of the first matrix with the j-th column of the second.

    CB
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Mar 2009
    Posts
    5

    Algorithm

    I think I know what do you mean.

    Thanks a lot.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. algorithm
    Posted in the Advanced Applied Math Forum
    Replies: 3
    Last Post: January 19th 2010, 03:46 AM
  2. Algorithm
    Posted in the Advanced Math Topics Forum
    Replies: 7
    Last Post: November 22nd 2009, 08:11 AM
  3. algorithm
    Posted in the Math Topics Forum
    Replies: 2
    Last Post: July 16th 2008, 02:29 PM
  4. Algorithm
    Posted in the Discrete Math Forum
    Replies: 1
    Last Post: February 27th 2008, 02:02 PM
  5. gcd algorithm
    Posted in the Discrete Math Forum
    Replies: 1
    Last Post: December 5th 2007, 12:47 AM

Search Tags


/mathhelpforum @mathhelpforum