Designing a Tetration Library
#20
andydude Wrote:but for the hyperbolic case, you seem to be using a method I've never seen before. Embedded in your implementation is the implicit recurrence equation:

I described it here. The principle \( f^{\circ t} \circ f=f\circ f^{\circ t} \) with \( {f^{\circ t}}_1={f_1}^t \) is common in the regular iteration literature, however the formula is perhaps too dirty Wink that I have seen it explicitely mentioned.

Quote:(1) Several methods are missing underscores (for example _repr_ should be __repr__)

You can read it in the sage package guidelines somewhere that you should use the sage specific _repr_ so that the user has the possibility to redefine __repr__

Quote:(2) Your inverse() method is empty, but I have implemented series_inverse() already, so we can use this.

Yes, the nice thing about the (hyp,par) iterate method is, that it is universally also applicable for exponent (-1). So the inverse function is just a wrapper for iterate(-1).

However perhaps in the future I will also include the direct formulas, for example to take the compositional root, you can easily derive an iterative formula solving \( f^{\circ n} = g \) for \( f \). Though the result should be the same as if you just do \( g^{\circ 1/n} \) vie the regular iteration. I also plan to implement the power \( f^{x} \) for arbitrary \( x \) and not just for integers as it is now.

Originally I wanted to use "^" via __and__ for the iteration, like I used "**" via __pow__ for the powers. Do you have an idea why this is not recognized? And also the question about how to put the hyperops package into sage that it is automatically recognized is still open for me.
Reply


Messages In This Thread
Designing a Tetration Library - by andydude - 04/14/2008, 11:58 PM
RE: Designing a Tetration Library - by andydude - 04/15/2008, 12:17 AM
RE: Designing a Tetration Library - by bo198214 - 04/15/2008, 10:59 AM
RE: Designing a Tetration Library - by andydude - 04/23/2008, 10:34 PM
RE: Designing a Tetration Library - by Gottfried - 04/24/2008, 07:13 AM
RE: Designing a Tetration Library - by andydude - 04/29/2008, 09:29 PM
RE: Designing a Tetration Library - by andydude - 04/29/2008, 09:32 PM
RE: Designing a Tetration Library - by Gottfried - 04/29/2008, 10:40 PM
RE: Designing a Tetration Library - by andydude - 04/30/2008, 06:07 AM
RE: Designing a Tetration Library - by Gottfried - 04/30/2008, 08:22 AM
RE: Designing a Tetration Library - by bo198214 - 05/10/2008, 09:16 AM
RE: Designing a Tetration Library - by andydude - 05/16/2008, 12:58 AM
RE: Designing a Tetration Library - by Gottfried - 05/16/2008, 10:43 AM
RE: Designing a Tetration Library - by bo198214 - 05/16/2008, 01:48 PM
RE: Designing a Tetration Library - by bo198214 - 05/16/2008, 07:27 PM
RE: Designing a Tetration Library - by bo198214 - 05/18/2008, 03:15 PM
RE: Designing a Tetration Library - by bo198214 - 05/18/2008, 04:25 PM
RE: Designing a Tetration Library - by andydude - 05/18/2008, 08:25 PM
RE: Designing a Tetration Library - by andydude - 05/18/2008, 09:44 PM
RE: Designing a Tetration Library - by bo198214 - 05/19/2008, 07:09 AM
RE: Designing a Tetration Library - by andydude - 05/19/2008, 07:51 PM
RE: Designing a Tetration Library - by andydude - 05/21/2008, 06:41 PM
RE: Designing a Tetration Library - by bo198214 - 05/21/2008, 06:47 PM
RE: Designing a Tetration Library - by bo198214 - 05/21/2008, 06:50 PM
RE: Designing a Tetration Library - by Gottfried - 05/28/2008, 10:43 AM
RE: Designing a Tetration Library - by bo198214 - 05/29/2008, 04:06 PM
RE: Designing a Tetration Library - by Gottfried - 05/29/2008, 04:50 PM
RE: Designing a Tetration Library - by bo198214 - 06/06/2008, 03:27 PM
RE: Designing a Tetration Library - by andydude - 06/06/2008, 06:56 PM
RE: Designing a Tetration Library - by bo198214 - 06/07/2008, 08:51 AM



Users browsing this thread: 1 Guest(s)