<< Chapter < Page Chapter >> Page >
A short introduction to writing Content MathML by hand. It covers tokens, prefix notation, and applying functions and operators. Inaddition it introduces writing derivatives, integrals, vectors, and matrices.

This module contains Connexions documentation which is out-of-date. The contents of this module are provided here for historical purposes only and should not be considered accurate for the current version of the Connexions website. The current (English-language) version of this module can be located at (External Link) . If you have any additional questions or cannot find the answer to your question, please contact techsupport@cnx.org and we will be happy to assist in any way we can.

If you would like to assist Connexions by helping us update this module with an appropriate translation from the current English version, please contact us at cnx@cnx.org as we would appreciate your help with improving our support for non-English-speaking users.

 Content MathMLの正式なリファレンスは Section 4 of the MathML 2.0 Specification です。World Wide Web Consortium(W3C)はMathMLのための使用を書きました。テキストは読み込み可能で、検索も簡単です。詳しいことや分からないことのために、このチュートリアルを見てください。このチュートリアルはMathML 2.0に基づいています。

 このドキュメントでは、MathMLネームスペース内でタグを定義するのに、プリフィックス m が使用されています。そのため、 <apply> タグは <m:apply> として参照されます。MathMLネームスペース内でのすべてのマークアップは、 <m:math> タグに囲まれなければならないことを覚えていてください。

Content mathmlの原理:関数と演算子の適用

 Content MathMLについて理解するための基本概念は、一連の機能と演算子を、他の要素に適用することから成っています。これを行うためにContent MathMLは、プリフィックスnatationを使用します。 Prefix notation では、演算子が最初になり、その後に演算対象が続きます。2+3は以下のように書きます。 <m:math> <m:apply>  <m:plus/>  <m:cn>2</m:cn>  <m:cn>3</m:cn> </m:apply></m:math> This would display as 2 3 .

 上記のContent MathMLの例には3つの種類の要素があります。最初は apply タグですこれは演算子(または関数)が演算対象に適用されようとしていることを示します。次は適用される関数もしくは演算子がきます。この例の場合、演算子 plus が適用されています。最後は、演算子の後にくる演算対象です。この例の場合、演算対象は加えられる数です。要約すると、applyタグは、関数(sinや f など)か演算子(+や-など)を、それに続く要素に適用します。

トークン

 Content MathMLには、 ci cn csymbol の3つのトークンがあります。 トークン は基本的に最も低い要素です。トークンは作用している要素の種類を意味します。 cn タグは、タグの中身が数字であることを示します。 ci タグは、タグの中身が識別子であることを示します。 識別子 とは変数や関数のことです。例えば x y そして f などです。さらに ci 要素は、Presentation MathMLを含めることができます。トークン(特に ci cn )は、Content MathMLで多く使用されます。あらゆる数、変数、または関数がトークンによってマークされます。

  csymbol は、 ci cn とは異なったタイプのトークンです。それは、新しいオブジェクトを作成するために使用されます。それはplainテキストかPresentation MathMLを含むことができます。Content MathMLで定義されている演算子か関数を必要とするとき、それの作成にcsymbolを使用することができます。

  ci csymbol の両方は、識別子か新しいシンボルがどように表示されるかを決めるPresentation MathMLを使用することができます。Presentation MathMLについてより詳しく学びたいなら、 Section 3 of the MathML 2.0 Specification を見てください。例えば、添字2がある x を表示するためには以下のコードを使用すると良いでしょう。 <m:math> <m:ci>  <m:msub>   <m:mi>x</m:mi>   <m:mn>2</m:mn>  </m:msub> </m:ci></m:math> This would display as x 2 .

  ci 要素には、要素の内容に関する詳しい情報を提供するために使用するtype属性があります。例えば、 ci タグの内容が関数( type='fn' )、ベクトル( type='vector' )、複素数( type='complex' )、そして他のいろいろなもの同様に、宣言することができます。type属性の使用は、あなたが書いている数字の意味をエンコードするのを助けてくれます。

関数と演算子

 関数を変数に適用するため、関数の最初の引数を適用してください。2番目の引数は変数になるでしょう。例えば、以下のコードを使って意味をエンコードします。引数 x をもつ f という関数( f を意味している ci タグのtype属性に type='fn' と入力してください)。 <m:math> <m:apply>  <m:ci type='fn'>f</m:ci>  <m:ci>x</m:ci> </m:apply></m:math> This will display as f x .

Questions & Answers

what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
cell is the building block of life.
Condoleezza Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Connexions tutorial and reference (japanese version). OpenStax CNX. Aug 26, 2005 Download for free at http://cnx.org/content/col10298/1.9
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Connexions tutorial and reference (japanese version)' conversation and receive update notifications?

Ask