Thread overview | ||||||
---|---|---|---|---|---|---|
|
December 25, 2014 bessel[IJKY] functions | ||||
---|---|---|---|---|
| ||||
Ported from r-project: http://code.dlang.org/packages/bessel |
December 25, 2014 Re: bessel[IJKY] functions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ilya Yaroshenko | 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
|
December 25, 2014 Re: bessel[IJKY] functions | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | 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 |
December 26, 2014 Re: bessel[IJKY] functions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ilya Yaroshenko | 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
|
Copyright © 1999-2021 by the D Language Foundation