VectorSpaceBasisDecomposition

A functional interface for decomposing a vector into coefficients with respect to a vector space basis.

Type Parameters

Number

The type of scalar coefficients.

Vector

The type of vectors being decomposed.

Index

The type used to index basis elements.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
fun interface Result<out Number, in Index>

The result of decomposing a vector: provides access to scalar coefficients by index. The result satisfies formula \[input = \sum_{index\ i} result[i] \cdot basis[i]\]

Functions

Link copied to clipboard

Decomposes a vector into coefficients with respect to the basis.