W3C home > Mailing lists > Public > www-math@w3.org > April 2003

Re: Combinatorial numbers

From: Bill Naylor <Bill.Naylor@mcs.vuw.ac.nz>
Date: Wed, 9 Apr 2003 12:19:44 +1200 (NZST)
To: Maths for More <info@mathsformore.com>
cc: David Carlisle <davidc@nag.co.uk>, www-math@w3.org
Message-ID: <Pine.SOL.4.51.0304091202180.4806@debretts.mcs.vuw.ac.nz>

On Tue, 8 Apr 2003, Maths for More wrote:

> Date: Tue, 08 Apr 2003 21:46:39 +0200
> From: Maths for More <info@mathsformore.com>
> To: David Carlisle <davidc@nag.co.uk>
> Cc: www-math@w3.org
> Subject: Re: Combinatorial numbers
> Resent-Date: Tue, 8 Apr 2003 15:42:26 -0400 (EDT)
> Resent-From: www-math@w3.org
>
>
> That is exactly what I was looking for, I am specially interested in the Content MathML elements.
> I will study more about <csymbol>
>
> thanks

another possibility is to use the semantics element (suggested by David),
in the following way:

<apply>
  <semantics>
    <mySymb:binomial xmlns:mySymb="http:my.namespace"/>
    <annotation-xml encoding="OpenMath" xmlns:om="http://www.openmath.org/OpenMath">
       <om:OMS cd="combinat1" name="binomial"/>
    </annotation-xml>
  </semantics>
  <ci>n</ci>
  <ci>m</ci>
</apply>

other possibilities are to use alternative presentations instead of the
element mySymb:binomial (for more details see:
http://www.mcs.vuw.ac.nz/~bill/Papers/MathML2002/mathML2002.html
)
or include the arguments as OpenMath objects inside the annotation-xml
element.

hope this helps,

Bill

>
>
>
> 08/04/2003 09:37:10 p.m., David Carlisle <davidc@nag.co.uk> wrote:
>
> >
> >I'm not sure quite what you mean by combinatorial numbers?
> >Do you mean "n choose m" notations for the number of combinations
> >choosing m items from n, if sothere's an example to get
> >(m)
> >(n)
> >notation using mfrac in the mathml spec in chapter 3.
> ><mrow>
> >   <mo> ( </mo>
> >   <mfrac linethickness="0">
> >      <mi> a </mi>
> >      <mi> b </mi>
> >   </mfrac>
> >   <mo> ) </mo>
> ></mrow>
> >
> >
> >If you want the
> >  m
> >C
> >  n
> >
> >notation you would use msubsup with a C in the base.
> >
> >There is no standard Content MathML element for this, but you could use
> ><csymbol>choose</csymbol>
> >together with a stylesheet or mathml semantics element specifying one of
> >the above presentation mathml forms for display.
> >
> >David
> >
> >
>
> Cordialment,
>                Ramon
>
>
>
> Ramon Eixarch i Ferrer
> Managing Director
> Maths for More
>
> ramon@mathsformore.com
> http://www.mathsformore.com
>
> (+34) 932 804 805
> (+34) 649 752 179
>
>
>
>
>
Received on Tuesday, 8 April 2003 20:20:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:54 GMT