Table of Contents

Class MobiusAddOp

Namespace
AiDotNet.JitCompiler.IR.Operations
Assembly
AiDotNet.dll

Represents Mobius addition in the Poincare ball model in the IR.

public class MobiusAddOp : IROp
Inheritance
MobiusAddOp
Inherited Members

Remarks

Mobius addition is the fundamental addition operation in hyperbolic space. For the Poincare ball model with curvature c: x ⊕_c y = ((1 + 2c⟨x,y⟩ + c||y||²)x + (1 - c||x||²)y) / (1 + 2c⟨x,y⟩ + c²||x||²||y||²)

For Beginners: In hyperbolic space, adding two points isn't as simple as regular addition. Mobius addition accounts for the curved nature of the space, ensuring results stay within the valid region (the Poincare ball).

Properties

Curvature

Gets or sets the curvature parameter (typically negative for hyperbolic space).

public double Curvature { get; set; }

Property Value

double

Methods

Validate()

Validates that this operation is correctly formed.

public override bool Validate()

Returns

bool

True if valid, false otherwise.