View perturbation.py
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
import numpy as np | |
import matplotlib.pyplot as plt | |
plt.style.use('ggplot') | |
Sbar = 0.15 | |
Ibar = 0.001 | |
beta = 2 | |
gamma = 1/2 | |
exponent= beta*Sbar-gamma |
View progressreporter.cpp
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 "progressreporter.h" | |
#include <iostream> | |
#include <cmath> | |
#include <sstream> | |
#include <iomanip> | |
#ifdef _WIN32 | |
#define WIN32_LEAN_AND_MEAN | |
#include <windows.h> |
View avcfg.h
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
#ifndef AVCFG_H_INCLUDED | |
#define AVCFG_H_INCLUDED | |
/***************************************************************************** | |
* Declaration * | |
*****************************************************************************/ | |
/* Size of internal hashtable for dependency resolution. If you have really big | |
configuration files you might increase this to improve performance. In this case | |
it might be time to reevaluate if this library is right for you anyway! */ |
View granular-transmission.c
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 <stdlib.h> | |
#include <stdio.h> | |
#include <math.h> | |
#define NUM_SAMPLES 100000 | |
typedef struct{ | |
float x, y, z; | |
} vec3; |