Skip to content

Instantly share code, notes, and snippets.

@bunelr
Created December 18, 2015 12:20
Show Gist options
  • Save bunelr/a824c567421f54b07382 to your computer and use it in GitHub Desktop.
Save bunelr/a824c567421f54b07382 to your computer and use it in GitHub Desktop.
Quizz
for (int l1=0; l1 < M_; l1++) {
for (int l2=0; l2< M_; l2++) {
float temp = (l1==l2 - inv_proba(l2)/z_norm) * inv_proba(l1);
J1(l1,l2) = temp;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment