just a few of my tests for practice, not directly related to the project. there so you can see if you want.
Merge https://github.com/kousu/stat440
I think I have the Bartlett decomposition working, also made an R script to test (not proper tests, but better than running all files when not needed yet. Haven't tested accuracy yet, but 0s and numbers are in the right place, and numbers make sense.
stub out prereqs for dNIW, and reindent rNIW.typecheck
Got Inverse by back solve to work. Tested by generating matrices with BarlettFactor and taking product of inverse and original matrix.
"done" rNIW.cpp
Trying to find out why it's returning incorrect values
realized my code didn't compile, fixed it
Found some bugs and tested some things, still can't figure out what's causing it to fail.

Bugs found and fixed:

BartlettFactorCpp used d instead of df from input. Now gives same output (average) as the R code.

tested the backsolve inverse (earlier, not now, just worth noting) though there is some instability in that A*(A^-1) has some values at ~x*10^-13, probably irrelevent.

tested that my product of gamma.inv and A.inv was done correctly by extracting one sample (via Rcout) of the 3 values and using R to check that it gave correct result.

Everything else was looked over multiple times.
Found bug in Rcpp2, which was that something wasn't done in the loop. Runtime is approximately double now at ~0.1 second for n=32343.

Ran main test 3 times. First time V[1,1] and V[1,4] were off in KS test, second time only V[1,1] was, third time all tests were same.
code guide
repair `mathematics.tex` on "chol"
Rcpp2 comment clarity
Merge branch 'master' of https://github.com/Daniel306/stat440
repair the arcane runtime snapshot.

(latex demands included graphics NOT have file extensions; that's probably why you found it confusing and commented it out in frustration)