www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - bessel[IJKY] functions

reply "Ilya Yaroshenko" <ilyayaroshenko gmail.com> writes:
Ported from r-project:
http://code.dlang.org/packages/bessel
Dec 25 2014
next sibling parent reply "bearophile" <bearophileHUGS lycos.com> writes:
Ilya Yaroshenko:

 Ported from r-project:
 http://code.dlang.org/packages/bessel
If you like to write the full path like "std.math.isNaN", then you can also use static imports. Perhaps it's worth adding pre/post-conditions to the functions. The indentations probably have a mix of tabs and spaces and seem messed up. Is gamma_cody better/worse than std.mathspecial.gamma? Bye, bearophile
Dec 25 2014
parent "Ilya Yaroshenko" <ilyayaroshenko gmail.com> writes:
On Thursday, 25 December 2014 at 18:23:56 UTC, bearophile wrote:
 Ilya Yaroshenko:

 Ported from r-project:
 http://code.dlang.org/packages/bessel
If you like to write the full path like "std.math.isNaN", then you can also use static imports. Perhaps it's worth adding pre/post-conditions to the functions. The indentations probably have a mix of tabs and spaces and seem messed up. Is gamma_cody better/worse than std.mathspecial.gamma?
gamma_cody is special variant for bessel functions.
 Bye,
 bearophile
Dec 25 2014
prev sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 12/25/2014 9:55 AM, Ilya Yaroshenko wrote:
 Ported from r-project:
 http://code.dlang.org/packages/bessel
Nice! Thank you. I hope this is the start of more R code being ported! "ARR R R R R R R R Rrrr" -- Mr. Krabs
Dec 25 2014