Basic Data Type
The calculator contains three basic type of data:
|
a single single real or complex number |
|
a 1d array of scalars |
|
a 2d rectangular array of scalars |
Note that a vector can be viewed as a special form of matrix
|
a special matrix with only one row |
|
a special matrix with only one column |
Belows shows some examples
Data |
Input |
Output |
Scalar |
1 |
|
-2.5 |
||
0.6e-3 |
||
i |
||
3-2i |
||
-0.7+5.6E-3i |
||
Vector |
[1.2, -0.3+2i, 5.7, 4.2-i] |
|
[2.5; 0; -i] |
||
Matrix |
[1.2, 0.7; 1, -5.9; 2.3, -0.34] |
|
[1-2i, 0.6+3.5i; -2.2i, 1.7+i] |
Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator