Content elements: matrix to momentabout

(Excerpt from "The MathML Handbook" by Pavi Sandhu)

matrix

Syntax

<matrix>(<matrixrow> ... <matrixrow/>)*</matrix>

Description

The matrix element is used to represent a table or matrix. It contains a sequence of matrixrow elements, each corresponding to a single row of the table or matrix.

Attributes

This element accepts the attributes definitionURL and encoding.

matrixrow

Syntax

<matrixrow>(<mtd> ... <mtd/>)*</matrixrow>

Description

The matrixrow element is used to represent a row of a table or matrix. It always occurs as a child element of a matrix element and contains a sequence of mtd child elements, each corresponding to a single cell of the table or matrix.

Attributes

This element accepts the attributes definitionURL and encoding.

max

Syntax

<apply><max /> ... </apply>

Description

The max element represents the maximum of a set of numbers. You can specify the numbers as arguments or by using a condition.

Attributes

This element accepts the attributes definitionURL and encoding.

mean

Syntax

<apply><mean /> distribution</apply>

Description

The mean element represents the mean of a distribution or set of elements.

Attributes

This element accepts the attributes definitionURL and encoding.

median

Syntax

<apply><median /> distribution</apply>

Description

The median element represents the median of a distribution or set of elements.

Attributes

This element accepts the attributes definitionURL and encoding.

min

Syntax

<apply><min /> ... </apply>

Description

The min element represents the minimum of a set of numbers. You can specify the numbers as arguments or by using a condition.

Attributes

This element accepts the attributes definitionURL and encoding.

minus

Syntax

<apply><minus /> ... </apply>

Description

The minus element represents subtraction. It can take one or two arguments. By default, the subtraction is assumed to be over a real field, but the default semantics of the element can be modified using attributes, for example, to represent vector subtraction.

Attributes

This element accepts the attributes definitionURL and encoding.

mode

Syntax

<apply><mode /> distribution</apply>

Description

The mode element represents the mean of a distribution or set of elements.

Attributes

This element accepts the attributes definitionURL and encoding.

moment

Syntax

<apply>
  <moment /> [<degree> ... </degree>][<momentabout> ... </momentabout>] distribution
</apply>

Description

The moment element represents the statistical moment of a distribution or set of elements about a point. The qualifier element degree is used to indicate the type of moment, and the momentabout element is used to specify the point about which the moment is taken. If these elements are omitted, the default values, 1 and 0, are assumed.

Attributes

This element accepts the attributes definitionURL and encoding.

momentabout

Syntax

<apply>
  <moment /> [<degree> ... </degree>] [<momentabout> ... </momentabout>] distribution
</apply>

Description

The momentabout element represents the point about which the moment of a distribution or set of elements is taken. This element is always used as a qualifier element in conjunction with the moment element.

Attributes

This element accepts the attributes definitionURL and encoding.

   

<< back next >>

 

 

 


 

Copyright © CHARLES RIVER MEDIA, INC., Massachusetts (USA) 2003
Printing of the online version is permitted exclusively for private use. Otherwise this chapter from the book "The MathML Handbook" is subject to the same provisions as those applicable for the hardcover edition: The work including all its components is protected by copyright. All rights reserved, including reproduction, translation, microfilming as well as storage and processing in electronic systems.


CHARLES RIVER MEDIA, INC., 20 Downer Avenue, Suite 3, Hingham, Massachusetts 02043, United States of America