nlib
nlib copied to clipboard
The book "Annotated Algorithms in Python" and the nlib.py library
Years later, still love this lib. Been using it in my theory course recently. Here's a small fix for the MC engine, so that it will converge 😄
Fixes issue #23. Also, if I may suggest, you could use the [releases](https://help.github.com/articles/creating-releases/) feature to distribute the PDF files, instead of committing binary files in git...
Several equations and align environments have additional newlines before and/or after them. If one makes the following substitutions to comment out those newlines: `\n\n\begin{equation}` -> `\n%\n\begin{equation}`, `\end{equation}\n\n` -> `\end{equation}%\n\n` (and...
Formula (6.67, 6.68). Statement that `-log(1-u)` is equivalent to `-log(u)` is true iff `u` is U(0,1) in the (0,1) range. In reality Python U(0,1) as well as C/C++ U(0,1) are...
In general, convention for Statistics and Monte Carlo is as following: - Distribution parameters are marked with Greek letters/symbols - Sampling results are marked with Latin letters/symbols $\mu$ vs $m$,...
License link in the README doesn't seem to work as the URL has been moved. Consider it to change it to it's updated location.
Following code returns an empty array. ```python google = YStock('GOOG') google.historical(start=datetime.date(2016,1,1), stop=datetime.date(2016,5,30)) ```
inherit more arguments for Canvas.hist() (color, normed) add Canvas.show() for visualization in IDE( e.g. spyder)