diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-08-23 10:48:38 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-23 07:22:12 -0700 |
commit | 8909dbbfd38c3bbc89e96ae6b904111946864f51 (patch) | |
tree | f22ee61754e3ba46723223ef12066976a465f2f5 /statistics.c | |
parent | 634e69866464c986c09dcbacfdabdede1c102b25 (diff) | |
download | subsurface-8909dbbfd38c3bbc89e96ae6b904111946864f51.tar.gz |
Simplified Boyle's law correction and new cubic root
This uses a bit of algebra to simplify the formula for Boyle's law
correction and introduces another algebraic cubic root solver that
can also deal with negative discriminants thanks to a trigonometric
formula from Wikipedia.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'statistics.c')
0 files changed, 0 insertions, 0 deletions