Skip to content

CompositionAlgebra

CompositionAlgebra<T, R> = object

Defined in: evidence.ts:82

Composition algebra evidence for T over the scalar field R — an algebra equipped with a multiplicative quadratic norm: N(a · b) = N(a) · N(b).

By Hurwitz’s theorem the only such algebras over ℝ are ℝ, ℂ, ℍ and 𝕆. The octonions are non-associative, so they satisfy this but not DivisionRing’s associativity assumption.

T

The carrier set of the algebra.

R

The scalar field the norm maps into.

readonly one: T

Defined in: evidence.ts:84


readonly zero: T

Defined in: evidence.ts:83

add(a, b): T

Defined in: evidence.ts:85

T

T

T


conjugate(a): T

Defined in: evidence.ts:89

T

T


mul(a, b): T

Defined in: evidence.ts:88

T

T

T


neg(a): T

Defined in: evidence.ts:87

T

T


norm(a): R

Defined in: evidence.ts:90

T

R


scale(a, scalar): T

Defined in: evidence.ts:91

T

R

T


sub(a, b): T

Defined in: evidence.ts:86

T

T

T