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
| import math | |
| import numpy as np | |
| ## Calcula a probabilidade de uma observação x em uma distribuição normal | |
| # Caso positivo | |
| mean_pos = [0.517, 0.423] | |
| cov_pos = [[0.0086335, -0.006541], [-0.006541, 0.0196335]] | |
| x7 = [0.45, 0.80] |
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
| //Gabriel Amaral DRE: 121069963 | |
| #define TAM 10000 | |
| #define NTHREADS 2 | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <pthread.h> | |
| double vetor[TAM], copia[TAM]; | |
| void *incrementa(void *arg){ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.