0% found this document useful (0 votes)
17 views1 page

Clase PDF

Uploaded by

Ariadna Roman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views1 page

Clase PDF

Uploaded by

Ariadna Roman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

ParallelMatrixSum MatrixSumThread

n int n int
m int m int
first double[][] first double[][]
second double[][] second double[][]
result double[][] result double[][]
p int distribution Distribution
threads Thread[] startIdx int
distribution Distribution endIdx int
readData() void MatrixSumThread(int, int, double[][], double[][], double[][], int, int, Distribution)
createThreads() void run() void
runThreads() void
getResult() double[][]

ParallelMatrixMultiplication MatrixMultiplicationThread

n int n int
k int k int
m int m int
first double[][] first double[][]
second double[][] second double[][]
result double[][] result double[][]
p int distribution Distribution
threads Thread[] startIdx int
distribution Distribution endIdx int
readData() void MatrixMultiplicationThread(int, int, int, double[][], double[][], double[][], int, int, Distribution)
createThreads() void calculateValueForPosition(int, int) double
runThreads() void run() void
getResult() double[][]

You might also like