This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "stdafx.h"; | |
| #include <iostream> | |
| #include <mpi.h> | |
| #include <ctime> | |
| #include <vector> | |
| #include <stdio.h> | |
| #include <string> | |
| /* | |
| 4. Proces 0 kreira matricu reda n i šalje i-om procesu po dve kvazidijagonale matrice, obe | |
| na udaljenosti i od sporedne dijagonale. Proces i kreira svoju matricu tako što smešta |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "stdafx.h"; | |
| #include <iostream> | |
| #include <mpi.h> | |
| #include <ctime> | |
| #include <vector> | |
| #include <stdio.h> | |
| #include <string> | |
| /* | |
| 3. Proces 0 kreira matricu reda n i šalje i-om procesu po dve kvazidijagonale matrice, obe | |
| na udaljenosti i od glavne dijagonale. Proces i kreira svoju matricu tako što smešta |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "stdafx.h"; | |
| #include <iostream> | |
| #include <mpi.h> | |
| #include <ctime> | |
| #include <vector> | |
| #include <stdio.h> | |
| #include <string> | |
| /* | |
| 2. Napisati MPI program koji pronalazi maksimalnu vrednost u delu matrice reda n (nparno) | |
| koga čine vrste matrice sa parnim indeksom (i=0,2,4,...). Matrica je inicijalizovana |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "stdafx.h"; | |
| #include <iostream> | |
| #include <mpi.h> | |
| #include <ctime> | |
| #include <vector> | |
| #include <stdio.h> | |
| #include <string> | |
| /* | |
| 1. Napisati MPI program koji pronalazi minimalnu vrednost u delu matrice reda n (n-parno) |
NewerOlder