This file contains 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
# ------------------------------------------------------------------------------- | |
# Agent-based SIR Model | |
# Author: Liu An Chi @tigercosmos | |
# ------------------------------------------------------------------------------- | |
from pylab import * | |
from scipy import interpolate | |
from random import random | |
from math import log | |
from enum import Enum |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
[ 0%] Built target LLVMDemangle | |
[ 0%] Built target LLVMTableGen | |
[ 2%] Built target obj.llvm-tblgen | |
[ 2%] Built target LLVMHello_exports | |
[ 6%] Built target LLVMSupport | |
[ 7%] Built target LLVMMCParser | |
[ 7%] Built target LLVMMCDisassembler | |
[ 9%] Built target LLVMMC | |
[ 10%] Built target LLVMObjectYAML | |
[ 11%] Built target LLVMDebugInfoDWARF |
This file contains 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
{ | |
"bin": { | |
"sh": null | |
}, | |
"boot": { | |
"kernel.js": null | |
}, | |
"index.json": null, | |
"spec": { | |
"cpu2006_asmjs": { |
This file contains 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
#!/usr/bin/env python | |
# coding: utf-8 | |
import numpy as np | |
import cv2 | |
import os | |
import math | |
from cyvlfeat.kmeans import kmeans | |
from scipy import ndimage | |
from scipy.spatial import distance |
This file contains 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
class Calculator { | |
constructor() { | |
} | |
add(a, b) { | |
return a + b; | |
} | |
sub(a, b) { |
This file contains 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 <array> | |
#include <stdexcept> | |
#include <algorithm> | |
#include <vector> | |
#include <iostream> | |
#include <initializer_list> | |
template <typename T, size_t N = 10> | |
class SmallVec | |
{ |
OlderNewer