Matrices and vectors
Build arrays with functions, then use the Math tab
Matrix / Vector group or type the same names.
Operators ▾ → Matrix has the constructors
(matrix, vec, eye,
zeros, linspace, ranges).
Create
Click a math region, then type or insert:
A := matrix([1, 2], [3, 4]) =
v := vec(1, 0, 0) =
I := eye(3) =
z := zeros(2, 2) =
x := linspace(0, 10, 11) =
r := range(1, 5) =
Each argument to matrix is a row: [1, 2] then
[3, 4] is a 2-by-2. Scalars become a column
(matrix(1, 2, 3, 4) is 4-by-1 — use vec for
that). range(start, end) is inclusive.
rstep(start, next, end) (ribbon: 1,3..n) steps by
next − start. Units can ride on entries
(matrix([1 m, 2 m], [3 m, 4 m])).
Linear algebra
The Matrix / Vector group inserts:
transpose(A)— ribbon Mᵀdet(A),inv(A)(M⁻¹),trace(A),rank(A)norm(v)(‖v‖),dot(a, b)(a·b),cross(a, b)(a×b)eigvals(A),eigvecs(A)solve(A, b)for a linear system — not the Given-blocksolve
Export
Right-click a math region whose result is a matrix and choose Export matrix to CSV…. The browser downloads a comma file you can open in a spreadsheet. This is the result, not the expression.
Browse the rest of the matrix helpers in the
function catalog.
For a nonlinear system, open a
Given/solve block instead of
solve(A, b).