Linear algebra

From wiki
Jump to: navigation, search
Matrix
Multidimensional array

4x2 Matrix or 4x2 A =

Where counting starts is defined by the programming language used. Python starts counting a 0. In python use arrays to define a matrix.

A0,1 = 2
A2,2 = 52

Vector
A nx1 matrix. In python is is advised to use a one-dimensional array (to be tested)

4 dimensional vector 4 A =

Arithmetics m1 =

m2 =

m1 + m2