Algorithms Multi-threaded Algorithms suggest change

Multiplication matrix vector multithread

matrix-vector(A,x)
    n = A.lines
    y = Vector(n) //create a new vector of length n
    parallel for i = 1 to n
        y[i] = 0
    parallel for i = 1 to n
        for j = 1 to n
            y[i] = y[i] + A[i][j]*x[j]
    return y

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents