Tamas K. Papp

Results 544 comments of Tamas K. Papp

I have looked at some textbooks, and both forms are in use (ie with denominators `N` and `N-k`, where `N` is the length of the sequence and `k` is the...

I am trying to implement this, but need a bit of help understanding the code. 1. Is it correct that the only thing I have to do is write an...

@mortenpi: what I was thinking of is a syntax ```` ```@splicecode file = "..." # mandatory lang = "julia" # optional lines = 1:end # optional, intepreted within the range...

@cossio: I didn't follow up on this. FWIW, I don't think that source code should be lifted into documentation like this in most cases. For literate programming, we have Literate.jl.

https://fredrikekre.github.io/Literate.jl/v2/documenter/

It looks like `Base._cpow` does not handle this well, the solution could be defining a rule for the derivative. Using `z*z` instead is a workaround.

@jrevels: Thanks. Looking at `ReverseDiff`, the key to supporting a calculation again seems to be having it in pure Julia. So by providing an alternative implementation for `expm` that does...

update: I confirm that if one removes balancing/rebalancing and replaces `LAPACK.gesv!` by `\`, you get a version of `expm` that works fine with `ForwardDiff`. Probably works with `ReverseDiff`, but I...

I realized that I can just use `qrfact(X, Val{true})` (ie pivoting) and that works. So perhaps this issue should be revisited after Julia `v0.7` comes out, since https://github.com/JuliaLang/julia/pull/24969 changed a...

As noted in tpapp/StanDump.jl#7, I don't quite remember, but if you **really** need 1.0, PRs are welcome. That said, do you really need 1.0?