VectorSpaceBasis.h

Note

The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.

class VectorSpaceBasis

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

VectorSpaceBasis(const std::vector<std::shared_ptr<GenericVector>> basis)

Constructor

bool is_orthonormal() const

Test if basis is orthonormal

bool is_orthogonal() const

Test if basis is orthogonal

void orthogonalize(GenericVector &x) const

Orthogonalize x with respect to basis

std::size_t dim() const

Dimension of the basis

std::shared_ptr<const GenericVector> operator[](std::size_t i) const

Get a particular basis vector