Tag: Julia

  • Krylov Matrix Exponential

    Welcome file The Matrix exponential Consider a vector-valued function v⃗(t)\vec{v}(t)v(t) whose total derivative with respect to its argument is given explicitly by a linear operator AAA (which we’ll represent as a matrix): dv⃗(t)dt=v⃗(t)A.\frac{d\vec{v}(t)}{dt} = \vec{v}(t) A .dtdv(t)​=v(t)A. Suppose at some ttt we know the function’s value v⃗(0)\vec{v}(0)v(0). (N.B. We’ve chosen t=0t=0t=0 here without losing generality;…

  • Holiday Special: Determining Average Damage for Melee Characters in D&D

    Happy Holidays, and Merry Christmas to all who celebrate it! While we at the Pressé Labs are hard at work on our next scientific endeavors, I’d like to take today to look at something a bit less serious: D&D! What is Dungeons and Dragons? For those who are unfamiliar, Dungeons & Dragons (D&D) is a…

  • Categorical distribution and Gumbel distribution

    Gumbel categorical