Re: bessel[IJKY] functions

2014-12-25 Thread Walter Bright via Digitalmars-d-announce

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


Re: bessel[IJKY] functions

2014-12-25 Thread Ilya Yaroshenko via Digitalmars-d-announce

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


Re: bessel[IJKY] functions

2014-12-25 Thread bearophile via Digitalmars-d-announce

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


bessel[IJKY] functions

2014-12-25 Thread Ilya Yaroshenko via Digitalmars-d-announce

Ported from r-project:
http://code.dlang.org/packages/bessel