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
| -- MIT License | |
| -- Copyright (c) 2021 David Fletcher | |
| -- Permission is hereby granted, free of charge, to any person obtaining a copy | |
| -- of this software and associated documentation files (the "Software"), to deal | |
| -- in the Software without restriction, including without limitation the rights | |
| -- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| -- copies of the Software, and to permit persons to whom the Software is | |
| -- furnished to do so, subject to the following conditions: |
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
| from scipy.sparse import lil_matrix | |
| import scipy.sparse as sp | |
| import scipy.sparse.linalg as linalg | |
| import numpy | |
| import math | |
| import matplotlib.pyplot as plt | |
| import matplotlib.widgets as wg | |
| def NextBadget(badget, fee, headCount): |
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
| # coding: utf-8 | |
| # In[41]: | |
| from matplotlib import pyplot as plt | |
| import numpy as np | |
| from sklearn import datasets |
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
| /* | |
| * This file was generated by the Gradle 'init' task. | |
| * | |
| * This generated file contains a sample Java Library project to get you started. | |
| * For more details take a look at the Java Libraries chapter in the Gradle | |
| * user guide available at https://docs.gradle.org/5.1.1/userguide/java_library_plugin.html | |
| */ | |
| plugins { | |
| // Apply the java-library plugin to add support for Java Library |
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
| #include <iostream> | |
| #include <cstdlib> | |
| #include <map> | |
| #include <array> | |
| #include <string> | |
| #include <vector> | |
| #include <fstream> | |
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
| " LaTeX Quickrun | |
| let g:quickrun_config['tex'] = { | |
| \ 'runner' : 'vimproc', | |
| \ 'runner/vimproc/updatetime' : 60, | |
| \ 'command' : 'latexmk', | |
| \ 'outputter' : 'error', | |
| \ 'outputter/error/success' : 'null', | |
| \ 'outputter/error/error' : 'quickfix', | |
| \ 'srcfile' : expand("%"), | |
| \ 'cmdopt': '-pdfdvi', |
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
| #!/usr/bin/env perl | |
| if ($^O eq 'MSWin32') { | |
| $latex = 'uplatex %O -kanji=utf8 -no-guess-input-enc -synctex=1 %S'; | |
| $pdflatex = 'pdflatex %O -synctex=1 %S'; | |
| $lualatex = 'lualatex -cmdx %O -synctex=1 %S'; | |
| $xelatex = 'xelatex %O -synctex=1 %S'; | |
| $biber = 'biber %O --bblencoding=utf8 -u -U --output_safechars %B'; | |
| $bibtex = 'upbibtex %O %B'; | |
| $makeindex = 'upmendex %O -o %D %S'; | |
| $dvipdf = 'dvipdfmx %O -o %D %S'; |
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
| let g:vimproc#download_windows_dll = 1 | |
| filetype plugin on | |
| set number | |
| set encoding=utf-8 | |
| set fileencoding=utf-8 | |
| set smarttab | |
| set expandtab | |
| set tabstop=2 | |
| set shiftwidth=2 |
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
| #ifdef GL_ES | |
| precision mediump float; | |
| #endif | |
| #extension GL_OES_standard_derivatives : enable | |
| uniform vec2 resolution; | |
| uniform vec2 mouse; |
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
| module AdjAverage where | |
| import Debug.Trace | |
| import KdTree | |
| import Data.List | |
| import Data.Maybe | |
| import ReturnNearestMap | |
| import qualified Data.Array.Repa as R | |
| import Basis |
NewerOlder