Math
6. Metódy lineárnej algebry v systéme MATHEMATICA
6.1. Príkazy na vytváranie matíc
(x1, x2, …, xn( n-rozmerný vektor
((a11, a12, …, a1n(, (a21, a22, …, a2n(, …, (am1, am2, …, amn(( matica typu m x n
Table[f,{i,m},{j,n}] vytvorí maticu rozmeru m krát n, pričom i, j - ty prvok je daný funkčnou hodnotou f(i,j), i = 1, .., m, j=1,..,n
Array[f,{m,n}] vytvorí maticu rozmeru m krát n, v ktorej i, j - ty prvok je daný symbolom f[i, j]
DiagonalMatrix[list] vytvorí diagonálnu maticu s prvkami vektora list na diagonále
IdentityMatrix[n] vytvorí štvorcovú jednotkovú maticu rozmeru n
Table[0,{m},{n}] nulová matica,
Table[If[i>=j,f,0],{i,m},{j,n}] dolná trojuholníková matica
Table[If[i=j,a[i,j],0],{i,3},{j,3}]//MatrixForm
a[1, 1] 0 0
a[2, 1] a[2, 2] 0
a[3, 1] a[3, 2] a[3, 3]
Table[Switch[i - j, -1, i, 0, i^2, 1, j,_, 0], {i, 4}, {j, 4}]//MatrixForm
1 1 0 0
1 4 2 0
0 2 9 3
0 0 3 16
V balíku LinearAlgebra`MatrixManipulation`, ktorý sa natiahne príkazom
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- math city game
- year 4 math worksheets pdf
- st math student password
- 8 grade math practice test
- 7th grade math algebra worksheets
- fun math activity 6th grade
- 9th grade math worksheets printable pdf
- grade 8 math exam pdf
- grade 3 math assessment printable
- grade 8 math practice tests
- kindergarten readiness math assessment pdf
- kindergarten math addition pdf