* Legendre polynomial documentation
@ 2009-02-09 5:38 M Joonas Pihlaja
2009-02-10 15:30 ` Brian Gough
0 siblings, 1 reply; 2+ messages in thread
From: M Joonas Pihlaja @ 2009-02-09 5:38 UTC (permalink / raw)
To: gsl-discuss
Hi,
The reference manual's entries for the array versions of the
associated Legendre polynomials and spherical harmonics are a
little confusing I think.
1) The _array function documentation uses the absolute value |m|
as the lower bound of the array indices yet also specifies m
>= 0. Why the absolute value if negative m aren't allowed after
all?
2) The docs say the _deriv_array functions compute "optionally
their derivatives", which made me think that the
result_deriv_array parameter could be passed in as NULL if one
didn't need the derivatives. Turns out that's not what it meant.
:) The phrasing could be a little bit more explicit IMHO.
Cheers,
Joonas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Legendre polynomial documentation
2009-02-09 5:38 Legendre polynomial documentation M Joonas Pihlaja
@ 2009-02-10 15:30 ` Brian Gough
0 siblings, 0 replies; 2+ messages in thread
From: Brian Gough @ 2009-02-10 15:30 UTC (permalink / raw)
To: M Joonas Pihlaja; +Cc: gsl-discuss
At Mon, 9 Feb 2009 07:38:21 +0200 (EET),
M Joonas Pihlaja wrote:
> 1) The _array function documentation uses the absolute value |m|
> as the lower bound of the array indices yet also specifies m
> >= 0. Why the absolute value if negative m aren't allowed after
> all?
Although it's not implemented, I expect there was an intention to
extend the function to include negative m at some point.
> 2) The docs say the _deriv_array functions compute "optionally
> their derivatives", which made me think that the
> result_deriv_array parameter could be passed in as NULL if one
> didn't need the derivatives. Turns out that's not what it meant.
> :) The phrasing could be a little bit more explicit IMHO.
Ok, I've changed the wording to avoid the confusion.
--
Brian Gough
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-10 15:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-09 5:38 Legendre polynomial documentation M Joonas Pihlaja
2009-02-10 15:30 ` Brian Gough
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).