Skip to main content

Euclidean vector spaces

Appendix F Sage examples

1.1 Vector space structure of \(\R^n\)

Sage example 1 Vector operations on \(\R^n\)

2.2 Gaussian elimination

Sage example 2 Gaussian elimination

2.3 Solving linear systems

Sage example 3 Solving linear systems

3.1 Matrix arithmetic

Sage example 4 Matrix entries, rows, and columns
Sage example 5 Matrix arithmetic
Sage example 6 Column and row methods
Sage example 7 Matrix transposition

3.3 Invertible matrices

Sage example 8 Invertible matrices
Sage example 9 Matrix polynomials

4.1 Subspaces

Sage example 10 Solving matrix equations