ModuleBasis

Represents a basis of a module over a ring.

Type Parameters

Number

The type of scalar coefficients (from the underlying ring).

Vector

The type of module elements.

Index

The type used to index basis elements.

Inheritors

Types

Link copied to clipboard

Functions

Link copied to clipboard

Decomposes a vector into coefficients with respect to the basis.

Link copied to clipboard
abstract operator fun get(index: Index): Vector

Returns the basis element at the given index.

Link copied to clipboard

Converts a ModuleBasisDecomposition to a VectorSpaceBasisDecomposition over a field by dividing each coefficient by the common scalar.

Converts a ModuleBasis to a VectorSpaceBasis over a field by dividing each decomposition coefficient by the common scalar.