Content elements: scalarproduct to sum

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

scalarproduct

Syntax

<apply><scalarproduct /> vector1 vector2</apply>

Description

The scalarproduct element represents the scalar product of two vectors.

Attributes

This element accepts the attributes definitionURL and encoding.

sdev

Syntax

<apply><sdev /> distribution</apply>

Description

The sdev element represents the standard deviation of a distribution or set of elements.

Attributes

This element accepts the attributes definitionURL and encoding.

sech

Syntax

<apply><sech /> arg</apply>

Description

The sech element represents the hyperbolic secant function.

Attributes

This element accepts the attributes definitionURL and encoding.

selector

Syntax

<apply><selector /> vector index</apply>

or

<apply><selector /> matrix index</apply>

or

<apply><selector /> matrix index1 index2</apply>

Description

The selector element represents the operator for selecting a specific component of a vector, list, or matrix. The first argument following the selector element identifies the vector or matrix. This can be followed by one or two other arguments, which specify the position of the selected component. For a matrix, if two more arguments are given, they are interpreted as specifying the position of a row and column, respectively. In the case of a vector or list, if a second argument is given, it is ignored.

Attributes

This element accepts the attributes definitionURL and encoding.

semantics

Syntax

<semantics> ... </semantics>

Description

The semantics element is used as a container for alternative representations of a given MathML expression. Each semantics element can contain any number of annotation-xml and annotation elements. XML-based representations are enclosed in an annotation-xml element, and non-XML representations are stored in an annotation element. The most common use of the semantics element is for combining presentation and content markup.

Attributes

This element accepts the attributes definitionURL and encoding.

sep

Syntax

<cn> ... <sep /> ... </cn>

Description

The sep element is used inside a cn element as a separator for the different parts of a rational, complex, or floating-point number.

Attributes

This element accepts the attributes definitionURL and encoding.

set

Syntax

<set>elements</set>

or

<set>
  (<bvar> ... </bvar>)*
  <condition> ... </condition>
</set>

Description

The set element is used to represent a set of elements. The elements can either be specified explicitly or by using bvar and condition elements.

Attributes

This element accepts the attributes definitionURL and encoding.

setdiff

Syntax

<apply><setdiff /> set1 set2</apply>

Description

The setdiff element represents the set-theoretic difference between two sets.

Attributes

This element accepts the attributes definitionURL and encoding.

sin

Syntax

<apply><sin /> arg</apply>

Description

The sin element represents the trigonometric sine function.

Attributes

This element accepts the attributes definitionURL and encoding.

sinh

Syntax

<apply><sinh /> arg</apply>

Description

The sinh element represents the hyperbolic sine function.

Attributes

This element accepts the attributes definitionURL and encoding.

subset

Syntax

<apply><subset /> subset set</apply>

Description

The subset element represents the relation that one set is a subset of another set.

Attributes

This element accepts the attributes definitionURL and encoding.

sum

Syntax

<apply><sum /> index limits expression</apply>

Description

The sum element represents the summation operator. Each index of the summation is specified using a single bvar element. The limits of summation can be indicated in several different ways: using a pair of lowlimit and uplimit elements, using an interval element, or using a condition 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