Table of Contents

Class GradGeometricProductOp

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

Represents the gradient of the geometric product in the IR.

public class GradGeometricProductOp : IROp
Inheritance
GradGeometricProductOp
Inherited Members

Remarks

For geometric product C = A * B, the gradients are: - d_A = d_C * B~ (right multiplication by reverse of B) - d_B = A~ * d_C (left multiplication by reverse of A) where ~ denotes the multivector reverse operation.

Properties

NegativeSignature

Gets or sets the number of negative-signature basis vectors (q).

public int NegativeSignature { get; set; }

Property Value

int

PositiveSignature

Gets or sets the number of positive-signature basis vectors (p).

public int PositiveSignature { get; set; }

Property Value

int

ZeroSignature

Gets or sets the number of zero-signature basis vectors (r).

public int ZeroSignature { get; set; }

Property Value

int

Methods

Validate()

Validates that this operation is correctly formed.

public override bool Validate()

Returns

bool

True if valid, false otherwise.