Index | math | Lists | strings | complex | matrix | poly |
hexa/bin | date/time | progs | conversion | files | apn |
![]() There are 3 items inside. To create such object, press [ and entrer : [1 2 3] . |
![]() To create such object, press [ and enter : [[1 2][3 4]] . |
function | usage | example |
DET | Compute the determinant of a matrix | [[1 2][3 4]] gives -2 |
tr | transpose a matrix/vector | [1 2] gives [[1][2]] [[1 2]] gives [[1][2]] [[1][2]] gives [[1 2]] [[1 2][3 4]] gives [[1 3][2 4]]
|
GET | Extract an item / a full row / a full column of a matrix use list as parameters : {col row} row=0 means "the full row" |
[[1 2][3 4]] {2 2} gives 4 . the item at x=2,y=2[[1 2][3 4]] {2 0} gives [[2][4]] . 2nd col[[1 2][3 4]] {0 2} gives [[3 4]] . 2nd row
|
trace | compute the trace | |
egvl | give a list of eigen values | |
comat | compute the comatrix | |
1/x | compute inverse of a matrix | |
RndMX | to get random matrix | |
ID | to build an identity matrix | |
Vectangle | ||
[]-> | ||
[]->{} | ||
->[] | ||
{}->[] | ||
dim | ||
PrdScal | ||
PrdVect (cross) | ||
3*x + 2*y + 1*z = 20 6*x + 0*y - 7*z = 15 5*x - 2*y + 4*z = -10 |
can be noted as : [[A]]*[[X]] = [[B]] |
[[A]] is | [[X]] is | [[B]] is |
[[3 2 1] [6 0 -7] [5 -2 4]] |
[[x] [y] [z]] |
[[20] [15] [-10]] |
[20 15 -10]
(in fact you should enter [[20][15][-10]] but it's the same)[[3 2 1][6 0 -7][5 -2 4]]
INV
and then *
.