VectorSpaceBasis

class dolfin.cpp.la.VectorSpaceBasis(basis)

Bases: object

This class defines a basis for vector spaces, typically used for expressing nullspaces, transpose nullspaces and near nullspaces of singular operators

Constructor

dim()

Number of vectors in the basis

is_orthogonal()

Test if basis is orthogonal

is_orthonormal()

Test if basis is orthonormal

orthogonalize()

Orthogonalize x with respect to basis

orthonormalize()

Apply the Gram-Schmidt process to orthonormalize the basis. Throws an error if a (near) linear dependency is detected. Error is thrown if <x_i, x_i> < tol.

thisown

The membership flag