[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Re: FW: data structure vs. mathematical structure

From: Martin Rubey
Subject: Re: [Axiom-developer] Re: FW: data structure vs. mathematical structure
Date: 15 Nov 2006 12:17:14 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Ralf Hemmecke <address@hidden> writes:

> Oh, by the way, the above recursive definition of binary trees not only
> defines the data structure but also the exponential and ordinary generating
> series. So one could ask how many trees are there with 7 nodes (labelled or
> unlabelled). In fact, it should also be possible, to generate all these
> trees.

Yes it is. With and without labels.

And the prettiest thing of all is that it should be quite easy to add code that
gives those recursively generated domains more structure. For example, one
would maybe like to construct a specific binary tree, or take two and add them
together and so on.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]