Skip to content

Instantly share code, notes, and snippets.

@ev-br
ev-br / interp2d_transition_guide.ipynb
Last active March 7, 2024 12:58
A transition guide for `interpolate.interp2d` bug-for-bug compatible replacements
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ev-br
ev-br / 1D_binding_energy.ipynb
Created November 15, 2020 10:49
1D Hubbard chain binding energy vs U
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ev-br
ev-br / RndmWrapper.ipynb
Created June 5, 2020 20:17
Cython wrapper for numpy.random.Generator for sequential MC simulations
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ev-br
ev-br / fredholm_equations.ipynb
Created April 24, 2020 09:45
Fredholm equations of the 2nd kind. Nystrom method
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ev-br
ev-br / gaussian_quadratures.ipynb
Created April 19, 2020 20:49
gaussian quadratures
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ev-br
ev-br / lagrange_interpolation.ipynb
Last active April 13, 2020 19:26
lagrange interpolation, Runge phenomenon, splines
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ev-br
ev-br / gaussian.cc
Created December 30, 2019 16:35
ScalarObservable
#include<iostream>
#include<iomanip>
#include<random>
#include"observable.h"
using namespace std;
using namespace mc_stats;
int main() {