Skip Menu |

This queue is for tickets about the Math-TriangularNumbers CPAN distribution.

Report information
The Basics
Id: 59062
Status: resolved
Priority: 0/
Queue: Math-TriangularNumbers

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: docs of "left" and "right" inverses
Date: Sat, 03 Jul 2010 06:00:00 +1000
To: bug-Math-TriangularNumbers [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
In the docs I found the wording "right" inverse, and now "left" likewise, a bit unclear. As a suggestion it might be worth expanding it a little and perhaps saying something like index of N or of the next higher triangular number if N is not triangular, or "rounded up" or something like that.
Subject: Re: [rt.cpan.org #59062] docs of "left" and "right" inverses
Date: Sat, 03 Jul 2010 18:40:58 -0700
To: bug-Math-TriangularNumbers [...] rt.cpan.org
From: David Christensen <dpchrist [...] holgerdanske.com>
Kevin Ryde via RT wrote: Show quoted text
> In the docs I found the wording "right" inverse, and now "left" > likewise, a bit unclear. As a suggestion it might be worth expanding it > a little and perhaps saying something like index of N or of the next > higher triangular number if N is not triangular, or "rounded up" or > something like that.
I reworked my Perl library a few months back -- pulling out common code, trying to make things more consistent, automating tarball and HTML creation, putting everything into the Dpchrist::* name space, etc.. I've just reworked Math::TriangularNumbers into Dpchrist::TriangularNumber and uploaded everything to CPAN. Please installing my bundle: Bundle::Dpchrist Please change your code: use Math::TriangularNumbers qw(T Ti is_T); => use Dpchrist::TriangularNumber qw(:all); T() => triangular_number() Ti() => triangular_inverse() is_T() => is_triangular_number() HTH, David
Subject: Re: [rt.cpan.org #59062] docs of "left" and "right" inverses
Date: Sat, 03 Jul 2010 23:38:41 -0700
To: bug-Math-TriangularNumbers [...] rt.cpan.org
From: David Christensen <dpchrist [...] holgerdanske.com>
Kevin Ryde via RT wrote: Show quoted text
> In the docs I found the wording "right" inverse, and now "left" > likewise, a bit unclear. As a suggestion it might be worth expanding it > a little and perhaps saying something like index of N or of the next > higher triangular number if N is not triangular, or "rounded up" or > something like that.
I reworked my Perl library a few months back -- pulling out common code, trying to make things more consistent, automating tarball and HTML file creation/ naming, putting everything into the Dpchrist::* name space, etc.. I've just reworked Math::TriangularNumbers into Dpchrist::TriangularNumber and uploaded everything to CPAN. Please installing my bundle: # cpan Bundle::Dpchrist Please change your code: use Math::TriangularNumbers qw(T Ti is_T); => use Dpchrist::TriangularNumber qw(:all); T() => triangular_number() Ti() => triangular_inverse() is_T() => is_triangular_number() It will likely need more work to minimize the memory footprint. HTH, David
Subject: Re: [rt.cpan.org #59062] docs of "left" and "right" inverses
Date: Sat, 24 Jul 2010 09:14:39 +1000
To: bug-Math-TriangularNumbers [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
"David Paul Christensen via RT" <bug-Math-TriangularNumbers@rt.cpan.org> writes: Show quoted text
> > Dpchrist::*
I thought that style was mainly for personal stuff. If something is for general use I would think it might as well be named under a category like "Math" etc.
RT-Send-CC: dpchrist [...] holgerdanske.com
On Fri Jul 23 19:15:08 2010, user42@zip.com.au wrote: Show quoted text
> "David Paul Christensen via RT" <bug-Math- > TriangularNumbers@rt.cpan.org> writes:
> > > > Dpchrist::*
> > I thought that style was mainly for personal stuff. If something is > for > general use I would think it might as well be named under a category > like "Math" etc.
If and when I feel like my skills and code are good enough, perhaps. David