Chase Coleman
Chase Coleman
Work in progress with @sglyon. This PR (when it is finished) would address #105 **Plan**: Cubic Hermite splines use information about both the value and derivative of the function. The...
```julia p1 = plot(scatter(;y=randn(25))) p2 = plot(scatter(;y=randn(25)), Layout(shapes=[hline(0.25)])) pjoin = [p1; p2] ``` * `p1` is as expected * `p2` is as expected * `pjoin` no longer has the horizontal...
Hi. First of all, this is a great idea and an important package to have for efficiency purposes. Just a quick question/formality --I think it should also be specified that...
``` using BasisMatrices x = linspace(0.0, 5.0, 25) p = SplineParams(x, 0, 3) itp = BasisMatrices.Interpoland(Basis(p), [nodes(p).^2 nodes(p).^3]) pts = [1.0, 2.0, 3.0] println(itp(1.0, reshape([0, 1], (2, 1)))) println(itp(1.0, reshape([0,...
Opening issue to add shape preserving splines. Will use https://en.wikipedia.org/wiki/Cubic_Hermite_spline
We currently only test it with univariate functions. We should add some multivariate cases in the future.
Adds methods for `u^{-1}` and `du^{-1}` for utility functions where it can be computed by hand. I have some tests that make sure `u(u^{-1})` returns what we expect (also have...
This code is very similar to the code that is in the QE.jl library for `DiscreteRV`. We could simply treat multivariate discrete random variables as a univariate discrete random variable...
The Python cheatsheet has several places where there aren't spaces after commas (I noticed while I was reading some of the notifications this morning): * https://github.com/QuantEcon/QuantEcon.cheatsheet/blob/master/python-cheatsheet.rst#iterating * https://github.com/QuantEcon/QuantEcon.cheatsheet/blob/master/python-cheatsheet.rst#user-defined-functions * https://github.com/QuantEcon/QuantEcon.cheatsheet/blob/master/python-cheatsheet.rst#numpy...