W3C home > Mailing lists > Public > www-math@w3.org > December 2001

Re: MathMLPredefinedSymbol Java Binding

From: Bill Naylor <bill@scl.csd.uwo.ca>
Date: Thu, 27 Dec 2001 15:38:15 -0500 (EST)
To: M J Hale <M.J.Hale@durham.ac.uk>
cc: www-math@w3.org, Max Froumentin <mf@w3.org>
Message-ID: <Pine.LNX.4.21.0112271533320.29814-100000@millennium.scl.csd.uwo.ca>

On Thu, 20 Dec 2001, M J Hale wrote:

> Hi,
> I wonder if someone could clarify the purpose of the get/setArity()
> methods in the MathML Java bindings. As I understand the documentation,
> getArity should return the (maximum) number of arguments the symbol takes.
> But, I don't understand what setArity() should do. Isn't the arity of a
> symbol a readonly attribute? Also, is there an official list of what the
> arities of the various symbols are? The documentation covers things like
> add, minus, etc but what about tendsto, int, etc? Cam I take it that the
> number of arguments corresponds to the number of apply elements the symbol
> takes.

In order to get the arities of the different symbols, I think you should
look at Appendix C, of the MathML spec.


For each symbol there is a Signature from which you can deduce the arity,
as well as the specialisations in which it is applicable. As regards your
first question, some-one else will have to answer that!



Received on Thursday, 27 December 2001 15:38:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:31 UTC