Class GeometricProductOp
- Namespace
- AiDotNet.JitCompiler.IR.Operations
- Assembly
- AiDotNet.dll
Represents the geometric product of two multivectors in the IR.
public class GeometricProductOp : IROp
- Inheritance
-
GeometricProductOp
- Inherited Members
Remarks
The geometric product is the fundamental operation in Clifford/geometric algebra. It combines the inner product and outer product: AB = A·B + A∧B.
For Beginners: The geometric product is a way to multiply multivectors (objects that can represent scalars, vectors, planes, and volumes). It's more powerful than the dot product or cross product because it preserves all geometric information.
Properties
NegativeSignature
Gets or sets the number of negative-signature basis vectors (q).
public int NegativeSignature { get; set; }
Property Value
PositiveSignature
Gets or sets the number of positive-signature basis vectors (p).
public int PositiveSignature { get; set; }
Property Value
ZeroSignature
Gets or sets the number of zero-signature basis vectors (r).
public int ZeroSignature { get; set; }
Property Value
Methods
Validate()
Validates that this operation is correctly formed.
public override bool Validate()
Returns
- bool
True if valid, false otherwise.