Home Overview Documents Content Dictionaries Software & Tools The OpenMath Society OpenMath Projects OpenMath Discussion Lists OpenMath Meetings Links

OpenMath Content Dictionary: mathmltypes

Canonical URL:
http://www.openmath.org/cd/mathmltypes.ocd
CD Base:
http://www.openmath.org/cd
CD File:
mathmltypes.ocd
CD as XML Encoded OpenMath:
mathmltypes.omcd
Defines:
complex_cartesian_type, complex_polar_type, constant_type, fn_type, integer_type, list_type, matrix_type, rational_type, real_type, set_type, type, vector_type
Date:
2004-03-30
Version:
3
Review Date:
2006-03-30
Status:
official

```
This document is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The copyright holder grants you permission to redistribute this
document freely as a verbatim copy. Furthermore, the copyright
holder permits you to develop any derived work from this document
provided that the following conditions are met.
a) The derived work acknowledges the fact that it is derived from
this document, and maintains a prominent reference in the
work to the original source.
b) The fact that the derived work is not the original OpenMath
document is stated prominently in the derived work.  Moreover if
both this document and the derived work are Content Dictionaries
then the derived work must include a different CDName element,
chosen so that it cannot be confused with any works adopted by
the OpenMath Society.  In particular, if there is a Content
Dictionary Group whose name is, for example, `math' containing
Content Dictionaries named `math1', `math2' etc., then you should
not name a derived Content Dictionary `mathN' where N is an integer.
However you are free to name it `private_mathN' or some such.  This
is because the names `mathN' may be used by the OpenMath Society
for future extensions.
compilation of derived works, but keep paragraphs a) and b)
intact.  The simplest way to do this is to distribute the derived
work under the OpenMath license, but this is not a requirement.
society at http://www.openmath.org.
```

This CD holds symbols denoting various types of numbers, vectors and similar constructs. Principally these are required for compatibility with MathML.

type

Role:
Description:

A symbol to be used within an OpenMath attribute to specify the type of the object.

Example:
The variable z is attributed with a type for complex numbers, to be represented in polar notation.
$z$
Signatures:
sts

 [Next: integer_type] [Last: fn_type] [Top]

integer_type

Role:
constant
Description:

A symbol to be used as the argument of the type symbol to convey the type of an integer.

Example:
The variable z is attributed with a type for integers.
$z$
Signatures:
sts

 [Next: real_type] [Previous: type] [Top]

real_type

Role:
constant
Description:

A symbol to be used as the argument of the type symbol to convey the type of a real number.

Example:
The variable z is attributed with a type for real numbers.
$z$
Signatures:
sts

 [Next: rational_type] [Previous: integer_type] [Top]

rational_type

Role:
constant
Description:

A symbol to be used as the argument of the type symbol to convey the type of a rational number.

Example:
The variable z is attributed with a type for rational numbers.
$z$
Signatures:
sts

 [Next: complex_cartesian_type] [Previous: real_type] [Top]

complex_cartesian_type

Role:
constant
Description:

A symbol to be used as the argument of the type symbol to convey the type of a complex number specified in terms of its real and imaginary parts.

Example:
The variable z is attributed with a type for complex numbers represented in their Cartesian form.
$z$
Signatures:
sts

 [Next: complex_polar_type] [Previous: rational_type] [Top]

complex_polar_type

Role:
constant
Description:

A symbol to be used as the argument of the type symbol to convey the type of a complex number specified in terms of its modulus and argument.

Example:
The variable z is attributed with a type for complex numbers represented in their polar form.
$z$
Signatures:
sts

 [Next: constant_type] [Previous: complex_cartesian_type] [Top]

constant_type

Role:
constant
Description:

A symbol to be used as the argument of the type symbol to convey a type for the common constants, pi ~= 3.1415, e ~= 2.718, i = square root of -1, gamma ~= .5772, NaN, infinity (all in the nums cd), true and false (in the logic cd). Also for MathML variables declared to have type constant, as in <ci type="constant">x</ci>.

Example:
The variable z is attributed with a type for constants.
$z$
Signatures:
sts

 [Next: vector_type] [Previous: complex_polar_type] [Top]

vector_type

Role:
constant
Description:

A symbol to be used as the argument of the type symbol to convey the type of a (column) vector, an n-tuple of entries.

Example:
The variable z is attributed with a type for vectors.
$z$
Signatures:
sts

 [Next: list_type] [Previous: constant_type] [Top]

list_type

Role:
constant
Description:

A symbol to be used as the argument of the type symbol to convey the type for a list.

Example:
The variable z is attributed with a type for lists.
$z$
Signatures:
sts

 [Next: set_type] [Previous: vector_type] [Top]

set_type

Role:
constant
Description:

A symbol to be used as the argument of the type symbol to convey the type for a set.

Example:
The variable z is attributed with a type for sets.
$z$
Signatures:
sts

 [Next: matrix_type] [Previous: list_type] [Top]

matrix_type

Role:
constant
Description:

A symbol to be used as the argument of the type symbol to convey the type for a matrix (n tuple of rows, where each row is an m tuple for some m, it should be noted that each row must be the same length).

Example:
The variable z is attributed with a type for matrices.
$z$
Signatures:
sts

 [Next: fn_type] [Previous: set_type] [Top]

fn_type

Role:
constant
Description:

A symbol to be used as the argument of the type symbol to convey the type for a function name.

Example:
The variable f is attributed to say it represents a function.
$f$
Signatures:
sts

 [First: type] [Previous: matrix_type] [Top]

 Home Overview Documents Content Dictionaries Software & Tools The OpenMath Society OpenMath Projects OpenMath Discussion Lists OpenMath Meetings Links