StackOverflow 文件 algorithm 教程 多執行緒演算法 乘法矩陣向量多執行緒 乘法矩陣向量多執行緒 Created: November-22, 2018 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 合併排序多執行緒方陣乘法多執行緒