Finite

A finite version of ModuleBasis indexed by UInt.

Type Parameters

Number

The type of scalar coefficients.

Vector

The type of module elements.

Properties

Link copied to clipboard
abstract val size: UInt

The number of basis elements.

Functions

Link copied to clipboard

Decomposes a vector into coefficients with respect to the basis.

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

Returns the basis element at the given index.

Link copied to clipboard

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

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

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.