Re: MathML for complex number expressions

   z = (1,2)
  <declare type="complex-cartesian">
  <ci>z</ci>
  <cn>1</cn>
  <sep/>
  <cn>2</cn>
  </declare>


you appear to be mixing two constructs here, the sep element should be a
child of cn not of declare.

z as an identifier standing for a complex number would be

<ci type="complex">z</ci>

or <declare type="complex"><ci>z</ci></declare> ..... <ci>z</ci>

The complex cartesian expression 1 + 2i is
<cn type="complex-cartesian">1<sep/>2</cn>

To declare z as standing for that particularnimber you'd do

<declare type="complex"><ci>z</ci>
  <cn type="complex-cartesian">1<sep/>2</cn></declare>

(with the outer type="compex" being optional, although if you want
complex numbers to typeset differently its probably a good idea to
declare it rather than expect the typesetter to infer the typeof the
identifier from the type of the object it identifies)

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

Received on Friday, 7 December 2001 04:40:08 UTC