Author: Feng Li

  • latexdiff with git

    The program latexdiff is a simple program that can compare the changes of two versions of TeX files and generate a new TeX file with highlights of the changes. The program is shipped with most tex distributions. There is a lot discussions on how to integrate latexdiff with version control systems like git. If you…

  • BibTeX with abbreviations in journal names

    Once upon a time, I was asked by the journal to provide references with journal names in abbreviations. i.e., Journal of the American Statistical Association should be J. Amer. Statist. Assoc. This is annoying because the journal entries in my BibTeX database are in full names. If I do a simple search and replace, it will be…

  • Generalized hypergeometric function in R

    Just wrote an R function to calculate the generalized hypergeometric function \(pFq\) for real numbers. The function is evaluated based on the series expansion of Pochhammer symbol. The function also allows you to have vectorized input. You can find the code at https://github.com/feng-li/flutils/blob/master/R/math/ghypergeo.R The function depends on the Pochhammer function which is available at https://github.com/feng-li/flutils/blob/master/R/math/pochhammer.R