Linear Algebra in F#

Vectors

Basic Vectors

Illustrates the basic use of the Vector class for working with vectors.

Show code.

Vector Operations

Illustrates how to perform operations on Vector objects, including construction, element access, arithmetic operations.

Show code.

Matrices

Basic Matrices

Illustrates the basic use of the Matrix class for working with matrices.

Show code.

Accessing Matrix Elements

Illustrates different ways of iterating through the rows and columns of a matrix using classes in the Numerics.NET.LinearAlgebra namespace.

Show code.

Matrix-Vector Operations

Illustrates how to perform operations that involve both matrices and vectors.

Show code.

Triangular Matrices

Illustrates how to work efficiently with upper or lower triangular or trapezoidal matrices.

Show code.

Symmetric Matrices

Illustrates how to work efficiently with symmetric matrices.

Show code.

Band Matrices

Illustrates how to work with the BandMatrix class.

Show code.

Sparse Matrices

Illustrates using sparse vectors and matrices using the classes in the Numerics.NET.LinearAlgebra.Sparse namespace.

Show code.

Matrix Decompositions

Illustrates how compute various decompositions of a matrix using classes in the Numerics.NET.LinearAlgebra namespace.

Show code.

Solving Equations and Least Squares

Linear Equations

Illustrates how to solve systems of simultaneous linear equations.

Show code.

Structured Linear Equations

Illustrates how to solve systems of simultaneous linear equations that have special structure.

Show code.

Iterative Sparse Solvers

Illustrates the use of iterative sparse solvers and preconditioners for efficiently solving large, sparse systems of linear equations.

Show code.

Least Squares

Illustrates how to solve least squares problems using classes in the Numerics.NET.LinearAlgebra namespace.

Show code.

Tensors

Basic Tensors

Illustrates the basic use of the Tensor class for working with tensors.

Show code.

Accessing Tensor Elements

Illustrates different ways of accessing elements of a tensor and sub-tensors using classes in the Numerics.NET.Tensors namespace.

Show code.

Tensor Operations

Illustrates how to perform operations on tensors.

Show code.