I'm trying to implement a mathematics library in C# .NET which includes some basic statistics. I need to be able to determine the inverse CDF of a Student's t-distribution from a given probability/confidence and degrees of freedom, but I cannot find any formulas for this. From what I've found there are various algorithms for this involving series and/or integration, both of which I have the capability to implement in my library. I've been able to implement the normal cdf and inverse cdf, and even the t cdf (with a lot of research), but I can't seem to find anything definite on the inverse. How does one compute this?
My intent is prioritizing accuracy over speed, up to the accuracy a double
can store (64 bits). Anything more is unnecessary.