Subversion Repositories wimsdev

Rev

Rev 17513 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3263 bpr 1
:可用的参数类型
3268 zjchen 2
:类型,例,效果
3263 bpr 3
:real
18096 reyssat 4
\real{x=9.1^9+6^8}
5
\x is a real number rounded to 8 significant digits. For more precision, use pari or maxima with the text type: \text{a=pari(9.1^9+6^8)}
3263 bpr 6
:complex
7
\complex{z=(1+2*i)^3}
3268 zjchen 8
\z 是复数 z=(1+2*i)^3
3263 bpr 9
:text
10
\text{a=1 2  3}
3465 zjchen 11
\a 是不被变换的文字
3263 bpr 12
:integer
13
\integer{n=3*exp(\a)}
18096 reyssat 14
\n is the integer closest to 3*e<sup>\a</sup> (it depends on the value of \a and is calculated first as real, so with 8 significant digits only)
3263 bpr 15
:rational
3316 reyssat 16
\rational{x=2*5/6}
3317 zjchen 17
\x 是(精确的)有理数 5/3
3263 bpr 18
:function
19
\function{f=2*x^2}
3465 zjchen 20
函数 2 x^2
3263 bpr 21
:matrix
17513 bpr 22
\matrix{m=1,2,3<br>4,5,6<br>7,8,9}
3268 zjchen 23
\m 是一个 3 行 3 列的矩阵.